#0C510D#0C510D
#0C510D is a dark, moderate green. Relative luminance 0.060; OKLCH L 38.0% C 0.118 H 142.9°. Best body text is #FFFFFF at 9.55:1 contrast (WCAG AA passes).
Color values
| HEX | #0C510D |
|---|---|
| RGB | rgb(12, 81, 13) |
| HSL | hsl(121, 74%, 18%) |
| HSV | hsv(121, 85%, 32%) |
| CMYK | cmyk(85.2%, 0%, 84%, 68.2%) |
| CIE-LAB | lab(29.39, -34.77, 31.74) |
| CIE-LCH | lch(29.39, 47.08, 137.61°) |
| OKLab | oklab(37.99% -0.0943 0.0712) |
| OKLCH | oklch(37.99% 0.118 142.9) |
| XYZ | xyz(3.1665, 5.9917, 1.3703) |
| Luminance | 0.0599 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Forest
#0B5509
ΔE00 1.56
Bottle Green
#044A05
ΔE00 2.17
Darkgreen (survey)
#054907
ΔE00 2.46
Deep Green
#02590F
ΔE00 2.66
British Racing Green
#05480D
ΔE00 3.04
Forest Green (survey)
#06470C
ΔE00 3.29
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#0C510D #510C50
analogous
#2D510C #0C510D #0C512F
triadic
#0C510D #0D0C51 #510D0C
tetradic
#0C510D #0C2D51 #510C50 #512F0C
square
#0C510D #0C2D51 #510C50 #512F0C
split-complementary
#0C510D #2F0C51 #510C2D
monochromatic
#041B04 #041C04 #0C510D #148616 #1CBC1E
Accessibility & contrast
On white
9.55
#0C510D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.20
#0C510D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #0C510D
9.55:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##0C510D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##0C510D | 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)
#534801
Deuteranopia (green-blind)
#4B4315
Tritanopia (blue-blind)
#004E44
Achromatopsia (no color)
#454545
Design tokens & code
CSS
--color: #0c510d; /* rgb */ color: rgb(12, 81, 13); /* oklch */ color: oklch(38.0% 0.118 142.9);
Tailwind
colors: {
custom: {
50: '#5a8351',
500: '#0c510d',
950: '#000000',
},
}SCSS
$custom: #0c510d; $custom-light: #5a8351; $custom-dark: #000000;
JSON
{
"hex": "#0c510d",
"rgb": {
"r": 12,
"g": 81,
"b": 13
},
"hsl": {
"h": 120.87,
"s": 74.194,
"l": 18.235
},
"oklch": {
"l": 0.37994,
"c": 0.11819,
"h": 142.9
},
"luminance": 0.05992
}Semantic roles & 50–950 ramp
primary
#0C510D
secondary
#8C2C8B
accent
#37EEF1
background
#F5F8F4
surface
#E9EFE7
border
#C5CAC3
text
#040A02
muted
#797C78