#1F5D2D#1F5D2D
#1F5D2D is a dark, moderate green. Relative luminance 0.083; OKLCH L 42.6% C 0.100 H 148.0°. Best body text is #FFFFFF at 7.89:1 contrast (WCAG AA passes).
Color values
| HEX | #1F5D2D |
|---|---|
| RGB | rgb(31, 93, 45) |
| HSL | hsl(134, 50%, 24%) |
| HSV | hsv(134, 67%, 36%) |
| CMYK | cmyk(66.7%, 0%, 51.6%, 63.5%) |
| CIE-LAB | lab(34.62, -31.43, 21.77) |
| CIE-LCH | lch(34.62, 38.23, 145.29°) |
| OKLab | oklab(42.57% -0.0849 0.053) |
| OKLCH | oklch(42.57% 0.1 148) |
| XYZ | xyz(4.9527, 8.3090, 3.8249) |
| Luminance | 0.0831 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Pine
#2B5D34
ΔE00 2.22
Forest Green
#2D5A27
ΔE00 2.92
Spruce
#0A5F38
ΔE00 3.56
Hunter Green
#355E3B
ΔE00 4.47
Deep Green
#02590F
ΔE00 5.39
Forest
#0B5509
ΔE00 6.09
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F5D2D #5D1F4F
analogous
#305D1F #1F5D2D #1F5D4C
triadic
#1F5D2D #2D1F5D #5D2D1F
tetradic
#1F5D2D #1F305D #5D1F4F #5D4C1F
square
#1F5D2D #1F305D #5D1F4F #5D4C1F
split-complementary
#1F5D2D #4C1F5D #5D1F30
monochromatic
#08170B #102F17 #1F5D2D #2E8B43 #3EB959
Accessibility & contrast
On white
7.89
#1F5D2D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.66
#1F5D2D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1F5D2D
7.89:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F5D2D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F5D2D | 1.00 | 7.89 | 2.66 | 7.89 |
| #FFFFFF | 7.89 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.66 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.89 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5E5529
Deuteranopia (green-blind)
#564F30
Tritanopia (blue-blind)
#0D5B52
Achromatopsia (no color)
#515151
Design tokens & code
CSS
--color: #1f5d2d; /* rgb */ color: rgb(31, 93, 45); /* oklch */ color: oklch(42.6% 0.100 148.0);
Tailwind
colors: {
custom: {
50: '#638b67',
500: '#1f5d2d',
950: '#000000',
},
}SCSS
$custom: #1f5d2d; $custom-light: #638b67; $custom-dark: #000000;
JSON
{
"hex": "#1f5d2d",
"rgb": {
"r": 31,
"g": 93,
"b": 45
},
"hsl": {
"h": 133.548,
"s": 50,
"l": 24.314
},
"oklch": {
"l": 0.42573,
"c": 0.10007,
"h": 148
},
"luminance": 0.08309
}Semantic roles & 50–950 ramp
primary
#1F5D2D
secondary
#924681
accent
#4EBADA
background
#F6F8F6
surface
#EBF0EB
border
#C6CBC6
text
#060C06
muted
#7A7D7A