#0C5110#0C5110
#0C5110 is a dark, moderate green. Relative luminance 0.060; OKLCH L 38.0% C 0.116 H 143.5°. Best body text is #FFFFFF at 9.55:1 contrast (WCAG AA passes).
Color values
| HEX | #0C5110 |
|---|---|
| RGB | rgb(12, 81, 16) |
| HSL | hsl(123, 74%, 18%) |
| HSV | hsv(123, 85%, 32%) |
| CMYK | cmyk(85.2%, 0%, 80.2%, 68.2%) |
| CIE-LAB | lab(29.41, -34.51, 30.56) |
| CIE-LCH | lch(29.41, 46.10, 138.47°) |
| OKLab | oklab(38.02% -0.0935 0.0692) |
| OKLCH | oklch(38.02% 0.116 143.5) |
| XYZ | xyz(3.1874, 6.0001, 1.4803) |
| Luminance | 0.0600 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Forest
#0B5509
ΔE00 1.89
Bottle Green
#044A05
ΔE00 2.28
Darkgreen (survey)
#054907
ΔE00 2.48
Deep Green
#02590F
ΔE00 2.76
British Racing Green
#05480D
ΔE00 2.87
Forest Green (survey)
#06470C
ΔE00 3.15
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#0C5110 #510C4D
analogous
#2A510C #0C5110 #0C5132
triadic
#0C5110 #100C51 #51100C
tetradic
#0C5110 #0C2A51 #510C4D #51320C
square
#0C5110 #0C2A51 #510C4D #51320C
split-complementary
#0C5110 #320C51 #510C2A
monochromatic
#041B05 #041C05 #0C5110 #14861B #1CBC25
Accessibility & contrast
On white
9.55
#0C5110 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.20
#0C5110 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #0C5110
9.55:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##0C5110 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##0C5110 | 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)
#534805
Deuteranopia (green-blind)
#4B4317
Tritanopia (blue-blind)
#004E44
Achromatopsia (no color)
#454545
Design tokens & code
CSS
--color: #0c5110; /* rgb */ color: rgb(12, 81, 16); /* oklch */ color: oklch(38.0% 0.116 143.5);
Tailwind
colors: {
custom: {
50: '#5a8353',
500: '#0c5110',
950: '#000000',
},
}SCSS
$custom: #0c5110; $custom-light: #5a8353; $custom-dark: #000000;
JSON
{
"hex": "#0c5110",
"rgb": {
"r": 12,
"g": 81,
"b": 16
},
"hsl": {
"h": 123.478,
"s": 74.194,
"l": 18.235
},
"oklch": {
"l": 0.38018,
"c": 0.1163,
"h": 143.5
},
"luminance": 0.06
}Semantic roles & 50–950 ramp
primary
#0C5110
secondary
#8C2C87
accent
#37E6F1
background
#F5F8F4
surface
#E9EFE7
border
#C5CAC3
text
#040A03
muted
#797C78