#0C5113#0C5113
#0C5113 is a dark, moderate green. Relative luminance 0.060; OKLCH L 38.0% C 0.114 H 144.1°. Best body text is #FFFFFF at 9.54:1 contrast (WCAG AA passes).
Color values
| HEX | #0C5113 |
|---|---|
| RGB | rgb(12, 81, 19) |
| HSL | hsl(126, 74%, 18%) |
| HSV | hsv(126, 85%, 32%) |
| CMYK | cmyk(85.2%, 0%, 76.5%, 68.2%) |
| CIE-LAB | lab(29.44, -34.21, 29.28) |
| CIE-LCH | lch(29.44, 45.03, 139.43°) |
| OKLab | oklab(38.05% -0.0925 0.067) |
| OKLCH | oklch(38.05% 0.114 144.1) |
| XYZ | xyz(3.2114, 6.0097, 1.6067) |
| Luminance | 0.0601 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Forest
#0B5509
ΔE00 2.31
Bottle Green
#044A05
ΔE00 2.49
Darkgreen (survey)
#054907
ΔE00 2.60
British Racing Green
#05480D
ΔE00 2.78
Deep Green
#02590F
ΔE00 2.97
Forest Green (survey)
#06470C
ΔE00 3.08
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#0C5113 #510C4A
analogous
#27510C #0C5113 #0C5135
triadic
#0C5113 #130C51 #51130C
tetradic
#0C5113 #0C2751 #510C4A #51350C
square
#0C5113 #0C2751 #510C4A #51350C
split-complementary
#0C5113 #350C51 #510C27
monochromatic
#041B06 #041C06 #0C5113 #148620 #1CBC2C
Accessibility & contrast
On white
9.54
#0C5113 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.20
#0C5113 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #0C5113
9.54:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##0C5113 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##0C5113 | 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)
#534909
Deuteranopia (green-blind)
#4B4319
Tritanopia (blue-blind)
#004F45
Achromatopsia (no color)
#454545
Design tokens & code
CSS
--color: #0c5113; /* rgb */ color: rgb(12, 81, 19); /* oklch */ color: oklch(38.0% 0.114 144.1);
Tailwind
colors: {
custom: {
50: '#598355',
500: '#0c5113',
950: '#000000',
},
}SCSS
$custom: #0c5113; $custom-light: #598355; $custom-dark: #000000;
JSON
{
"hex": "#0c5113",
"rgb": {
"r": 12,
"g": 81,
"b": 19
},
"hsl": {
"h": 126.087,
"s": 74.194,
"l": 18.235
},
"oklch": {
"l": 0.38046,
"c": 0.1142,
"h": 144.1
},
"luminance": 0.0601
}Semantic roles & 50–950 ramp
primary
#0C5113
secondary
#8C2C83
accent
#37DEF1
background
#F5F8F5
surface
#E9EFE9
border
#C5CAC5
text
#040A03
muted
#797C78