#0C5010#0C5010
#0C5010 is a dark, moderate green. Relative luminance 0.059; OKLCH L 37.7% C 0.115 H 143.5°. Best body text is #FFFFFF at 9.67:1 contrast (WCAG AA passes).
Color values
| HEX | #0C5010 |
|---|---|
| RGB | rgb(12, 80, 16) |
| HSL | hsl(124, 74%, 18%) |
| HSV | hsv(124, 85%, 31%) |
| CMYK | cmyk(85%, 0%, 80%, 68.6%) |
| CIE-LAB | lab(29.04, -34.14, 30.18) |
| CIE-LCH | lch(29.04, 45.57, 138.52°) |
| OKLab | oklab(37.71% -0.0925 0.0684) |
| OKLCH | oklch(37.71% 0.115 143.5) |
| XYZ | xyz(3.1136, 5.8525, 1.4557) |
| Luminance | 0.0585 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Bottle Green
#044A05
ΔE00 2.04
Forest
#0B5509
ΔE00 2.19
Darkgreen (survey)
#054907
ΔE00 2.19
British Racing Green
#05480D
ΔE00 2.54
Forest Green (survey)
#06470C
ΔE00 2.82
Deep Green
#02590F
ΔE00 3.09
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#0C5010 #500C4C
analogous
#2A500C #0C5010 #0C5032
triadic
#0C5010 #100C50 #50100C
tetradic
#0C5010 #0C2A50 #500C4C #50320C
square
#0C5010 #0C2A50 #500C4C #50320C
split-complementary
#0C5010 #320C50 #500C2A
monochromatic
#041B05 #041B05 #0C5010 #14851B #1CBA25
Accessibility & contrast
On white
9.67
#0C5010 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.17
#0C5010 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #0C5010
9.67:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##0C5010 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##0C5010 | 1.00 | 9.67 | 2.17 | 9.67 |
| #FFFFFF | 9.67 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.17 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.67 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#524805
Deuteranopia (green-blind)
#4A4217
Tritanopia (blue-blind)
#004D44
Achromatopsia (no color)
#444444
Design tokens & code
CSS
--color: #0c5010; /* rgb */ color: rgb(12, 80, 16); /* oklch */ color: oklch(37.7% 0.115 143.5);
Tailwind
colors: {
custom: {
50: '#598253',
500: '#0c5010',
950: '#000000',
},
}SCSS
$custom: #0c5010; $custom-light: #598253; $custom-dark: #000000;
JSON
{
"hex": "#0c5010",
"rgb": {
"r": 12,
"g": 80,
"b": 16
},
"hsl": {
"h": 123.529,
"s": 73.913,
"l": 18.039
},
"oklch": {
"l": 0.37706,
"c": 0.11504,
"h": 143.5
},
"luminance": 0.05853
}Semantic roles & 50–950 ramp
primary
#0C5010
secondary
#8B2C86
accent
#37E6F1
background
#F5F8F4
surface
#E9EFE7
border
#C5CAC3
text
#040A02
muted
#797C78