#0C510E#0C510E
#0C510E is a dark, moderate green. Relative luminance 0.060; OKLCH L 38.0% C 0.118 H 143.1°. Best body text is #FFFFFF at 9.55:1 contrast (WCAG AA passes).
Color values
| HEX | #0C510E |
|---|---|
| RGB | rgb(12, 81, 14) |
| HSL | hsl(122, 74%, 18%) |
| HSV | hsv(122, 85%, 32%) |
| CMYK | cmyk(85.2%, 0%, 82.7%, 68.2%) |
| CIE-LAB | lab(29.40, -34.69, 31.36) |
| CIE-LCH | lch(29.40, 46.76, 137.88°) |
| OKLab | oklab(38% -0.094 0.0706) |
| OKLCH | oklch(38% 0.118 143.1) |
| XYZ | xyz(3.1731, 5.9944, 1.4052) |
| Luminance | 0.0600 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Forest
#0B5509
ΔE00 1.66
Bottle Green
#044A05
ΔE00 2.19
Darkgreen (survey)
#054907
ΔE00 2.46
Deep Green
#02590F
ΔE00 2.68
British Racing Green
#05480D
ΔE00 2.98
Forest Green (survey)
#06470C
ΔE00 3.24
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#0C510E #510C4F
analogous
#2C510C #0C510E #0C5130
triadic
#0C510E #0E0C51 #510E0C
tetradic
#0C510E #0C2C51 #510C4F #51300C
square
#0C510E #0C2C51 #510C4F #51300C
split-complementary
#0C510E #300C51 #510C2C
monochromatic
#041B05 #041C05 #0C510E #148617 #1CBC20
Accessibility & contrast
On white
9.55
#0C510E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.20
#0C510E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #0C510E
9.55:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##0C510E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##0C510E | 1.00 | 9.55 | 2.20 | 9.55 |
| #FFFFFF | 9.55 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.20 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.55 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#534802
Deuteranopia (green-blind)
#4B4315
Tritanopia (blue-blind)
#004E44
Achromatopsia (no color)
#454545
Design tokens & code
CSS
--color: #0c510e; /* rgb */ color: rgb(12, 81, 14); /* oklch */ color: oklch(38.0% 0.118 143.1);
Tailwind
colors: {
custom: {
50: '#5a8352',
500: '#0c510e',
950: '#000000',
},
}SCSS
$custom: #0c510e; $custom-light: #5a8352; $custom-dark: #000000;
JSON
{
"hex": "#0c510e",
"rgb": {
"r": 12,
"g": 81,
"b": 14
},
"hsl": {
"h": 121.739,
"s": 74.194,
"l": 18.235
},
"oklch": {
"l": 0.38001,
"c": 0.11758,
"h": 143.1
},
"luminance": 0.05995
}Semantic roles & 50–950 ramp
primary
#0C510E
secondary
#8C2C8A
accent
#37EBF1
background
#F5F8F4
surface
#E9EFE7
border
#C5CAC3
text
#040A02
muted
#797C78