#1F591C#1F591C
#1F591C is a dark, moderate green. Relative luminance 0.075; OKLCH L 41.1% C 0.111 H 142.5°. Best body text is #FFFFFF at 8.39:1 contrast (WCAG AA passes).
Color values
| HEX | #1F591C |
|---|---|
| RGB | rgb(31, 89, 28) |
| HSL | hsl(117, 52%, 23%) |
| HSV | hsv(117, 69%, 35%) |
| CMYK | cmyk(65.2%, 0%, 68.5%, 65.1%) |
| CIE-LAB | lab(32.96, -32.24, 28.96) |
| CIE-LCH | lch(32.96, 43.34, 138.06°) |
| OKLab | oklab(41.14% -0.0877 0.0673) |
| OKLCH | oklch(41.14% 0.111 142.5) |
| XYZ | xyz(4.3468, 7.5195, 2.3207) |
| Luminance | 0.0752 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Forest Green
#2D5A27
ΔE00 2.62
Deep Green
#02590F
ΔE00 2.65
Forest
#0B5509
ΔE00 2.85
Bottle Green
#044A05
ΔE00 5.10
Pine
#2B5D34
ΔE00 5.11
Darkgreen (survey)
#054907
ΔE00 5.27
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F591C #561C59
analogous
#3D591C #1F591C #1C5937
triadic
#1F591C #1C1F59 #591C1F
tetradic
#1F591C #1C3D59 #561C59 #59371C
square
#1F591C #1C3D59 #561C59 #59371C
split-complementary
#1F591C #371C59 #591C3D
monochromatic
#081707 #0F2A0D #1F591C #2F882B #3FB639
Accessibility & contrast
On white
8.39
#1F591C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.50
#1F591C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1F591C
8.39:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F591C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F591C | 1.00 | 8.39 | 2.50 | 8.39 |
| #FFFFFF | 8.39 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.50 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.39 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5B5115
Deuteranopia (green-blind)
#544C21
Tritanopia (blue-blind)
#15564C
Achromatopsia (no color)
#4E4E4E
Design tokens & code
CSS
--color: #1f591c; /* rgb */ color: rgb(31, 89, 28); /* oklch */ color: oklch(41.1% 0.111 142.5);
Tailwind
colors: {
custom: {
50: '#62885b',
500: '#1f591c',
950: '#000000',
},
}SCSS
$custom: #1f591c; $custom-light: #62885b; $custom-dark: #000000;
JSON
{
"hex": "#1f591c",
"rgb": {
"r": 31,
"g": 89,
"b": 28
},
"hsl": {
"h": 117.049,
"s": 52.137,
"l": 22.941
},
"oklch": {
"l": 0.41135,
"c": 0.1106,
"h": 142.5
},
"luminance": 0.0752
}Semantic roles & 50–950 ramp
primary
#1F591C
secondary
#8B428F
accent
#4CDCD5
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#060B04
muted
#7A7C79