#0C5F22#0C5F22
#0C5F22 is a dark, vivid green. Relative luminance 0.084; OKLCH L 42.5% C 0.120 H 146.9°. Best body text is #FFFFFF at 7.85:1 contrast (WCAG AA passes).
Color values
| HEX | #0C5F22 |
|---|---|
| RGB | rgb(12, 95, 34) |
| HSL | hsl(136, 78%, 21%) |
| HSV | hsv(136, 87%, 37%) |
| CMYK | cmyk(87.4%, 0%, 64.2%, 62.7%) |
| CIE-LAB | lab(34.76, -37.47, 27.84) |
| CIE-LCH | lch(34.76, 46.68, 143.38°) |
| OKLab | oklab(42.52% -0.1007 0.0657) |
| OKLCH | oklch(42.52% 0.12 146.9) |
| XYZ | xyz(4.5322, 8.3775, 2.8912) |
| Luminance | 0.0838 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Deep Green
#02590F
ΔE00 3.13
Forest Green
#2D5A27
ΔE00 4.25
Forest
#0B5509
ΔE00 4.36
Pine
#2B5D34
ΔE00 5.12
Darkgreen
#006400
ΔE00 5.28
Spruce
#0A5F38
ΔE00 5.53
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#0C5F22 #5F0C49
analogous
#1F5F0C #0C5F22 #0C5F4B
triadic
#0C5F22 #220C5F #5F220C
tetradic
#0C5F22 #0C1F5F #5F0C49 #5F4B0C
square
#0C5F22 #0C1F5F #5F0C49 #5F4B0C
split-complementary
#0C5F22 #4B0C5F #5F0C1F
monochromatic
#031B0A #05290F #0C5F22 #139535 #1ACC49
Accessibility & contrast
On white
7.85
#0C5F22 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.68
#0C5F22 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #0C5F22
7.85:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##0C5F22 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##0C5F22 | 1.00 | 7.85 | 2.68 | 7.85 |
| #FFFFFF | 7.85 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.68 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.85 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#60561C
Deuteranopia (green-blind)
#574F27
Tritanopia (blue-blind)
#005D52
Achromatopsia (no color)
#525252
Design tokens & code
CSS
--color: #0c5f22; /* rgb */ color: rgb(12, 95, 34); /* oklch */ color: oklch(42.5% 0.120 146.9);
Tailwind
colors: {
custom: {
50: '#5d8d5f',
500: '#0c5f22',
950: '#000000',
},
}SCSS
$custom: #0c5f22; $custom-light: #5d8d5f; $custom-dark: #000000;
JSON
{
"hex": "#0c5f22",
"rgb": {
"r": 12,
"g": 95,
"b": 34
},
"hsl": {
"h": 135.904,
"s": 77.57,
"l": 20.98
},
"oklch": {
"l": 0.42515,
"c": 0.12023,
"h": 146.9
},
"luminance": 0.08378
}Semantic roles & 50–950 ramp
primary
#0C5F22
secondary
#992D7D
accent
#34C1F4
background
#F5F8F5
surface
#EAF0E9
border
#C6CBC5
text
#050C05
muted
#797D79