#0C5917#0C5917
#0C5917 is a dark, vivid green. Relative luminance 0.073; OKLCH L 40.6% C 0.121 H 144.6°. Best body text is #FFFFFF at 8.55:1 contrast (WCAG AA passes).
Color values
| HEX | #0C5917 |
|---|---|
| RGB | rgb(12, 89, 23) |
| HSL | hsl(129, 76%, 20%) |
| HSV | hsv(129, 87%, 35%) |
| CMYK | cmyk(86.5%, 0%, 74.2%, 65.1%) |
| CIE-LAB | lab(32.45, -36.68, 30.65) |
| CIE-LCH | lch(32.45, 47.80, 140.12°) |
| OKLab | oklab(40.56% -0.099 0.0704) |
| OKLCH | oklch(40.56% 0.121 144.6) |
| XYZ | xyz(3.8784, 7.2843, 2.0121) |
| Luminance | 0.0728 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Deep Green
#02590F
ΔE00 1.22
Forest
#0B5509
ΔE00 2.08
Forest Green
#2D5A27
ΔE00 4.24
Bottle Green
#044A05
ΔE00 4.75
Darkgreen (survey)
#054907
ΔE00 4.99
Darkgreen
#006400
ΔE00 5.09
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#0C5917 #590C4E
analogous
#28590C #0C5917 #0C593D
triadic
#0C5917 #170C59 #59170C
tetradic
#0C5917 #0C2859 #590C4E #593D0C
square
#0C5917 #0C2859 #590C4E #593D0C
split-complementary
#0C5917 #3D0C59 #590C28
monochromatic
#041B07 #052309 #0C5917 #138F25 #1BC533
Accessibility & contrast
On white
8.55
#0C5917 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.46
#0C5917 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #0C5917
8.55:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##0C5917 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##0C5917 | 1.00 | 8.55 | 2.46 | 8.55 |
| #FFFFFF | 8.55 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.46 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.55 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5B500D
Deuteranopia (green-blind)
#524A1D
Tritanopia (blue-blind)
#00564C
Achromatopsia (no color)
#4C4C4C
Design tokens & code
CSS
--color: #0c5917; /* rgb */ color: rgb(12, 89, 23); /* oklch */ color: oklch(40.6% 0.121 144.6);
Tailwind
colors: {
custom: {
50: '#5c8958',
500: '#0c5917',
950: '#000000',
},
}SCSS
$custom: #0c5917; $custom-light: #5c8958; $custom-dark: #000000;
JSON
{
"hex": "#0c5917",
"rgb": {
"r": 12,
"g": 89,
"b": 23
},
"hsl": {
"h": 128.571,
"s": 76.238,
"l": 19.804
},
"oklch": {
"l": 0.40558,
"c": 0.12149,
"h": 144.6
},
"luminance": 0.07285
}Semantic roles & 50–950 ramp
primary
#0C5917
secondary
#942D85
accent
#35D8F3
background
#F5F8F5
surface
#E9F0E9
border
#C5CBC5
text
#050B03
muted
#797C78