#1F5310#1F5310
#1F5310 is a dark, moderate green. Relative luminance 0.065; OKLCH L 39.2% C 0.111 H 139.7°. Best body text is #FFFFFF at 9.12:1 contrast (WCAG AA passes).
Color values
| HEX | #1F5310 |
|---|---|
| RGB | rgb(31, 83, 16) |
| HSL | hsl(107, 68%, 19%) |
| HSV | hsv(107, 81%, 33%) |
| CMYK | cmyk(62.7%, 0%, 80.7%, 67.5%) |
| CIE-LAB | lab(30.68, -30.95, 32.01) |
| CIE-LCH | lch(30.68, 44.52, 134.04°) |
| OKLab | oklab(39.21% -0.085 0.0721) |
| OKLCH | oklch(39.21% 0.111 139.7) |
| XYZ | xyz(3.7517, 6.5149, 1.5499) |
| Luminance | 0.0651 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Forest
#0B5509
ΔE00 2.17
Deep Green
#02590F
ΔE00 3.25
Bottle Green
#044A05
ΔE00 3.44
Darkgreen (survey)
#054907
ΔE00 3.68
Forest Green
#2D5A27
ΔE00 4.15
British Racing Green
#05480D
ΔE00 4.24
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F5310 #441053
analogous
#415310 #1F5310 #105323
triadic
#1F5310 #101F53 #53101F
tetradic
#1F5310 #104153 #441053 #532310
square
#1F5310 #104153 #441053 #532310
split-complementary
#1F5310 #231053 #531041
monochromatic
#0A1A05 #0C2006 #1F5310 #32861A #45BA24
Accessibility & contrast
On white
9.12
#1F5310 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.30
#1F5310 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1F5310
9.12:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F5310 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F5310 | 1.00 | 9.12 | 2.30 | 9.12 |
| #FFFFFF | 9.12 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.30 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.12 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#564B04
Deuteranopia (green-blind)
#4F4717
Tritanopia (blue-blind)
#195046
Achromatopsia (no color)
#484848
Design tokens & code
CSS
--color: #1f5310; /* rgb */ color: rgb(31, 83, 16); /* oklch */ color: oklch(39.2% 0.111 139.7);
Tailwind
colors: {
custom: {
50: '#628453',
500: '#1f5310',
950: '#000000',
},
}SCSS
$custom: #1f5310; $custom-light: #628453; $custom-dark: #000000;
JSON
{
"hex": "#1f5310",
"rgb": {
"r": 31,
"g": 83,
"b": 16
},
"hsl": {
"h": 106.567,
"s": 67.677,
"l": 19.412
},
"oklch": {
"l": 0.39214,
"c": 0.11147,
"h": 139.7
},
"luminance": 0.06515
}Semantic roles & 50–950 ramp
primary
#1F5310
secondary
#78328D
accent
#3DEBC4
background
#F6F8F4
surface
#EBEFE8
border
#C6CAC4
text
#050B03
muted
#7A7C78