#0C5019#0C5019
#0C5019 is a dark, moderate green. Relative luminance 0.059; OKLCH L 37.8% C 0.108 H 145.7°. Best body text is #FFFFFF at 9.65:1 contrast (WCAG AA passes).
Color values
| HEX | #0C5019 |
|---|---|
| RGB | rgb(12, 80, 25) |
| HSL | hsl(131, 74%, 18%) |
| HSV | hsv(131, 85%, 31%) |
| CMYK | cmyk(85%, 0%, 68.8%, 68.6%) |
| CIE-LAB | lab(29.12, -33.11, 26.04) |
| CIE-LCH | lch(29.12, 42.12, 141.82°) |
| OKLab | oklab(37.8% -0.0892 0.0609) |
| OKLCH | oklch(37.8% 0.108 145.7) |
| XYZ | xyz(3.1955, 5.8853, 1.8871) |
| Luminance | 0.0589 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
British Racing Green
#05480D
ΔE00 2.69
Forest Green (survey)
#06470C
ΔE00 3.00
Darkgreen (survey)
#054907
ΔE00 3.07
Bottle Green
#044A05
ΔE00 3.19
Forest
#0B5509
ΔE00 3.64
Pine Green
#0A481E
ΔE00 3.67
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#0C5019 #500C43
analogous
#21500C #0C5019 #0C503B
triadic
#0C5019 #190C50 #50190C
tetradic
#0C5019 #0C2150 #500C43 #503B0C
square
#0C5019 #0C2150 #500C43 #503B0C
split-complementary
#0C5019 #3B0C50 #500C21
monochromatic
#041B08 #041B08 #0C5019 #14852A #1CBA3A
Accessibility & contrast
On white
9.65
#0C5019 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.18
#0C5019 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #0C5019
9.65:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##0C5019 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##0C5019 | 1.00 | 9.65 | 2.18 | 9.65 |
| #FFFFFF | 9.65 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.18 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.65 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#514813
Deuteranopia (green-blind)
#4A431E
Tritanopia (blue-blind)
#004E44
Achromatopsia (no color)
#454545
Design tokens & code
CSS
--color: #0c5019; /* rgb */ color: rgb(12, 80, 25); /* oklch */ color: oklch(37.8% 0.108 145.7);
Tailwind
colors: {
custom: {
50: '#598258',
500: '#0c5019',
950: '#000000',
},
}SCSS
$custom: #0c5019; $custom-light: #598258; $custom-dark: #000000;
JSON
{
"hex": "#0c5019",
"rgb": {
"r": 12,
"g": 80,
"b": 25
},
"hsl": {
"h": 131.471,
"s": 73.913,
"l": 18.039
},
"oklch": {
"l": 0.37803,
"c": 0.10802,
"h": 145.7
},
"luminance": 0.05886
}Semantic roles & 50–950 ramp
primary
#0C5019
secondary
#8B2C79
accent
#37CDF1
background
#F5F8F5
surface
#E9EFE9
border
#C5CAC5
text
#040A03
muted
#797C78