#0C5A18#0C5A18
#0C5A18 is a dark, vivid green. Relative luminance 0.075; OKLCH L 40.9% C 0.122 H 144.8°. Best body text is #FFFFFF at 8.43:1 contrast (WCAG AA passes).
Color values
| HEX | #0C5A18 |
|---|---|
| RGB | rgb(12, 90, 24) |
| HSL | hsl(129, 76%, 20%) |
| HSV | hsv(129, 87%, 35%) |
| CMYK | cmyk(86.7%, 0%, 73.3%, 64.7%) |
| CIE-LAB | lab(32.82, -36.93, 30.60) |
| CIE-LCH | lch(32.82, 47.96, 140.36°) |
| OKLab | oklab(40.88% -0.0996 0.0704) |
| OKLCH | oklch(40.88% 0.122 144.8) |
| XYZ | xyz(3.9724, 7.4560, 2.0938) |
| Luminance | 0.0746 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Deep Green
#02590F
ΔE00 1.30
Forest
#0B5509
ΔE00 2.32
Forest Green
#2D5A27
ΔE00 4.23
Darkgreen
#006400
ΔE00 4.92
Bottle Green
#044A05
ΔE00 5.07
Darkgreen (survey)
#054907
ΔE00 5.31
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#0C5A18 #5A0C4E
analogous
#275A0C #0C5A18 #0C5A3F
triadic
#0C5A18 #180C5A #5A180C
tetradic
#0C5A18 #0C275A #5A0C4E #5A3F0C
square
#0C5A18 #0C275A #5A0C4E #5A3F0C
split-complementary
#0C5A18 #3F0C5A #5A0C27
monochromatic
#041B07 #05240A #0C5A18 #139026 #1AC635
Accessibility & contrast
On white
8.43
#0C5A18 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.49
#0C5A18 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #0C5A18
8.43:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##0C5A18 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##0C5A18 | 1.00 | 8.43 | 2.49 | 8.43 |
| #FFFFFF | 8.43 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.49 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.43 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5C510F
Deuteranopia (green-blind)
#534B1E
Tritanopia (blue-blind)
#00574D
Achromatopsia (no color)
#4D4D4D
Design tokens & code
CSS
--color: #0c5a18; /* rgb */ color: rgb(12, 90, 24); /* oklch */ color: oklch(40.9% 0.122 144.8);
Tailwind
colors: {
custom: {
50: '#5c8a59',
500: '#0c5a18',
950: '#000000',
},
}SCSS
$custom: #0c5a18; $custom-light: #5c8a59; $custom-dark: #000000;
JSON
{
"hex": "#0c5a18",
"rgb": {
"r": 12,
"g": 90,
"b": 24
},
"hsl": {
"h": 129.231,
"s": 76.471,
"l": 20
},
"oklch": {
"l": 0.40875,
"c": 0.12201,
"h": 144.8
},
"luminance": 0.07456
}Semantic roles & 50–950 ramp
primary
#0C5A18
secondary
#952D85
accent
#35D6F3
background
#F5F8F5
surface
#E9F0E9
border
#C5CBC5
text
#050C03
muted
#797D78