#1F5210#1F5210
#1F5210 is a dark, moderate green. Relative luminance 0.064; OKLCH L 38.9% C 0.110 H 139.6°. Best body text is #FFFFFF at 9.24:1 contrast (WCAG AA passes).
Color values
| HEX | #1F5210 |
|---|---|
| RGB | rgb(31, 82, 16) |
| HSL | hsl(106, 67%, 19%) |
| HSV | hsv(106, 80%, 32%) |
| CMYK | cmyk(62.2%, 0%, 80.5%, 67.8%) |
| CIE-LAB | lab(30.31, -30.53, 31.64) |
| CIE-LCH | lch(30.31, 43.97, 133.98°) |
| OKLab | oklab(38.91% -0.0839 0.0713) |
| OKLCH | oklch(38.91% 0.11 139.6) |
| XYZ | xyz(3.6757, 6.3630, 1.5246) |
| Luminance | 0.0636 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Forest
#0B5509
ΔE00 2.37
Bottle Green
#044A05
ΔE00 3.24
Darkgreen (survey)
#054907
ΔE00 3.45
Deep Green
#02590F
ΔE00 3.50
British Racing Green
#05480D
ΔE00 3.99
Forest Green (survey)
#06470C
ΔE00 4.15
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F5210 #431052
analogous
#405210 #1F5210 #105222
triadic
#1F5210 #101F52 #52101F
tetradic
#1F5210 #104052 #431052 #522210
square
#1F5210 #104052 #431052 #522210
split-complementary
#1F5210 #221052 #521040
monochromatic
#0A1A05 #0C1F06 #1F5210 #32851A #46B824
Accessibility & contrast
On white
9.24
#1F5210 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.27
#1F5210 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1F5210
9.24:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F5210 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F5210 | 1.00 | 9.24 | 2.27 | 9.24 |
| #FFFFFF | 9.24 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.27 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.24 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#554A04
Deuteranopia (green-blind)
#4E4617
Tritanopia (blue-blind)
#194F45
Achromatopsia (no color)
#474747
Design tokens & code
CSS
--color: #1f5210; /* rgb */ color: rgb(31, 82, 16); /* oklch */ color: oklch(38.9% 0.110 139.6);
Tailwind
colors: {
custom: {
50: '#628353',
500: '#1f5210',
950: '#000000',
},
}SCSS
$custom: #1f5210; $custom-light: #628353; $custom-dark: #000000;
JSON
{
"hex": "#1f5210",
"rgb": {
"r": 31,
"g": 82,
"b": 16
},
"hsl": {
"h": 106.364,
"s": 67.347,
"l": 19.216
},
"oklch": {
"l": 0.38912,
"c": 0.11011,
"h": 139.6
},
"luminance": 0.06363
}Semantic roles & 50–950 ramp
primary
#1F5210
secondary
#77328C
accent
#3EEAC3
background
#F6F8F4
surface
#EBEFE7
border
#C6CAC3
text
#050A03
muted
#7A7C78