#0C5517#0C5517
#0C5517 is a dark, moderate green. Relative luminance 0.066; OKLCH L 39.3% C 0.116 H 144.8°. Best body text is #FFFFFF at 9.02:1 contrast (WCAG AA passes).
Color values
| HEX | #0C5517 |
|---|---|
| RGB | rgb(12, 85, 23) |
| HSL | hsl(129, 75%, 19%) |
| HSV | hsv(129, 86%, 33%) |
| CMYK | cmyk(85.9%, 0%, 72.9%, 66.7%) |
| CIE-LAB | lab(30.96, -35.23, 29.06) |
| CIE-LCH | lch(30.96, 45.67, 140.48°) |
| OKLab | oklab(39.33% -0.0951 0.067) |
| OKLCH | oklch(39.33% 0.116 144.8) |
| XYZ | xyz(3.5545, 6.6366, 1.9041) |
| Luminance | 0.0664 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Deep Green
#02590F
ΔE00 2.15
Forest
#0B5509
ΔE00 2.17
Bottle Green
#044A05
ΔE00 3.70
Darkgreen (survey)
#054907
ΔE00 3.85
British Racing Green
#05480D
ΔE00 4.01
Forest Green
#2D5A27
ΔE00 4.20
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#0C5517 #550C4A
analogous
#26550C #0C5517 #0C553C
triadic
#0C5517 #170C55 #55170C
tetradic
#0C5517 #0C2655 #550C4A #553C0C
square
#0C5517 #0C2655 #550C4A #553C0C
split-complementary
#0C5517 #3C0C55 #550C26
monochromatic
#041B07 #041F08 #0C5517 #148B26 #1BC034
Accessibility & contrast
On white
9.02
#0C5517 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.33
#0C5517 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #0C5517
9.02:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##0C5517 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##0C5517 | 1.00 | 9.02 | 2.33 | 9.02 |
| #FFFFFF | 9.02 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.33 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.02 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#574C0F
Deuteranopia (green-blind)
#4F471D
Tritanopia (blue-blind)
#005348
Achromatopsia (no color)
#494949
Design tokens & code
CSS
--color: #0c5517; /* rgb */ color: rgb(12, 85, 23); /* oklch */ color: oklch(39.3% 0.116 144.8);
Tailwind
colors: {
custom: {
50: '#5a8657',
500: '#0c5517',
950: '#000000',
},
}SCSS
$custom: #0c5517; $custom-light: #5a8657; $custom-dark: #000000;
JSON
{
"hex": "#0c5517",
"rgb": {
"r": 12,
"g": 85,
"b": 23
},
"hsl": {
"h": 129.041,
"s": 75.258,
"l": 19.02
},
"oklch": {
"l": 0.39327,
"c": 0.11634,
"h": 144.8
},
"luminance": 0.06637
}Semantic roles & 50–950 ramp
primary
#0C5517
secondary
#902D81
accent
#36D6F2
background
#F5F8F5
surface
#E9EFE9
border
#C5CAC5
text
#040B03
muted
#797C78