#0C5B19#0C5B19
#0C5B19 is a dark, vivid green. Relative luminance 0.076; OKLCH L 41.2% C 0.123 H 144.9°. Best body text is #FFFFFF at 8.31:1 contrast (WCAG AA passes).
Color values
| HEX | #0C5B19 |
|---|---|
| RGB | rgb(12, 91, 25) |
| HSL | hsl(130, 77%, 20%) |
| HSV | hsv(130, 87%, 36%) |
| CMYK | cmyk(86.8%, 0%, 72.5%, 64.3%) |
| CIE-LAB | lab(33.20, -37.17, 30.54) |
| CIE-LCH | lch(33.20, 48.11, 140.60°) |
| OKLab | oklab(41.19% -0.1003 0.0704) |
| OKLCH | oklch(41.19% 0.123 144.9) |
| XYZ | xyz(4.0679, 7.6300, 2.1779) |
| Luminance | 0.0763 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Deep Green
#02590F
ΔE00 1.44
Forest
#0B5509
ΔE00 2.59
Forest Green
#2D5A27
ΔE00 4.24
Darkgreen
#006400
ΔE00 4.77
Bottle Green
#044A05
ΔE00 5.39
Darkgreen (survey)
#054907
ΔE00 5.63
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#0C5B19 #5B0C4E
analogous
#275B0C #0C5B19 #0C5B40
triadic
#0C5B19 #190C5B #5B190C
tetradic
#0C5B19 #0C275B #5B0C4E #5B400C
square
#0C5B19 #0C275B #5B0C4E #5B400C
split-complementary
#0C5B19 #400C5B #5B0C27
monochromatic
#041B07 #05250A #0C5B19 #139128 #1AC737
Accessibility & contrast
On white
8.31
#0C5B19 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.53
#0C5B19 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #0C5B19
8.31:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##0C5B19 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##0C5B19 | 1.00 | 8.31 | 2.53 | 8.31 |
| #FFFFFF | 8.31 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.53 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.31 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5D5210
Deuteranopia (green-blind)
#544C1F
Tritanopia (blue-blind)
#00584E
Achromatopsia (no color)
#4E4E4E
Design tokens & code
CSS
--color: #0c5b19; /* rgb */ color: rgb(12, 91, 25); /* oklch */ color: oklch(41.2% 0.123 144.9);
Tailwind
colors: {
custom: {
50: '#5c8a59',
500: '#0c5b19',
950: '#000000',
},
}SCSS
$custom: #0c5b19; $custom-light: #5c8a59; $custom-dark: #000000;
JSON
{
"hex": "#0c5b19",
"rgb": {
"r": 12,
"g": 91,
"b": 25
},
"hsl": {
"h": 129.873,
"s": 76.699,
"l": 20.196
},
"oklch": {
"l": 0.41191,
"c": 0.12252,
"h": 144.9
},
"luminance": 0.07631
}Semantic roles & 50–950 ramp
primary
#0C5B19
secondary
#962D84
accent
#35D4F3
background
#F5F8F5
surface
#E9F0E9
border
#C5CBC5
text
#050C04
muted
#797D79