#0C5F23#0C5F23
#0C5F23 is a dark, moderate green. Relative luminance 0.084; OKLCH L 42.5% C 0.119 H 147.2°. Best body text is #FFFFFF at 7.85:1 contrast (WCAG AA passes).
Color values
| HEX | #0C5F23 |
|---|---|
| RGB | rgb(12, 95, 35) |
| HSL | hsl(137, 78%, 21%) |
| HSV | hsv(137, 87%, 37%) |
| CMYK | cmyk(87.4%, 0%, 63.2%, 62.7%) |
| CIE-LAB | lab(34.77, -37.33, 27.34) |
| CIE-LCH | lch(34.77, 46.27, 143.78°) |
| OKLab | oklab(42.53% -0.1003 0.0647) |
| OKLCH | oklch(42.53% 0.119 147.2) |
| XYZ | xyz(4.5468, 8.3834, 2.9683) |
| Luminance | 0.0838 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Deep Green
#02590F
ΔE00 3.29
Forest Green
#2D5A27
ΔE00 4.22
Forest
#0B5509
ΔE00 4.51
Pine
#2B5D34
ΔE00 4.97
Spruce
#0A5F38
ΔE00 5.32
Darkgreen
#006400
ΔE00 5.48
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#0C5F23 #5F0C48
analogous
#1E5F0C #0C5F23 #0C5F4C
triadic
#0C5F23 #230C5F #5F230C
tetradic
#0C5F23 #0C1E5F #5F0C48 #5F4C0C
square
#0C5F23 #0C1E5F #5F0C48 #5F4C0C
split-complementary
#0C5F23 #4C0C5F #5F0C1E
monochromatic
#031B0A #05290F #0C5F23 #139537 #1ACC4B
Accessibility & contrast
On white
7.85
#0C5F23 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.68
#0C5F23 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #0C5F23
7.85:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##0C5F23 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##0C5F23 | 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)
#60561D
Deuteranopia (green-blind)
#574F28
Tritanopia (blue-blind)
#005D52
Achromatopsia (no color)
#525252
Design tokens & code
CSS
--color: #0c5f23; /* rgb */ color: rgb(12, 95, 35); /* oklch */ color: oklch(42.5% 0.119 147.2);
Tailwind
colors: {
custom: {
50: '#5d8d60',
500: '#0c5f23',
950: '#000000',
},
}SCSS
$custom: #0c5f23; $custom-light: #5d8d60; $custom-dark: #000000;
JSON
{
"hex": "#0c5f23",
"rgb": {
"r": 12,
"g": 95,
"b": 35
},
"hsl": {
"h": 136.627,
"s": 77.57,
"l": 20.98
},
"oklch": {
"l": 0.42529,
"c": 0.11934,
"h": 147.2
},
"luminance": 0.08384
}Semantic roles & 50–950 ramp
primary
#0C5F23
secondary
#992D7B
accent
#34BFF4
background
#F5F8F5
surface
#EAF0E9
border
#C6CBC5
text
#050C05
muted
#797D79