#0C5315#0C5315
#0C5315 is a dark, moderate green. Relative luminance 0.063; OKLCH L 38.7% C 0.115 H 144.5°. Best body text is #FFFFFF at 9.28:1 contrast (WCAG AA passes).
Color values
| HEX | #0C5315 |
|---|---|
| RGB | rgb(12, 83, 21) |
| HSL | hsl(128, 75%, 19%) |
| HSV | hsv(128, 86%, 33%) |
| CMYK | cmyk(85.5%, 0%, 74.7%, 67.5%) |
| CIE-LAB | lab(30.20, -34.72, 29.18) |
| CIE-LCH | lch(30.20, 45.35, 139.96°) |
| OKLab | oklab(38.69% -0.0938 0.067) |
| OKLCH | oklch(38.69% 0.115 144.5) |
| XYZ | xyz(3.3800, 6.3184, 1.7508) |
| Luminance | 0.0632 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Forest
#0B5509
ΔE00 2.14
Deep Green
#02590F
ΔE00 2.51
Bottle Green
#044A05
ΔE00 3.09
Darkgreen (survey)
#054907
ΔE00 3.22
British Racing Green
#05480D
ΔE00 3.39
Forest Green (survey)
#06470C
ΔE00 3.70
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#0C5315 #530C4A
analogous
#26530C #0C5315 #0C5338
triadic
#0C5315 #150C53 #53150C
tetradic
#0C5315 #0C2653 #530C4A #53380C
square
#0C5315 #0C2653 #530C4A #53380C
split-complementary
#0C5315 #380C53 #530C26
monochromatic
#041B07 #041E07 #0C5315 #148823 #1BBE30
Accessibility & contrast
On white
9.28
#0C5315 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.26
#0C5315 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #0C5315
9.28:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##0C5315 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##0C5315 | 1.00 | 9.28 | 2.26 | 9.28 |
| #FFFFFF | 9.28 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.26 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.28 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#554A0C
Deuteranopia (green-blind)
#4D451B
Tritanopia (blue-blind)
#005146
Achromatopsia (no color)
#474747
Design tokens & code
CSS
--color: #0c5315; /* rgb */ color: rgb(12, 83, 21); /* oklch */ color: oklch(38.7% 0.115 144.5);
Tailwind
colors: {
custom: {
50: '#5a8456',
500: '#0c5315',
950: '#000000',
},
}SCSS
$custom: #0c5315; $custom-light: #5a8456; $custom-dark: #000000;
JSON
{
"hex": "#0c5315",
"rgb": {
"r": 12,
"g": 83,
"b": 21
},
"hsl": {
"h": 127.606,
"s": 74.737,
"l": 18.627
},
"oklch": {
"l": 0.38687,
"c": 0.11529,
"h": 144.5
},
"luminance": 0.06319
}Semantic roles & 50–950 ramp
primary
#0C5315
secondary
#8E2D82
accent
#36DAF1
background
#F5F8F5
surface
#E9EFE9
border
#C5CAC5
text
#040B03
muted
#797C78