#0C4916#0C4916
#0C4916 is a dark, moderate green. Relative luminance 0.049; OKLCH L 35.6% C 0.101 H 145.4°. Best body text is #FFFFFF at 10.60:1 contrast (WCAG AA passes).
Color values
| HEX | #0C4916 |
|---|---|
| RGB | rgb(12, 73, 22) |
| HSL | hsl(130, 72%, 17%) |
| HSV | hsv(130, 84%, 29%) |
| CMYK | cmyk(83.6%, 0%, 69.9%, 71.4%) |
| CIE-LAB | lab(26.45, -30.82, 24.58) |
| CIE-LCH | lch(26.45, 39.42, 141.43°) |
| OKLab | oklab(35.58% -0.0831 0.0574) |
| OKLCH | oklch(35.58% 0.101 145.4) |
| XYZ | xyz(2.6788, 4.9009, 1.5637) |
| Luminance | 0.0490 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
British Racing Green
#05480D
ΔE00 1.62
Forest Green (survey)
#06470C
ΔE00 1.73
Pine Green
#0A481E
ΔE00 2.27
Darkgreen (survey)
#054907
ΔE00 2.66
Bottle Green
#044A05
ΔE00 3.10
Hunter Green (survey)
#0B4008
ΔE00 3.16
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#0C4916 #490C3F
analogous
#21490C #0C4916 #0C4935
triadic
#0C4916 #160C49 #49160C
tetradic
#0C4916 #0C2149 #490C3F #49350C
square
#0C4916 #0C2149 #490C3F #49350C
split-complementary
#0C4916 #350C49 #490C21
monochromatic
#041A08 #041A08 #0C4916 #157E26 #1DB236
Accessibility & contrast
On white
10.60
#0C4916 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.98
#0C4916 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #0C4916
10.60:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##0C4916 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##0C4916 | 1.00 | 10.60 | 1.98 | 10.60 |
| #FFFFFF | 10.60 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.98 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.60 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4A4110
Deuteranopia (green-blind)
#433D1A
Tritanopia (blue-blind)
#00473E
Achromatopsia (no color)
#3F3F3F
Design tokens & code
CSS
--color: #0c4916; /* rgb */ color: rgb(12, 73, 22); /* oklch */ color: oklch(35.6% 0.101 145.4);
Tailwind
colors: {
custom: {
50: '#577c55',
500: '#0c4916',
950: '#000000',
},
}SCSS
$custom: #0c4916; $custom-light: #577c55; $custom-dark: #000000;
JSON
{
"hex": "#0c4916",
"rgb": {
"r": 12,
"g": 73,
"b": 22
},
"hsl": {
"h": 129.836,
"s": 71.765,
"l": 16.667
},
"oklch": {
"l": 0.35576,
"c": 0.10103,
"h": 145.4
},
"luminance": 0.04901
}Semantic roles & 50–950 ramp
primary
#0C4916
secondary
#852C76
accent
#39D1EE
background
#F5F7F5
surface
#E9EEE9
border
#C5C9C5
text
#040903
muted
#797B78