#1F5311#1F5311
#1F5311 is a dark, moderate green. Relative luminance 0.065; OKLCH L 39.2% C 0.111 H 139.9°. Best body text is #FFFFFF at 9.12:1 contrast (WCAG AA passes).
Color values
| HEX | #1F5311 |
|---|---|
| RGB | rgb(31, 83, 17) |
| HSL | hsl(107, 66%, 20%) |
| HSV | hsv(107, 80%, 33%) |
| CMYK | cmyk(62.7%, 0%, 79.5%, 67.5%) |
| CIE-LAB | lab(30.68, -30.86, 31.60) |
| CIE-LCH | lch(30.68, 44.17, 134.32°) |
| OKLab | oklab(39.22% -0.0847 0.0714) |
| OKLCH | oklch(39.22% 0.111 139.9) |
| XYZ | xyz(3.7593, 6.5180, 1.5902) |
| Luminance | 0.0652 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Forest
#0B5509
ΔE00 2.21
Deep Green
#02590F
ΔE00 3.25
Bottle Green
#044A05
ΔE00 3.43
Darkgreen (survey)
#054907
ΔE00 3.66
Forest Green
#2D5A27
ΔE00 4.03
British Racing Green
#05480D
ΔE00 4.17
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F5311 #451153
analogous
#405311 #1F5311 #115324
triadic
#1F5311 #111F53 #53111F
tetradic
#1F5311 #114053 #451153 #532411
square
#1F5311 #114053 #451153 #532411
split-complementary
#1F5311 #241153 #531140
monochromatic
#091905 #0C2007 #1F5311 #32861B #45B926
Accessibility & contrast
On white
9.12
#1F5311 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.30
#1F5311 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1F5311
9.12:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F5311 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F5311 | 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)
#564B06
Deuteranopia (green-blind)
#4F4718
Tritanopia (blue-blind)
#195046
Achromatopsia (no color)
#484848
Design tokens & code
CSS
--color: #1f5311; /* rgb */ color: rgb(31, 83, 17); /* oklch */ color: oklch(39.2% 0.111 139.9);
Tailwind
colors: {
custom: {
50: '#628454',
500: '#1f5311',
950: '#000000',
},
}SCSS
$custom: #1f5311; $custom-light: #628454; $custom-dark: #000000;
JSON
{
"hex": "#1f5311",
"rgb": {
"r": 31,
"g": 83,
"b": 17
},
"hsl": {
"h": 107.273,
"s": 66,
"l": 19.608
},
"oklch": {
"l": 0.39222,
"c": 0.1108,
"h": 139.9
},
"luminance": 0.06518
}Semantic roles & 50–950 ramp
primary
#1F5311
secondary
#79348C
accent
#3FE9C5
background
#F6F8F5
surface
#EBEFE8
border
#C6CAC4
text
#050B03
muted
#7A7C78