#1F510D#1F510D
#1F510D is a dark, moderate green. Relative luminance 0.062; OKLCH L 38.6% C 0.111 H 139.1°. Best body text is #FFFFFF at 9.37:1 contrast (WCAG AA passes).
Color values
| HEX | #1F510D |
|---|---|
| RGB | rgb(31, 81, 13) |
| HSL | hsl(104, 72%, 18%) |
| HSV | hsv(104, 84%, 32%) |
| CMYK | cmyk(61.7%, 0%, 84%, 68.2%) |
| CIE-LAB | lab(29.92, -30.34, 32.44) |
| CIE-LCH | lch(29.92, 44.42, 133.09°) |
| OKLab | oklab(38.59% -0.0836 0.0725) |
| OKLCH | oklch(38.59% 0.111 139.1) |
| XYZ | xyz(3.5800, 6.2049, 1.3897) |
| Luminance | 0.0621 (WCAG relative) |
| Temperature | warm |
| Family | green |
Closest named colors
Forest
#0B5509
ΔE00 2.53
Bottle Green
#044A05
ΔE00 3.11
Darkgreen (survey)
#054907
ΔE00 3.34
Deep Green
#02590F
ΔE00 3.78
British Racing Green
#05480D
ΔE00 3.97
Racing Green
#014600
ΔE00 4.05
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F510D #3F0D51
analogous
#41510D #1F510D #0D511D
triadic
#1F510D #0D1F51 #510D1F
tetradic
#1F510D #0D4151 #3F0D51 #511D0D
square
#1F510D #0D4151 #3F0D51 #511D0D
split-complementary
#1F510D #1D0D51 #510D41
monochromatic
#0A1A04 #0B1C05 #1F510D #338615 #47BA1E
Accessibility & contrast
On white
9.37
#1F510D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.24
#1F510D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1F510D
9.37:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F510D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F510D | 1.00 | 9.37 | 2.24 | 9.37 |
| #FFFFFF | 9.37 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.24 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.37 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#544901
Deuteranopia (green-blind)
#4D4515
Tritanopia (blue-blind)
#1A4E44
Achromatopsia (no color)
#464646
Design tokens & code
CSS
--color: #1f510d; /* rgb */ color: rgb(31, 81, 13); /* oklch */ color: oklch(38.6% 0.111 139.1);
Tailwind
colors: {
custom: {
50: '#628252',
500: '#1f510d',
950: '#000000',
},
}SCSS
$custom: #1f510d; $custom-light: #628252; $custom-dark: #000000;
JSON
{
"hex": "#1f510d",
"rgb": {
"r": 31,
"g": 81,
"b": 13
},
"hsl": {
"h": 104.118,
"s": 72.34,
"l": 18.431
},
"oklch": {
"l": 0.38586,
"c": 0.11065,
"h": 139.1
},
"luminance": 0.06205
}Semantic roles & 50–950 ramp
primary
#1F510D
secondary
#732E8C
accent
#39EFBF
background
#F6F8F4
surface
#EBEFE7
border
#C6CAC3
text
#050A02
muted
#7A7C78