#1F510F#1F510F
#1F510F is a dark, moderate green. Relative luminance 0.062; OKLCH L 38.6% C 0.109 H 139.4°. Best body text is #FFFFFF at 9.37:1 contrast (WCAG AA passes).
Color values
| HEX | #1F510F |
|---|---|
| RGB | rgb(31, 81, 15) |
| HSL | hsl(105, 69%, 19%) |
| HSV | hsv(105, 81%, 32%) |
| CMYK | cmyk(61.7%, 0%, 81.5%, 68.2%) |
| CIE-LAB | lab(29.94, -30.19, 31.67) |
| CIE-LCH | lch(29.94, 43.76, 133.62°) |
| OKLab | oklab(38.6% -0.0831 0.0712) |
| OKLCH | oklch(38.6% 0.109 139.4) |
| XYZ | xyz(3.5936, 6.2103, 1.4612) |
| Luminance | 0.0621 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Forest
#0B5509
ΔE00 2.57
Bottle Green
#044A05
ΔE00 3.07
Darkgreen (survey)
#054907
ΔE00 3.27
Deep Green
#02590F
ΔE00 3.77
British Racing Green
#05480D
ΔE00 3.82
Forest Green (survey)
#06470C
ΔE00 3.96
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F510F #410F51
analogous
#40510F #1F510F #0F5120
triadic
#1F510F #0F1F51 #510F1F
tetradic
#1F510F #0F4051 #410F51 #51200F
square
#1F510F #0F4051 #410F51 #51200F
split-complementary
#1F510F #200F51 #510F40
monochromatic
#0A1A05 #0B1D05 #1F510F #338519 #47B822
Accessibility & contrast
On white
9.37
#1F510F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.24
#1F510F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1F510F
9.37:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F510F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F510F | 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)
#544903
Deuteranopia (green-blind)
#4D4516
Tritanopia (blue-blind)
#1A4E44
Achromatopsia (no color)
#464646
Design tokens & code
CSS
--color: #1f510f; /* rgb */ color: rgb(31, 81, 15); /* oklch */ color: oklch(38.6% 0.109 139.4);
Tailwind
colors: {
custom: {
50: '#618253',
500: '#1f510f',
950: '#000000',
},
}SCSS
$custom: #1f510f; $custom-light: #618253; $custom-dark: #000000;
JSON
{
"hex": "#1f510f",
"rgb": {
"r": 31,
"g": 81,
"b": 15
},
"hsl": {
"h": 105.455,
"s": 68.75,
"l": 18.824
},
"oklch": {
"l": 0.38601,
"c": 0.10941,
"h": 139.4
},
"luminance": 0.06211
}Semantic roles & 50–950 ramp
primary
#1F510F
secondary
#75318B
accent
#3CECC1
background
#F6F8F4
surface
#EBEFE7
border
#C6CAC3
text
#050A02
muted
#7A7C78