#0C4F11#0C4F11
#0C4F11 is a dark, moderate green. Relative luminance 0.057; OKLCH L 37.4% C 0.113 H 143.7°. Best body text is #FFFFFF at 9.80:1 contrast (WCAG AA passes).
Color values
| HEX | #0C4F11 |
|---|---|
| RGB | rgb(12, 79, 17) |
| HSL | hsl(124, 74%, 18%) |
| HSV | hsv(124, 85%, 31%) |
| CMYK | cmyk(84.8%, 0%, 78.5%, 69%) |
| CIE-LAB | lab(28.67, -33.68, 29.37) |
| CIE-LCH | lch(28.67, 44.69, 138.90°) |
| OKLab | oklab(37.4% -0.0911 0.0669) |
| OKLCH | oklch(37.4% 0.113 143.7) |
| XYZ | xyz(3.0486, 5.7102, 1.4717) |
| Luminance | 0.0571 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Bottle Green
#044A05
ΔE00 1.93
Darkgreen (survey)
#054907
ΔE00 1.99
British Racing Green
#05480D
ΔE00 2.18
Forest Green (survey)
#06470C
ΔE00 2.47
Forest
#0B5509
ΔE00 2.62
Racing Green
#014600
ΔE00 3.11
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#0C4F11 #4F0C4A
analogous
#284F0C #0C4F11 #0C4F33
triadic
#0C4F11 #110C4F #4F110C
tetradic
#0C4F11 #0C284F #4F0C4A #4F330C
square
#0C4F11 #0C284F #4F0C4A #4F330C
split-complementary
#0C4F11 #330C4F #4F0C28
monochromatic
#041B06 #041B06 #0C4F11 #14841C #1CB928
Accessibility & contrast
On white
9.80
#0C4F11 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.14
#0C4F11 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #0C4F11
9.80:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##0C4F11 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##0C4F11 | 1.00 | 9.80 | 2.14 | 9.80 |
| #FFFFFF | 9.80 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.14 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.80 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#514707
Deuteranopia (green-blind)
#494217
Tritanopia (blue-blind)
#004D43
Achromatopsia (no color)
#444444
Design tokens & code
CSS
--color: #0c4f11; /* rgb */ color: rgb(12, 79, 17); /* oklch */ color: oklch(37.4% 0.113 143.7);
Tailwind
colors: {
custom: {
50: '#598153',
500: '#0c4f11',
950: '#000000',
},
}SCSS
$custom: #0c4f11; $custom-light: #598153; $custom-dark: #000000;
JSON
{
"hex": "#0c4f11",
"rgb": {
"r": 12,
"g": 79,
"b": 17
},
"hsl": {
"h": 124.478,
"s": 73.626,
"l": 17.843
},
"oklch": {
"l": 0.37403,
"c": 0.11305,
"h": 143.7
},
"luminance": 0.05711
}Semantic roles & 50–950 ramp
primary
#0C4F11
secondary
#8B2C83
accent
#38E2F0
background
#F5F7F4
surface
#E9EEE7
border
#C5C9C3
text
#040A03
muted
#797C78