#0C4E12#0C4E12
#0C4E12 is a dark, moderate green. Relative luminance 0.056; OKLCH L 37.1% C 0.111 H 144.0°. Best body text is #FFFFFF at 9.93:1 contrast (WCAG AA passes).
Color values
| HEX | #0C4E12 |
|---|---|
| RGB | rgb(12, 78, 18) |
| HSL | hsl(125, 73%, 18%) |
| HSV | hsv(125, 85%, 31%) |
| CMYK | cmyk(84.6%, 0%, 76.9%, 69.4%) |
| CIE-LAB | lab(28.30, -33.20, 28.54) |
| CIE-LCH | lch(28.30, 43.79, 139.32°) |
| OKLab | oklab(37.1% -0.0898 0.0653) |
| OKLCH | oklch(37.1% 0.111 144) |
| XYZ | xyz(2.9850, 5.5703, 1.4900) |
| Luminance | 0.0557 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
British Racing Green
#05480D
ΔE00 1.85
Darkgreen (survey)
#054907
ΔE00 1.87
Bottle Green
#044A05
ΔE00 1.93
Forest Green (survey)
#06470C
ΔE00 2.14
Racing Green
#014600
ΔE00 3.02
Forest
#0B5509
ΔE00 3.07
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#0C4E12 #4E0C48
analogous
#274E0C #0C4E12 #0C4E33
triadic
#0C4E12 #120C4E #4E120C
tetradic
#0C4E12 #0C274E #4E0C48 #4E330C
square
#0C4E12 #0C274E #4E0C48 #4E330C
split-complementary
#0C4E12 #330C4E #4E0C27
monochromatic
#041B06 #041B06 #0C4E12 #14831E #1CB82A
Accessibility & contrast
On white
9.93
#0C4E12 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.11
#0C4E12 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #0C4E12
9.93:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##0C4E12 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##0C4E12 | 1.00 | 9.93 | 2.11 | 9.93 |
| #FFFFFF | 9.93 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.11 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.93 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#504609
Deuteranopia (green-blind)
#484118
Tritanopia (blue-blind)
#004C42
Achromatopsia (no color)
#434343
Design tokens & code
CSS
--color: #0c4e12; /* rgb */ color: rgb(12, 78, 18); /* oklch */ color: oklch(37.1% 0.111 144.0);
Tailwind
colors: {
custom: {
50: '#598054',
500: '#0c4e12',
950: '#000000',
},
}SCSS
$custom: #0c4e12; $custom-light: #598054; $custom-dark: #000000;
JSON
{
"hex": "#0c4e12",
"rgb": {
"r": 12,
"g": 78,
"b": 18
},
"hsl": {
"h": 125.455,
"s": 73.333,
"l": 17.647
},
"oklch": {
"l": 0.371,
"c": 0.11103,
"h": 144
},
"luminance": 0.05571
}Semantic roles & 50–950 ramp
primary
#0C4E12
secondary
#8A2C81
accent
#38DFF0
background
#F5F7F4
surface
#E9EEE7
border
#C5C9C3
text
#040A03
muted
#797C78