#1D511C#1D511C
#1D511C is a dark, moderate green. Relative luminance 0.062; OKLCH L 38.7% C 0.100 H 143.0°. Best body text is #FFFFFF at 9.35:1 contrast (WCAG AA passes).
Color values
| HEX | #1D511C |
|---|---|
| RGB | rgb(29, 81, 28) |
| HSL | hsl(119, 49%, 21%) |
| HSV | hsv(119, 65%, 32%) |
| CMYK | cmyk(64.2%, 0%, 65.4%, 68.2%) |
| CIE-LAB | lab(29.98, -29.39, 25.58) |
| CIE-LCH | lch(29.98, 38.96, 138.96°) |
| OKLab | oklab(38.66% -0.0799 0.0601) |
| OKLCH | oklch(38.66% 0.1 143) |
| XYZ | xyz(3.6585, 6.2296, 2.1080) |
| Luminance | 0.0623 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Forest Green
#2D5A27
ΔE00 3.36
British Racing Green
#05480D
ΔE00 3.45
Forest Green (survey)
#06470C
ΔE00 3.66
Darkgreen (survey)
#054907
ΔE00 3.72
Bottle Green
#044A05
ΔE00 3.83
Forest
#0B5509
ΔE00 3.94
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1D511C #501C51
analogous
#38511C #1D511C #1C5136
triadic
#1D511C #1C1D51 #511C1D
tetradic
#1D511C #1C3851 #501C51 #51361C
square
#1D511C #1C3851 #501C51 #51361C
split-complementary
#1D511C #361C51 #511C38
monochromatic
#081708 #0D240C #1D511C #2D7E2C #3EAC3B
Accessibility & contrast
On white
9.35
#1D511C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.25
#1D511C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1D511C
9.35:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1D511C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1D511C | 1.00 | 9.35 | 2.25 | 9.35 |
| #FFFFFF | 9.35 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.25 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.35 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#534916
Deuteranopia (green-blind)
#4C4520
Tritanopia (blue-blind)
#144F46
Achromatopsia (no color)
#474747
Design tokens & code
CSS
--color: #1d511c; /* rgb */ color: rgb(29, 81, 28); /* oklch */ color: oklch(38.7% 0.100 143.0);
Tailwind
colors: {
custom: {
50: '#60825a',
500: '#1d511c',
950: '#000000',
},
}SCSS
$custom: #1d511c; $custom-light: #60825a; $custom-dark: #000000;
JSON
{
"hex": "#1d511c",
"rgb": {
"r": 29,
"g": 81,
"b": 28
},
"hsl": {
"h": 118.868,
"s": 48.624,
"l": 21.373
},
"oklch": {
"l": 0.38659,
"c": 0.09999,
"h": 143
},
"luminance": 0.0623
}Semantic roles & 50–950 ramp
primary
#1D511C
secondary
#854287
accent
#50D8D6
background
#F5F8F5
surface
#EAEFE9
border
#C6CAC5
text
#050A04
muted
#797C79