#1D5212#1D5212
#1D5212 is a dark, moderate green. Relative luminance 0.063; OKLCH L 38.8% C 0.110 H 140.6°. Best body text is #FFFFFF at 9.26:1 contrast (WCAG AA passes).
Color values
| HEX | #1D5212 |
|---|---|
| RGB | rgb(29, 82, 18) |
| HSL | hsl(110, 64%, 20%) |
| HSV | hsv(110, 78%, 32%) |
| CMYK | cmyk(64.6%, 0%, 78%, 67.8%) |
| CIE-LAB | lab(30.25, -30.94, 30.71) |
| CIE-LCH | lch(30.25, 43.59, 135.21°) |
| OKLab | oklab(38.85% -0.0847 0.0697) |
| OKLCH | oklch(38.85% 0.11 140.6) |
| XYZ | xyz(3.6330, 6.3391, 1.6043) |
| Luminance | 0.0634 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Forest
#0B5509
ΔE00 2.30
Bottle Green
#044A05
ΔE00 3.09
Darkgreen (survey)
#054907
ΔE00 3.26
Deep Green
#02590F
ΔE00 3.32
British Racing Green
#05480D
ΔE00 3.70
Forest Green (survey)
#06470C
ΔE00 3.88
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1D5212 #471252
analogous
#3D5212 #1D5212 #125227
triadic
#1D5212 #121D52 #52121D
tetradic
#1D5212 #123D52 #471252 #522712
square
#1D5212 #123D52 #471252 #522712
split-complementary
#1D5212 #271252 #52123D
monochromatic
#091906 #0B2007 #1D5212 #2F841D #40B628
Accessibility & contrast
On white
9.26
#1D5212 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.27
#1D5212 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1D5212
9.26:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1D5212 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1D5212 | 1.00 | 9.26 | 2.27 | 9.26 |
| #FFFFFF | 9.26 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.27 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.26 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#544A07
Deuteranopia (green-blind)
#4E4618
Tritanopia (blue-blind)
#164F45
Achromatopsia (no color)
#474747
Design tokens & code
CSS
--color: #1d5212; /* rgb */ color: rgb(29, 82, 18); /* oklch */ color: oklch(38.8% 0.110 140.6);
Tailwind
colors: {
custom: {
50: '#618354',
500: '#1d5212',
950: '#000000',
},
}SCSS
$custom: #1d5212; $custom-light: #618354; $custom-dark: #000000;
JSON
{
"hex": "#1d5212",
"rgb": {
"r": 29,
"g": 82,
"b": 18
},
"hsl": {
"h": 109.688,
"s": 64,
"l": 19.608
},
"oklch": {
"l": 0.38848,
"c": 0.10971,
"h": 140.6
},
"luminance": 0.06339
}Semantic roles & 50–950 ramp
primary
#1D5212
secondary
#7C358B
accent
#41E7CA
background
#F5F8F5
surface
#EAEFE9
border
#C6CAC5
text
#050B03
muted
#797C78