#1F520E#1F520E
#1F520E is a dark, moderate green. Relative luminance 0.064; OKLCH L 38.9% C 0.111 H 139.3°. Best body text is #FFFFFF at 9.24:1 contrast (WCAG AA passes).
Color values
| HEX | #1F520E |
|---|---|
| RGB | rgb(31, 82, 14) |
| HSL | hsl(105, 71%, 19%) |
| HSV | hsv(105, 83%, 32%) |
| CMYK | cmyk(62.2%, 0%, 82.9%, 67.8%) |
| CIE-LAB | lab(30.30, -30.69, 32.42) |
| CIE-LCH | lch(30.30, 44.64, 133.43°) |
| OKLab | oklab(38.9% -0.0845 0.0726) |
| OKLCH | oklch(38.9% 0.111 139.3) |
| XYZ | xyz(3.6615, 6.3573, 1.4495) |
| Luminance | 0.0636 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Forest
#0B5509
ΔE00 2.32
Bottle Green
#044A05
ΔE00 3.27
Deep Green
#02590F
ΔE00 3.51
Darkgreen (survey)
#054907
ΔE00 3.52
British Racing Green
#05480D
ΔE00 4.13
Racing Green
#014600
ΔE00 4.27
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F520E #410E52
analogous
#41520E #1F520E #0E521F
triadic
#1F520E #0E1F52 #520E1F
tetradic
#1F520E #0E4152 #410E52 #521F0E
square
#1F520E #0E4152 #410E52 #521F0E
split-complementary
#1F520E #1F0E52 #520E41
monochromatic
#0A1A04 #0B1E05 #1F520E #338617 #47BB20
Accessibility & contrast
On white
9.24
#1F520E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.27
#1F520E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1F520E
9.24:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F520E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F520E | 1.00 | 9.24 | 2.27 | 9.24 |
| #FFFFFF | 9.24 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.27 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.24 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#554A02
Deuteranopia (green-blind)
#4E4615
Tritanopia (blue-blind)
#194F45
Achromatopsia (no color)
#474747
Design tokens & code
CSS
--color: #1f520e; /* rgb */ color: rgb(31, 82, 14); /* oklch */ color: oklch(38.9% 0.111 139.3);
Tailwind
colors: {
custom: {
50: '#628352',
500: '#1f520e',
950: '#000000',
},
}SCSS
$custom: #1f520e; $custom-light: #628352; $custom-dark: #000000;
JSON
{
"hex": "#1f520e",
"rgb": {
"r": 31,
"g": 82,
"b": 14
},
"hsl": {
"h": 105,
"s": 70.833,
"l": 18.824
},
"oklch": {
"l": 0.38896,
"c": 0.11139,
"h": 139.3
},
"luminance": 0.06358
}Semantic roles & 50–950 ramp
primary
#1F520E
secondary
#752F8C
accent
#3AEEC1
background
#F6F8F4
surface
#EBEFE7
border
#C6CAC3
text
#050B02
muted
#7A7C78