#1F5710#1F5710
#1F5710 is a dark, moderate green. Relative luminance 0.071; OKLCH L 40.4% C 0.117 H 140.0°. Best body text is #FFFFFF at 8.65:1 contrast (WCAG AA passes).
Color values
| HEX | #1F5710 |
|---|---|
| RGB | rgb(31, 87, 16) |
| HSL | hsl(107, 69%, 20%) |
| HSV | hsv(107, 82%, 34%) |
| CMYK | cmyk(64.4%, 0%, 81.6%, 65.9%) |
| CIE-LAB | lab(32.13, -32.60, 33.45) |
| CIE-LCH | lch(32.13, 46.70, 134.26°) |
| OKLab | oklab(40.42% -0.0895 0.0751) |
| OKLCH | oklch(40.42% 0.117 140) |
| XYZ | xyz(4.0666, 7.1447, 1.6549) |
| Luminance | 0.0714 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Forest
#0B5509
ΔE00 1.85
Deep Green
#02590F
ΔE00 2.48
Forest Green
#2D5A27
ΔE00 4.11
Bottle Green
#044A05
ΔE00 4.43
Darkgreen (survey)
#054907
ΔE00 4.74
Navy Green
#35530A
ΔE00 4.89
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F5710 #481057
analogous
#425710 #1F5710 #105724
triadic
#1F5710 #101F57 #57101F
tetradic
#1F5710 #104257 #481057 #572410
square
#1F5710 #104257 #481057 #572410
split-complementary
#1F5710 #241057 #571042
monochromatic
#091A05 #0D2306 #1F5710 #318B1A #44BE23
Accessibility & contrast
On white
8.65
#1F5710 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.43
#1F5710 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1F5710
8.65:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F5710 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F5710 | 1.00 | 8.65 | 2.43 | 8.65 |
| #FFFFFF | 8.65 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.43 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.65 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5A4E03
Deuteranopia (green-blind)
#534A18
Tritanopia (blue-blind)
#185449
Achromatopsia (no color)
#4C4C4C
Design tokens & code
CSS
--color: #1f5710; /* rgb */ color: rgb(31, 87, 16); /* oklch */ color: oklch(40.4% 0.117 140.0);
Tailwind
colors: {
custom: {
50: '#638754',
500: '#1f5710',
950: '#000000',
},
}SCSS
$custom: #1f5710; $custom-light: #638754; $custom-dark: #000000;
JSON
{
"hex": "#1f5710",
"rgb": {
"r": 31,
"g": 87,
"b": 16
},
"hsl": {
"h": 107.324,
"s": 68.932,
"l": 20.196
},
"oklch": {
"l": 0.40418,
"c": 0.11681,
"h": 140
},
"luminance": 0.07145
}Semantic roles & 50–950 ramp
primary
#1F5710
secondary
#7D3290
accent
#3CECC7
background
#F6F8F5
surface
#EBEFE9
border
#C6CAC5
text
#060B03
muted
#7A7C78