💡 Click on any color value below to copy it to clipboard
Running Number
830,545
HEX
#0CAC51
RGB
12, 172, 81
HSL
146°,87%,36%
HSV
146°,93%,67%
CMYK
93%,0%,53%,33%
Brightness
45%
Type
Dark
AA Normal Text: ≥ 4.5:1
AA Large Text: ≥ 3.0:1
AAA Normal Text: ≥ 7.0:1
AAA Large Text: ≥ 4.5:1
#0CAC51 sits at 146° on the color wheel, placing it in the spring green family of the cool half of the spectrum. With 87% saturation and 36% lightness, it reads as a fully saturated, shadowed tone — an immediate, signal-grade voice that demands attention. Its RGB mix of 12, 172, 81 produces a 7.04:1 contrast ratio against black, which clears WCAG AAA for body text in that pairing.
In RGB space #0CAC51 is a clear variant of CSS sea green — about 48 units away from #2E8B57. Designers reach for spring green hues at this saturation when the brief calls for bold, immediate signal, and at this lightness when they want a present, comfortable mid-canvas voice. On screen the cool cast tends to pair best with warm neutrals in the 25°-45° range to add life.
See how this color appears in real UI elements
Button (filled)
Badge
Progress Bar
Link Hover
Input Focus Ring
Checkbox Active
Toggle Switch On
Slider Thumb
Card Border
Icon Highlight
Tooltip Background
Modal Header
Tab Active
Alert Box
Timeline Dot
Loading Spinner
Dropdown Selected
Table Row Highlight
Calendar Date
Mobile Device
See how to use #0CAC51 in different programming languages
| Platform | Languages |
|---|---|
| Frontend | |
| Mobile | |
| Backend | |
| Others |
document.getElementById("box").style.backgroundColor = "#0cac51";💡 Click any tab to see how to use #0cac51 in different programming languages