#1F5E2B#1F5E2B
#1F5E2B is a dark, moderate green. Relative luminance 0.085; OKLCH L 42.8% C 0.104 H 147.1°. Best body text is #FFFFFF at 7.79:1 contrast (WCAG AA passes).
Color values
| HEX | #1F5E2B |
|---|---|
| RGB | rgb(31, 94, 43) |
| HSL | hsl(131, 50%, 25%) |
| HSV | hsv(131, 67%, 37%) |
| CMYK | cmyk(67%, 0%, 54.3%, 63.1%) |
| CIE-LAB | lab(34.94, -32.20, 23.31) |
| CIE-LCH | lch(34.94, 39.75, 144.10°) |
| OKLab | oklab(42.83% -0.087 0.0564) |
| OKLCH | oklch(42.83% 0.104 147.1) |
| XYZ | xyz(5.0035, 8.4706, 3.6563) |
| Luminance | 0.0847 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Pine
#2B5D34
ΔE00 2.77
Forest Green
#2D5A27
ΔE00 2.79
Spruce
#0A5F38
ΔE00 4.11
Deep Green
#02590F
ΔE00 4.86
Hunter Green
#355E3B
ΔE00 4.95
Forest
#0B5509
ΔE00 5.64
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F5E2B #5E1F52
analogous
#325E1F #1F5E2B #1F5E4B
triadic
#1F5E2B #2B1F5E #5E2B1F
tetradic
#1F5E2B #1F325E #5E1F52 #5E4B1F
square
#1F5E2B #1F325E #5E1F52 #5E4B1F
split-complementary
#1F5E2B #4B1F5E #5E1F32
monochromatic
#08170B #103016 #1F5E2B #2E8C40 #3DBA55
Accessibility & contrast
On white
7.79
#1F5E2B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.69
#1F5E2B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1F5E2B
7.79:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F5E2B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F5E2B | 1.00 | 7.79 | 2.69 | 7.79 |
| #FFFFFF | 7.79 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.69 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.79 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5F5627
Deuteranopia (green-blind)
#57502F
Tritanopia (blue-blind)
#0E5C52
Achromatopsia (no color)
#525252
Design tokens & code
CSS
--color: #1f5e2b; /* rgb */ color: rgb(31, 94, 43); /* oklch */ color: oklch(42.8% 0.104 147.1);
Tailwind
colors: {
custom: {
50: '#638c65',
500: '#1f5e2b',
950: '#000000',
},
}SCSS
$custom: #1f5e2b; $custom-light: #638c65; $custom-dark: #000000;
JSON
{
"hex": "#1f5e2b",
"rgb": {
"r": 31,
"g": 94,
"b": 43
},
"hsl": {
"h": 131.429,
"s": 50.4,
"l": 24.51
},
"oklch": {
"l": 0.42832,
"c": 0.10364,
"h": 147.1
},
"luminance": 0.08471
}Semantic roles & 50–950 ramp
primary
#1F5E2B
secondary
#934684
accent
#4EBFDA
background
#F6F8F6
surface
#EBF0EB
border
#C6CBC6
text
#060C06
muted
#7A7D7A