#0C5A19#0C5A19
#0C5A19 is a dark, vivid green. Relative luminance 0.075; OKLCH L 40.9% C 0.121 H 145.0°. Best body text is #FFFFFF at 8.43:1 contrast (WCAG AA passes).
Color values
| HEX | #0C5A19 |
|---|---|
| RGB | rgb(12, 90, 25) |
| HSL | hsl(130, 76%, 20%) |
| HSV | hsv(130, 87%, 35%) |
| CMYK | cmyk(86.7%, 0%, 72.2%, 64.7%) |
| CIE-LAB | lab(32.83, -36.81, 30.14) |
| CIE-LCH | lch(32.83, 47.58, 140.69°) |
| OKLab | oklab(40.89% -0.0993 0.0696) |
| OKLCH | oklch(40.89% 0.121 145) |
| XYZ | xyz(3.9830, 7.4602, 2.1496) |
| Luminance | 0.0746 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Deep Green
#02590F
ΔE00 1.46
Forest
#0B5509
ΔE00 2.46
Forest Green
#2D5A27
ΔE00 4.15
Darkgreen
#006400
ΔE00 5.06
Bottle Green
#044A05
ΔE00 5.11
Darkgreen (survey)
#054907
ΔE00 5.33
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#0C5A19 #5A0C4D
analogous
#265A0C #0C5A19 #0C5A40
triadic
#0C5A19 #190C5A #5A190C
tetradic
#0C5A19 #0C265A #5A0C4D #5A400C
square
#0C5A19 #0C265A #5A0C4D #5A400C
split-complementary
#0C5A19 #400C5A #5A0C26
monochromatic
#041B07 #05240A #0C5A19 #139028 #1AC637
Accessibility & contrast
On white
8.43
#0C5A19 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.49
#0C5A19 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #0C5A19
8.43:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##0C5A19 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##0C5A19 | 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)
#5C5110
Deuteranopia (green-blind)
#534B1F
Tritanopia (blue-blind)
#00574D
Achromatopsia (no color)
#4D4D4D
Design tokens & code
CSS
--color: #0c5a19; /* rgb */ color: rgb(12, 90, 25); /* oklch */ color: oklch(40.9% 0.121 145.0);
Tailwind
colors: {
custom: {
50: '#5c8a59',
500: '#0c5a19',
950: '#000000',
},
}SCSS
$custom: #0c5a19; $custom-light: #5c8a59; $custom-dark: #000000;
JSON
{
"hex": "#0c5a19",
"rgb": {
"r": 12,
"g": 90,
"b": 25
},
"hsl": {
"h": 130,
"s": 76.471,
"l": 20
},
"oklch": {
"l": 0.40886,
"c": 0.12124,
"h": 145
},
"luminance": 0.07461
}Semantic roles & 50–950 ramp
primary
#0C5A19
secondary
#952D83
accent
#35D3F3
background
#F5F8F5
surface
#E9F0E9
border
#C5CBC5
text
#050C04
muted
#797D79