#0C5B18#0C5B18
#0C5B18 is a dark, vivid green. Relative luminance 0.076; OKLCH L 41.2% C 0.123 H 144.7°. Best body text is #FFFFFF at 8.32:1 contrast (WCAG AA passes).
Color values
| HEX | #0C5B18 |
|---|---|
| RGB | rgb(12, 91, 24) |
| HSL | hsl(129, 77%, 20%) |
| HSV | hsv(129, 87%, 36%) |
| CMYK | cmyk(86.8%, 0%, 73.6%, 64.3%) |
| CIE-LAB | lab(33.19, -37.29, 30.99) |
| CIE-LCH | lch(33.19, 48.48, 140.27°) |
| OKLab | oklab(41.18% -0.1006 0.0712) |
| OKLCH | oklch(41.18% 0.123 144.7) |
| XYZ | xyz(4.0573, 7.6258, 2.1221) |
| Luminance | 0.0763 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Deep Green
#02590F
ΔE00 1.30
Forest
#0B5509
ΔE00 2.47
Forest Green
#2D5A27
ΔE00 4.32
Darkgreen
#006400
ΔE00 4.62
Bottle Green
#044A05
ΔE00 5.35
Darkgreen (survey)
#054907
ΔE00 5.61
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#0C5B18 #5B0C4F
analogous
#275B0C #0C5B18 #0C5B3F
triadic
#0C5B18 #180C5B #5B180C
tetradic
#0C5B18 #0C275B #5B0C4F #5B3F0C
square
#0C5B18 #0C275B #5B0C4F #5B3F0C
split-complementary
#0C5B18 #3F0C5B #5B0C27
monochromatic
#041B07 #05250A #0C5B18 #139126 #1AC735
Accessibility & contrast
On white
8.32
#0C5B18 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.53
#0C5B18 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #0C5B18
8.32:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##0C5B18 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##0C5B18 | 1.00 | 8.32 | 2.53 | 8.32 |
| #FFFFFF | 8.32 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.53 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.32 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5D520E
Deuteranopia (green-blind)
#544C1E
Tritanopia (blue-blind)
#00584D
Achromatopsia (no color)
#4E4E4E
Design tokens & code
CSS
--color: #0c5b18; /* rgb */ color: rgb(12, 91, 24); /* oklch */ color: oklch(41.2% 0.123 144.7);
Tailwind
colors: {
custom: {
50: '#5c8a59',
500: '#0c5b18',
950: '#000000',
},
}SCSS
$custom: #0c5b18; $custom-light: #5c8a59; $custom-dark: #000000;
JSON
{
"hex": "#0c5b18",
"rgb": {
"r": 12,
"g": 91,
"b": 24
},
"hsl": {
"h": 129.114,
"s": 76.699,
"l": 20.196
},
"oklch": {
"l": 0.41181,
"c": 0.12329,
"h": 144.7
},
"luminance": 0.07626
}Semantic roles & 50–950 ramp
primary
#0C5B18
secondary
#962D86
accent
#35D6F3
background
#F5F8F5
surface
#E9F0E9
border
#C5CBC5
text
#050C04
muted
#797D79