#0C5413#0C5413
#0C5413 is a dark, moderate green. Relative luminance 0.065; OKLCH L 39.0% C 0.118 H 144.0°. Best body text is #FFFFFF at 9.16:1 contrast (WCAG AA passes).
Color values
| HEX | #0C5413 |
|---|---|
| RGB | rgb(12, 84, 19) |
| HSL | hsl(126, 75%, 19%) |
| HSV | hsv(126, 86%, 33%) |
| CMYK | cmyk(85.7%, 0%, 77.4%, 67.1%) |
| CIE-LAB | lab(30.56, -35.30, 30.45) |
| CIE-LCH | lch(30.56, 46.62, 139.21°) |
| OKLab | oklab(38.98% -0.0955 0.0694) |
| OKLCH | oklch(38.98% 0.118 144) |
| XYZ | xyz(3.4393, 6.4654, 1.6827) |
| Luminance | 0.0647 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Forest
#0B5509
ΔE00 1.59
Deep Green
#02590F
ΔE00 1.99
Bottle Green
#044A05
ΔE00 3.20
Darkgreen (survey)
#054907
ΔE00 3.42
British Racing Green
#05480D
ΔE00 3.75
Forest Green (survey)
#06470C
ΔE00 4.05
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#0C5413 #540C4D
analogous
#29540C #0C5413 #0C5437
triadic
#0C5413 #130C54 #54130C
tetradic
#0C5413 #0C2954 #540C4D #54370C
square
#0C5413 #0C2954 #540C4D #54370C
split-complementary
#0C5413 #370C54 #540C29
monochromatic
#041B06 #041E07 #0C5413 #148A1F #1BBF2B
Accessibility & contrast
On white
9.16
#0C5413 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.29
#0C5413 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #0C5413
9.16:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##0C5413 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##0C5413 | 1.00 | 9.16 | 2.29 | 9.16 |
| #FFFFFF | 9.16 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.29 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.16 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#564B08
Deuteranopia (green-blind)
#4E461A
Tritanopia (blue-blind)
#005147
Achromatopsia (no color)
#484848
Design tokens & code
CSS
--color: #0c5413; /* rgb */ color: rgb(12, 84, 19); /* oklch */ color: oklch(39.0% 0.118 144.0);
Tailwind
colors: {
custom: {
50: '#5a8555',
500: '#0c5413',
950: '#000000',
},
}SCSS
$custom: #0c5413; $custom-light: #5a8555; $custom-dark: #000000;
JSON
{
"hex": "#0c5413",
"rgb": {
"r": 12,
"g": 84,
"b": 19
},
"hsl": {
"h": 125.833,
"s": 75,
"l": 18.824
},
"oklch": {
"l": 0.38978,
"c": 0.11805,
"h": 144
},
"luminance": 0.06466
}Semantic roles & 50–950 ramp
primary
#0C5413
secondary
#8F2D86
accent
#36DFF2
background
#F5F8F5
surface
#E9EFE9
border
#C5CAC5
text
#040B03
muted
#797C78