#0C5014#0C5014
#0C5014 is a dark, moderate green. Relative luminance 0.059; OKLCH L 37.7% C 0.112 H 144.4°. Best body text is #FFFFFF at 9.66:1 contrast (WCAG AA passes).
Color values
| HEX | #0C5014 |
|---|---|
| RGB | rgb(12, 80, 20) |
| HSL | hsl(127, 74%, 18%) |
| HSV | hsv(127, 85%, 31%) |
| CMYK | cmyk(85%, 0%, 75%, 68.6%) |
| CIE-LAB | lab(29.07, -33.73, 28.44) |
| CIE-LCH | lch(29.07, 44.12, 139.87°) |
| OKLab | oklab(37.74% -0.0911 0.0653) |
| OKLCH | oklch(37.74% 0.112 144.4) |
| XYZ | xyz(3.1463, 5.8656, 1.6280) |
| Luminance | 0.0587 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Bottle Green
#044A05
ΔE00 2.43
Darkgreen (survey)
#054907
ΔE00 2.45
British Racing Green
#05480D
ΔE00 2.46
Forest
#0B5509
ΔE00 2.75
Forest Green (survey)
#06470C
ΔE00 2.76
Deep Green
#02590F
ΔE00 3.40
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#0C5014 #500C48
analogous
#26500C #0C5014 #0C5036
triadic
#0C5014 #140C50 #50140C
tetradic
#0C5014 #0C2650 #500C48 #50360C
square
#0C5014 #0C2650 #500C48 #50360C
split-complementary
#0C5014 #360C50 #500C26
monochromatic
#041B07 #041B07 #0C5014 #148521 #1CBA2F
Accessibility & contrast
On white
9.66
#0C5014 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.17
#0C5014 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #0C5014
9.66:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##0C5014 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##0C5014 | 1.00 | 9.66 | 2.17 | 9.66 |
| #FFFFFF | 9.66 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.17 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.66 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#52480B
Deuteranopia (green-blind)
#4A431A
Tritanopia (blue-blind)
#004E44
Achromatopsia (no color)
#454545
Design tokens & code
CSS
--color: #0c5014; /* rgb */ color: rgb(12, 80, 20); /* oklch */ color: oklch(37.7% 0.112 144.4);
Tailwind
colors: {
custom: {
50: '#598255',
500: '#0c5014',
950: '#000000',
},
}SCSS
$custom: #0c5014; $custom-light: #598255; $custom-dark: #000000;
JSON
{
"hex": "#0c5014",
"rgb": {
"r": 12,
"g": 80,
"b": 20
},
"hsl": {
"h": 127.059,
"s": 73.913,
"l": 18.039
},
"oklch": {
"l": 0.37745,
"c": 0.11214,
"h": 144.4
},
"luminance": 0.05866
}Semantic roles & 50–950 ramp
primary
#0C5014
secondary
#8B2C80
accent
#37DBF1
background
#F5F8F5
surface
#E9EFE9
border
#C5CAC5
text
#040A03
muted
#797C78