#1F520D#1F520D
#1F520D is a dark, moderate green. Relative luminance 0.064; OKLCH L 38.9% C 0.112 H 139.2°. Best body text is #FFFFFF at 9.25:1 contrast (WCAG AA passes).
Color values
| HEX | #1F520D |
|---|---|
| RGB | rgb(31, 82, 13) |
| HSL | hsl(104, 73%, 19%) |
| HSV | hsv(104, 84%, 32%) |
| CMYK | cmyk(62.2%, 0%, 84.1%, 67.8%) |
| CIE-LAB | lab(30.29, -30.76, 32.79) |
| CIE-LCH | lch(30.29, 44.96, 133.17°) |
| OKLab | oklab(38.89% -0.0847 0.0732) |
| OKLCH | oklch(38.89% 0.112 139.2) |
| XYZ | xyz(3.6549, 6.3546, 1.4147) |
| Luminance | 0.0635 (WCAG relative) |
| Temperature | warm |
| Family | green |
Closest named colors
Forest
#0B5509
ΔE00 2.31
Bottle Green
#044A05
ΔE00 3.29
Deep Green
#02590F
ΔE00 3.53
Darkgreen (survey)
#054907
ΔE00 3.56
British Racing Green
#05480D
ΔE00 4.20
Racing Green
#014600
ΔE00 4.28
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F520D #400D52
analogous
#41520D #1F520D #0D521D
triadic
#1F520D #0D1F52 #520D1F
tetradic
#1F520D #0D4152 #400D52 #521D0D
square
#1F520D #0D4152 #400D52 #521D0D
split-complementary
#1F520D #1D0D52 #520D41
monochromatic
#0A1A04 #0B1D05 #1F520D #338715 #47BC1E
Accessibility & contrast
On white
9.25
#1F520D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.27
#1F520D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1F520D
9.25:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F520D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F520D | 1.00 | 9.25 | 2.27 | 9.25 |
| #FFFFFF | 9.25 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.27 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.25 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#554A00
Deuteranopia (green-blind)
#4E4615
Tritanopia (blue-blind)
#194F45
Achromatopsia (no color)
#474747
Design tokens & code
CSS
--color: #1f520d; /* rgb */ color: rgb(31, 82, 13); /* oklch */ color: oklch(38.9% 0.112 139.2);
Tailwind
colors: {
custom: {
50: '#628352',
500: '#1f520d',
950: '#000000',
},
}SCSS
$custom: #1f520d; $custom-light: #628352; $custom-dark: #000000;
JSON
{
"hex": "#1f520d",
"rgb": {
"r": 31,
"g": 82,
"b": 13
},
"hsl": {
"h": 104.348,
"s": 72.632,
"l": 18.627
},
"oklch": {
"l": 0.38889,
"c": 0.11199,
"h": 139.2
},
"luminance": 0.06355
}Semantic roles & 50–950 ramp
primary
#1F520D
secondary
#742E8D
accent
#38EFC0
background
#F6F8F4
surface
#EBEFE7
border
#C6CAC3
text
#050B02
muted
#7A7C78