#1F5B2D#1F5B2D
#1F5B2D is a dark, moderate green. Relative luminance 0.080; OKLCH L 42.0% C 0.097 H 148.3°. Best body text is #FFFFFF at 8.10:1 contrast (WCAG AA passes).
Color values
| HEX | #1F5B2D |
|---|---|
| RGB | rgb(31, 91, 45) |
| HSL | hsl(134, 49%, 24%) |
| HSV | hsv(134, 66%, 36%) |
| CMYK | cmyk(65.9%, 0%, 50.5%, 64.3%) |
| CIE-LAB | lab(33.90, -30.55, 20.87) |
| CIE-LCH | lch(33.90, 37.00, 145.66°) |
| OKLab | oklab(41.99% -0.0825 0.051) |
| OKLCH | oklch(41.99% 0.097 148.3) |
| XYZ | xyz(4.7795, 7.9625, 3.7672) |
| Luminance | 0.0796 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Pine
#2B5D34
ΔE00 2.01
Forest Green
#2D5A27
ΔE00 2.91
Spruce
#0A5F38
ΔE00 3.49
Hunter Green
#355E3B
ΔE00 4.26
Deep Green
#02590F
ΔE00 5.65
Pine Green
#0A481E
ΔE00 6.04
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F5B2D #5B1F4D
analogous
#2F5B1F #1F5B2D #1F5B4B
triadic
#1F5B2D #2D1F5B #5B2D1F
tetradic
#1F5B2D #1F2F5B #5B1F4D #5B4B1F
square
#1F5B2D #1F2F5B #5B1F4D #5B4B1F
split-complementary
#1F5B2D #4B1F5B #5B1F2F
monochromatic
#08170B #0F2D16 #1F5B2D #2F8944 #3EB65A
Accessibility & contrast
On white
8.10
#1F5B2D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.59
#1F5B2D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1F5B2D
8.10:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F5B2D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F5B2D | 1.00 | 8.10 | 2.59 | 8.10 |
| #FFFFFF | 8.10 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.59 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.10 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5C5329
Deuteranopia (green-blind)
#544E30
Tritanopia (blue-blind)
#0E5950
Achromatopsia (no color)
#505050
Design tokens & code
CSS
--color: #1f5b2d; /* rgb */ color: rgb(31, 91, 45); /* oklch */ color: oklch(42.0% 0.097 148.3);
Tailwind
colors: {
custom: {
50: '#628a67',
500: '#1f5b2d',
950: '#000000',
},
}SCSS
$custom: #1f5b2d; $custom-light: #628a67; $custom-dark: #000000;
JSON
{
"hex": "#1f5b2d",
"rgb": {
"r": 31,
"g": 91,
"b": 45
},
"hsl": {
"h": 134,
"s": 49.18,
"l": 23.922
},
"oklch": {
"l": 0.41985,
"c": 0.097,
"h": 148.3
},
"luminance": 0.07963
}Semantic roles & 50–950 ramp
primary
#1F5B2D
secondary
#90467F
accent
#4FB9D9
background
#F6F8F6
surface
#EBF0EB
border
#C6CBC6
text
#050C06
muted
#7A7D7A