#1F5E2E#1F5E2E
#1F5E2E is a dark, moderate green. Relative luminance 0.085; OKLCH L 42.9% C 0.101 H 148.3°. Best body text is #FFFFFF at 7.78:1 contrast (WCAG AA passes).
Color values
| HEX | #1F5E2E |
|---|---|
| RGB | rgb(31, 94, 46) |
| HSL | hsl(134, 50%, 25%) |
| HSV | hsv(134, 67%, 37%) |
| CMYK | cmyk(67%, 0%, 51.1%, 63.1%) |
| CIE-LAB | lab(34.99, -31.68, 21.67) |
| CIE-LCH | lch(34.99, 38.38, 145.63°) |
| OKLab | oklab(42.88% -0.0856 0.0528) |
| OKLCH | oklch(42.88% 0.101 148.3) |
| XYZ | xyz(5.0606, 8.4935, 3.9570) |
| Luminance | 0.0849 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Pine
#2B5D34
ΔE00 2.24
Forest Green
#2D5A27
ΔE00 3.12
Spruce
#0A5F38
ΔE00 3.43
Hunter Green
#355E3B
ΔE00 4.45
Deep Green
#02590F
ΔE00 5.53
Forest
#0B5509
ΔE00 6.29
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F5E2E #5E1F4F
analogous
#305E1F #1F5E2E #1F5E4E
triadic
#1F5E2E #2E1F5E #5E2E1F
tetradic
#1F5E2E #1F305E #5E1F4F #5E4E1F
square
#1F5E2E #1F305E #5E1F4F #5E4E1F
split-complementary
#1F5E2E #4E1F5E #5E1F30
monochromatic
#08170B #103017 #1F5E2E #2E8C45 #3DBA5B
Accessibility & contrast
On white
7.78
#1F5E2E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.70
#1F5E2E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1F5E2E
7.78:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F5E2E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F5E2E | 1.00 | 7.78 | 2.70 | 7.78 |
| #FFFFFF | 7.78 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.70 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.78 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5F562A
Deuteranopia (green-blind)
#575031
Tritanopia (blue-blind)
#0C5C53
Achromatopsia (no color)
#525252
Design tokens & code
CSS
--color: #1f5e2e; /* rgb */ color: rgb(31, 94, 46); /* oklch */ color: oklch(42.9% 0.101 148.3);
Tailwind
colors: {
custom: {
50: '#638c67',
500: '#1f5e2e',
950: '#000000',
},
}SCSS
$custom: #1f5e2e; $custom-light: #638c67; $custom-dark: #000000;
JSON
{
"hex": "#1f5e2e",
"rgb": {
"r": 31,
"g": 94,
"b": 46
},
"hsl": {
"h": 134.286,
"s": 50.4,
"l": 24.51
},
"oklch": {
"l": 0.42884,
"c": 0.10055,
"h": 148.3
},
"luminance": 0.08494
}Semantic roles & 50–950 ramp
primary
#1F5E2E
secondary
#934680
accent
#4EB9DA
background
#F6F8F6
surface
#EBF0EB
border
#C6CBC6
text
#060C06
muted
#7A7D7A