#0C5111#0C5111
#0C5111 is a dark, moderate green. Relative luminance 0.060; OKLCH L 38.0% C 0.116 H 143.7°. Best body text is #FFFFFF at 9.54:1 contrast (WCAG AA passes).
Color values
| HEX | #0C5111 |
|---|---|
| RGB | rgb(12, 81, 17) |
| HSL | hsl(124, 74%, 18%) |
| HSV | hsv(124, 85%, 32%) |
| CMYK | cmyk(85.2%, 0%, 79%, 68.2%) |
| CIE-LAB | lab(29.42, -34.41, 30.15) |
| CIE-LCH | lch(29.42, 45.75, 138.78°) |
| OKLab | oklab(38.03% -0.0931 0.0685) |
| OKLCH | oklch(38.03% 0.116 143.7) |
| XYZ | xyz(3.1950, 6.0031, 1.5205) |
| Luminance | 0.0600 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Forest
#0B5509
ΔE00 2.02
Bottle Green
#044A05
ΔE00 2.33
Darkgreen (survey)
#054907
ΔE00 2.51
Deep Green
#02590F
ΔE00 2.82
British Racing Green
#05480D
ΔE00 2.83
Forest Green (survey)
#06470C
ΔE00 3.12
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#0C5111 #510C4C
analogous
#29510C #0C5111 #0C5133
triadic
#0C5111 #110C51 #51110C
tetradic
#0C5111 #0C2951 #510C4C #51330C
square
#0C5111 #0C2951 #510C4C #51330C
split-complementary
#0C5111 #330C51 #510C29
monochromatic
#041B06 #041C06 #0C5111 #14861C #1CBC27
Accessibility & contrast
On white
9.54
#0C5111 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.20
#0C5111 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #0C5111
9.54:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##0C5111 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##0C5111 | 1.00 | 9.54 | 2.20 | 9.54 |
| #FFFFFF | 9.54 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.20 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.54 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#534806
Deuteranopia (green-blind)
#4B4318
Tritanopia (blue-blind)
#004E44
Achromatopsia (no color)
#454545
Design tokens & code
CSS
--color: #0c5111; /* rgb */ color: rgb(12, 81, 17); /* oklch */ color: oklch(38.0% 0.116 143.7);
Tailwind
colors: {
custom: {
50: '#5a8353',
500: '#0c5111',
950: '#000000',
},
}SCSS
$custom: #0c5111; $custom-light: #5a8353; $custom-dark: #000000;
JSON
{
"hex": "#0c5111",
"rgb": {
"r": 12,
"g": 81,
"b": 17
},
"hsl": {
"h": 124.348,
"s": 74.194,
"l": 18.235
},
"oklch": {
"l": 0.38027,
"c": 0.11563,
"h": 143.7
},
"luminance": 0.06003
}Semantic roles & 50–950 ramp
primary
#0C5111
secondary
#8C2C85
accent
#37E3F1
background
#F5F8F4
surface
#E9EFE7
border
#C5CAC3
text
#040A03
muted
#797C78