#0C500F#0C500F
#0C500F is a dark, moderate green. Relative luminance 0.059; OKLCH L 37.7% C 0.116 H 143.3°. Best body text is #FFFFFF at 9.68:1 contrast (WCAG AA passes).
Color values
| HEX | #0C500F |
|---|---|
| RGB | rgb(12, 80, 15) |
| HSL | hsl(123, 74%, 18%) |
| HSV | hsv(123, 85%, 31%) |
| CMYK | cmyk(85%, 0%, 81.3%, 68.6%) |
| CIE-LAB | lab(29.03, -34.23, 30.59) |
| CIE-LCH | lch(29.03, 45.91, 138.22°) |
| OKLab | oklab(37.7% -0.0928 0.0691) |
| OKLCH | oklch(37.7% 0.116 143.3) |
| XYZ | xyz(3.1063, 5.8496, 1.4172) |
| Luminance | 0.0585 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Bottle Green
#044A05
ΔE00 1.97
Forest
#0B5509
ΔE00 2.08
Darkgreen (survey)
#054907
ΔE00 2.17
British Racing Green
#05480D
ΔE00 2.59
Forest Green (survey)
#06470C
ΔE00 2.86
Deep Green
#02590F
ΔE00 3.04
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#0C500F #500C4D
analogous
#2B500C #0C500F #0C5031
triadic
#0C500F #0F0C50 #500F0C
tetradic
#0C500F #0C2B50 #500C4D #50310C
square
#0C500F #0C2B50 #500C4D #50310C
split-complementary
#0C500F #310C50 #500C2B
monochromatic
#041B05 #041B05 #0C500F #148519 #1CBA23
Accessibility & contrast
On white
9.68
#0C500F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.17
#0C500F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #0C500F
9.68:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##0C500F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##0C500F | 1.00 | 9.68 | 2.17 | 9.68 |
| #FFFFFF | 9.68 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.17 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.68 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#524804
Deuteranopia (green-blind)
#4A4216
Tritanopia (blue-blind)
#004D43
Achromatopsia (no color)
#444444
Design tokens & code
CSS
--color: #0c500f; /* rgb */ color: rgb(12, 80, 15); /* oklch */ color: oklch(37.7% 0.116 143.3);
Tailwind
colors: {
custom: {
50: '#598252',
500: '#0c500f',
950: '#000000',
},
}SCSS
$custom: #0c500f; $custom-light: #598252; $custom-dark: #000000;
JSON
{
"hex": "#0c500f",
"rgb": {
"r": 12,
"g": 80,
"b": 15
},
"hsl": {
"h": 122.647,
"s": 73.913,
"l": 18.039
},
"oklch": {
"l": 0.37697,
"c": 0.11569,
"h": 143.3
},
"luminance": 0.0585
}Semantic roles & 50–950 ramp
primary
#0C500F
secondary
#8B2C87
accent
#37E8F1
background
#F5F8F4
surface
#E9EFE7
border
#C5CAC3
text
#040A02
muted
#797C78