#1F561E#1F561E
#1F561E is a dark, moderate green. Relative luminance 0.070; OKLCH L 40.3% C 0.105 H 143.1°. Best body text is #FFFFFF at 8.72:1 contrast (WCAG AA passes).
Color values
| HEX | #1F561E |
|---|---|
| RGB | rgb(31, 86, 30) |
| HSL | hsl(119, 48%, 23%) |
| HSV | hsv(119, 65%, 34%) |
| CMYK | cmyk(64%, 0%, 65.1%, 66.3%) |
| CIE-LAB | lab(31.90, -30.72, 26.75) |
| CIE-LCH | lch(31.90, 40.73, 138.96°) |
| OKLab | oklab(40.27% -0.0835 0.0628) |
| OKLCH | oklch(40.27% 0.105 143.1) |
| XYZ | xyz(4.1270, 7.0402, 2.3695) |
| Luminance | 0.0704 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Forest Green
#2D5A27
ΔE00 2.36
Forest
#0B5509
ΔE00 3.38
Deep Green
#02590F
ΔE00 3.47
Bottle Green
#044A05
ΔE00 4.66
Pine
#2B5D34
ΔE00 4.67
British Racing Green
#05480D
ΔE00 4.69
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F561E #551E56
analogous
#3B561E #1F561E #1E5639
triadic
#1F561E #1E1F56 #561E1F
tetradic
#1F561E #1E3B56 #551E56 #56391E
square
#1F561E #1E3B56 #551E56 #56391E
split-complementary
#1F561E #391E56 #561E3B
monochromatic
#081708 #0F290E #1F561E #2F832E #40B13E
Accessibility & contrast
On white
8.72
#1F561E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.41
#1F561E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1F561E
8.72:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F561E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F561E | 1.00 | 8.72 | 2.41 | 8.72 |
| #FFFFFF | 8.72 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.41 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.72 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#584E18
Deuteranopia (green-blind)
#514923
Tritanopia (blue-blind)
#15534A
Achromatopsia (no color)
#4B4B4B
Design tokens & code
CSS
--color: #1f561e; /* rgb */ color: rgb(31, 86, 30); /* oklch */ color: oklch(40.3% 0.105 143.1);
Tailwind
colors: {
custom: {
50: '#62865c',
500: '#1f561e',
950: '#000000',
},
}SCSS
$custom: #1f561e; $custom-light: #62865c; $custom-dark: #000000;
JSON
{
"hex": "#1f561e",
"rgb": {
"r": 31,
"g": 86,
"b": 30
},
"hsl": {
"h": 118.929,
"s": 48.276,
"l": 22.745
},
"oklch": {
"l": 0.40265,
"c": 0.10451,
"h": 143.1
},
"luminance": 0.07041
}Semantic roles & 50–950 ramp
primary
#1F561E
secondary
#8A458B
accent
#50D8D5
background
#F6F8F5
surface
#EBEFE9
border
#C6CAC5
text
#050B04
muted
#7A7C79