#0C4F0E#0C4F0E
#0C4F0E is a dark, moderate green. Relative luminance 0.057; OKLCH L 37.4% C 0.115 H 143.1°. Best body text is #FFFFFF at 9.81:1 contrast (WCAG AA passes).
Color values
| HEX | #0C4F0E |
|---|---|
| RGB | rgb(12, 79, 14) |
| HSL | hsl(122, 74%, 18%) |
| HSV | hsv(122, 85%, 31%) |
| CMYK | cmyk(84.8%, 0%, 82.3%, 69%) |
| CIE-LAB | lab(28.65, -33.96, 30.61) |
| CIE-LCH | lch(28.65, 45.72, 137.97°) |
| OKLab | oklab(37.38% -0.0921 0.069) |
| OKLCH | oklch(37.38% 0.115 143.1) |
| XYZ | xyz(3.0267, 5.7015, 1.3564) |
| Luminance | 0.0570 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Bottle Green
#044A05
ΔE00 1.68
Darkgreen (survey)
#054907
ΔE00 1.86
Forest
#0B5509
ΔE00 2.30
British Racing Green
#05480D
ΔE00 2.32
Forest Green (survey)
#06470C
ΔE00 2.58
Racing Green
#014600
ΔE00 2.91
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#0C4F0E #4F0C4D
analogous
#2B4F0C #0C4F0E #0C4F2F
triadic
#0C4F0E #0E0C4F #4F0E0C
tetradic
#0C4F0E #0C2B4F #4F0C4D #4F2F0C
square
#0C4F0E #0C2B4F #4F0C4D #4F2F0C
split-complementary
#0C4F0E #2F0C4F #4F0C2B
monochromatic
#041B05 #041B05 #0C4F0E #148417 #1CB921
Accessibility & contrast
On white
9.81
#0C4F0E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.14
#0C4F0E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #0C4F0E
9.81:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##0C4F0E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##0C4F0E | 1.00 | 9.81 | 2.14 | 9.81 |
| #FFFFFF | 9.81 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.14 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.81 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#514703
Deuteranopia (green-blind)
#4A4215
Tritanopia (blue-blind)
#004C43
Achromatopsia (no color)
#444444
Design tokens & code
CSS
--color: #0c4f0e; /* rgb */ color: rgb(12, 79, 14); /* oklch */ color: oklch(37.4% 0.115 143.1);
Tailwind
colors: {
custom: {
50: '#598152',
500: '#0c4f0e',
950: '#000000',
},
}SCSS
$custom: #0c4f0e; $custom-light: #598152; $custom-dark: #000000;
JSON
{
"hex": "#0c4f0e",
"rgb": {
"r": 12,
"g": 79,
"b": 14
},
"hsl": {
"h": 121.791,
"s": 73.626,
"l": 17.843
},
"oklch": {
"l": 0.37376,
"c": 0.11508,
"h": 143.1
},
"luminance": 0.05702
}Semantic roles & 50–950 ramp
primary
#0C4F0E
secondary
#8B2C88
accent
#38EBF0
background
#F5F7F4
surface
#E9EEE7
border
#C5C9C3
text
#040A02
muted
#797C78