#0C5F24#0C5F24
#0C5F24 is a dark, moderate green. Relative luminance 0.084; OKLCH L 42.5% C 0.118 H 147.5°. Best body text is #FFFFFF at 7.84:1 contrast (WCAG AA passes).
Color values
| HEX | #0C5F24 |
|---|---|
| RGB | rgb(12, 95, 36) |
| HSL | hsl(137, 78%, 21%) |
| HSV | hsv(137, 87%, 37%) |
| CMYK | cmyk(87.4%, 0%, 62.1%, 62.7%) |
| CIE-LAB | lab(34.78, -37.18, 26.83) |
| CIE-LCH | lch(34.78, 45.85, 144.18°) |
| OKLab | oklab(42.54% -0.0999 0.0636) |
| OKLCH | oklch(42.54% 0.118 147.5) |
| XYZ | xyz(4.5619, 8.3894, 3.0476) |
| Luminance | 0.0839 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Deep Green
#02590F
ΔE00 3.47
Forest Green
#2D5A27
ΔE00 4.20
Forest
#0B5509
ΔE00 4.66
Pine
#2B5D34
ΔE00 4.82
Spruce
#0A5F38
ΔE00 5.11
Darkgreen
#006400
ΔE00 5.68
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#0C5F24 #5F0C47
analogous
#1E5F0C #0C5F24 #0C5F4D
triadic
#0C5F24 #240C5F #5F240C
tetradic
#0C5F24 #0C1E5F #5F0C47 #5F4D0C
square
#0C5F24 #0C1E5F #5F0C47 #5F4D0C
split-complementary
#0C5F24 #4D0C5F #5F0C1E
monochromatic
#031B0A #05290F #0C5F24 #139539 #1ACC4D
Accessibility & contrast
On white
7.84
#0C5F24 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.68
#0C5F24 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #0C5F24
7.84:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##0C5F24 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##0C5F24 | 1.00 | 7.84 | 2.68 | 7.84 |
| #FFFFFF | 7.84 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.68 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.84 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#60561E
Deuteranopia (green-blind)
#574F29
Tritanopia (blue-blind)
#005D52
Achromatopsia (no color)
#525252
Design tokens & code
CSS
--color: #0c5f24; /* rgb */ color: rgb(12, 95, 36); /* oklch */ color: oklch(42.5% 0.118 147.5);
Tailwind
colors: {
custom: {
50: '#5d8d61',
500: '#0c5f24',
950: '#000000',
},
}SCSS
$custom: #0c5f24; $custom-light: #5d8d61; $custom-dark: #000000;
JSON
{
"hex": "#0c5f24",
"rgb": {
"r": 12,
"g": 95,
"b": 36
},
"hsl": {
"h": 137.349,
"s": 77.57,
"l": 20.98
},
"oklch": {
"l": 0.42543,
"c": 0.11842,
"h": 147.5
},
"luminance": 0.0839
}Semantic roles & 50–950 ramp
primary
#0C5F24
secondary
#992D7A
accent
#34BCF4
background
#F5F8F5
surface
#EAF0EA
border
#C6CBC6
text
#050C05
muted
#797D79