#1F5231#1F5231
#1F5231 is a dark, moderate green. Relative luminance 0.065; OKLCH L 39.4% C 0.078 H 152.6°. Best body text is #FFFFFF at 9.09:1 contrast (WCAG AA passes).
Color values
| HEX | #1F5231 |
|---|---|
| RGB | rgb(31, 82, 49) |
| HSL | hsl(141, 45%, 22%) |
| HSV | hsv(141, 62%, 32%) |
| CMYK | cmyk(62.2%, 0%, 40.2%, 67.8%) |
| CIE-LAB | lab(30.75, -25.65, 14.40) |
| CIE-LCH | lch(30.75, 29.41, 150.70°) |
| OKLab | oklab(39.42% -0.0696 0.036) |
| OKLCH | oklch(39.42% 0.078 152.6) |
| XYZ | xyz(4.1364, 6.5473, 3.9509) |
| Luminance | 0.0655 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Evergreen
#05472A
ΔE00 4.10
Pine
#2B5D34
ΔE00 4.16
Pine Green
#0A481E
ΔE00 4.55
Hunter Green
#355E3B
ΔE00 4.72
Spruce
#0A5F38
ΔE00 4.90
Forest Green
#2D5A27
ΔE00 5.82
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F5231 #521F40
analogous
#27521F #1F5231 #1F524B
triadic
#1F5231 #311F52 #52311F
tetradic
#1F5231 #1F2752 #521F40 #524B1F
square
#1F5231 #1F2752 #521F40 #524B1F
split-complementary
#1F5231 #4B1F52 #521F27
monochromatic
#08160D #0E2616 #1F5231 #307E4C #41AB66
Accessibility & contrast
On white
9.09
#1F5231 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.31
#1F5231 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1F5231
9.09:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F5231 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F5231 | 1.00 | 9.09 | 2.31 | 9.09 |
| #FFFFFF | 9.09 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.31 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.09 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#524B2F
Deuteranopia (green-blind)
#4B4633
Tritanopia (blue-blind)
#10514A
Achromatopsia (no color)
#484848
Design tokens & code
CSS
--color: #1f5231; /* rgb */ color: rgb(31, 82, 49); /* oklch */ color: oklch(39.4% 0.078 152.6);
Tailwind
colors: {
custom: {
50: '#608369',
500: '#1f5231',
950: '#000000',
},
}SCSS
$custom: #1f5231; $custom-light: #608369; $custom-dark: #000000;
JSON
{
"hex": "#1f5231",
"rgb": {
"r": 31,
"g": 82,
"b": 49
},
"hsl": {
"h": 141.176,
"s": 45.133,
"l": 22.157
},
"oklch": {
"l": 0.3942,
"c": 0.07833,
"h": 152.6
},
"luminance": 0.06548
}Semantic roles & 50–950 ramp
primary
#1F5231
secondary
#874670
accent
#53A7D5
background
#F5F8F6
surface
#EAEFEB
border
#C6CAC6
text
#050A06
muted
#797C7A