#0C5B17#0C5B17
#0C5B17 is a dark, vivid green. Relative luminance 0.076; OKLCH L 41.2% C 0.124 H 144.5°. Best body text is #FFFFFF at 8.32:1 contrast (WCAG AA passes).
Color values
| HEX | #0C5B17 |
|---|---|
| RGB | rgb(12, 91, 23) |
| HSL | hsl(128, 77%, 20%) |
| HSV | hsv(128, 87%, 36%) |
| CMYK | cmyk(86.8%, 0%, 74.7%, 64.3%) |
| CIE-LAB | lab(33.18, -37.39, 31.43) |
| CIE-LCH | lch(33.18, 48.85, 139.95°) |
| OKLab | oklab(41.17% -0.101 0.072) |
| OKLCH | oklch(41.17% 0.124 144.5) |
| XYZ | xyz(4.0471, 7.6217, 2.0683) |
| Luminance | 0.0762 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Deep Green
#02590F
ΔE00 1.16
Forest
#0B5509
ΔE00 2.36
Forest Green
#2D5A27
ΔE00 4.40
Darkgreen
#006400
ΔE00 4.49
Bottle Green
#044A05
ΔE00 5.33
Darkgreen (survey)
#054907
ΔE00 5.60
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#0C5B17 #5B0C50
analogous
#295B0C #0C5B17 #0C5B3E
triadic
#0C5B17 #170C5B #5B170C
tetradic
#0C5B17 #0C295B #5B0C50 #5B3E0C
square
#0C5B17 #0C295B #5B0C50 #5B3E0C
split-complementary
#0C5B17 #3E0C5B #5B0C29
monochromatic
#041B07 #052509 #0C5B17 #139125 #1AC732
Accessibility & contrast
On white
8.32
#0C5B17 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.52
#0C5B17 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #0C5B17
8.32:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##0C5B17 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##0C5B17 | 1.00 | 8.32 | 2.52 | 8.32 |
| #FFFFFF | 8.32 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.52 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.32 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5D520D
Deuteranopia (green-blind)
#544C1E
Tritanopia (blue-blind)
#00584D
Achromatopsia (no color)
#4E4E4E
Design tokens & code
CSS
--color: #0c5b17; /* rgb */ color: rgb(12, 91, 23); /* oklch */ color: oklch(41.2% 0.124 144.5);
Tailwind
colors: {
custom: {
50: '#5c8a58',
500: '#0c5b17',
950: '#000000',
},
}SCSS
$custom: #0c5b17; $custom-light: #5c8a58; $custom-dark: #000000;
JSON
{
"hex": "#0c5b17",
"rgb": {
"r": 12,
"g": 91,
"b": 23
},
"hsl": {
"h": 128.354,
"s": 76.699,
"l": 20.196
},
"oklch": {
"l": 0.41171,
"c": 0.12403,
"h": 144.5
},
"luminance": 0.07622
}Semantic roles & 50–950 ramp
primary
#0C5B17
secondary
#962D87
accent
#35D9F3
background
#F5F8F5
surface
#E9F0E9
border
#C5CBC5
text
#050C03
muted
#797D78