#1F520F#1F520F
#1F520F is a dark, moderate green. Relative luminance 0.064; OKLCH L 38.9% C 0.111 H 139.5°. Best body text is #FFFFFF at 9.24:1 contrast (WCAG AA passes).
Color values
| HEX | #1F520F |
|---|---|
| RGB | rgb(31, 82, 15) |
| HSL | hsl(106, 69%, 19%) |
| HSV | hsv(106, 82%, 32%) |
| CMYK | cmyk(62.2%, 0%, 81.7%, 67.8%) |
| CIE-LAB | lab(30.30, -30.61, 32.04) |
| CIE-LCH | lch(30.30, 44.31, 133.70°) |
| OKLab | oklab(38.9% -0.0842 0.072) |
| OKLCH | oklch(38.9% 0.111 139.5) |
| XYZ | xyz(3.6684, 6.3601, 1.4861) |
| Luminance | 0.0636 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Forest
#0B5509
ΔE00 2.34
Bottle Green
#044A05
ΔE00 3.25
Darkgreen (survey)
#054907
ΔE00 3.48
Deep Green
#02590F
ΔE00 3.50
British Racing Green
#05480D
ΔE00 4.06
Forest Green (survey)
#06470C
ΔE00 4.21
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F520F #420F52
analogous
#41520F #1F520F #0F5221
triadic
#1F520F #0F1F52 #520F1F
tetradic
#1F520F #0F4152 #420F52 #52210F
square
#1F520F #0F4152 #420F52 #52210F
split-complementary
#1F520F #210F52 #520F41
monochromatic
#0A1A05 #0B1E06 #1F520F #338618 #46B922
Accessibility & contrast
On white
9.24
#1F520F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.27
#1F520F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1F520F
9.24:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F520F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F520F | 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)
#554A03
Deuteranopia (green-blind)
#4E4616
Tritanopia (blue-blind)
#194F45
Achromatopsia (no color)
#474747
Design tokens & code
CSS
--color: #1f520f; /* rgb */ color: rgb(31, 82, 15); /* oklch */ color: oklch(38.9% 0.111 139.5);
Tailwind
colors: {
custom: {
50: '#628353',
500: '#1f520f',
950: '#000000',
},
}SCSS
$custom: #1f520f; $custom-light: #628353; $custom-dark: #000000;
JSON
{
"hex": "#1f520f",
"rgb": {
"r": 31,
"g": 82,
"b": 15
},
"hsl": {
"h": 105.672,
"s": 69.072,
"l": 19.02
},
"oklch": {
"l": 0.38904,
"c": 0.11076,
"h": 139.5
},
"luminance": 0.0636
}Semantic roles & 50–950 ramp
primary
#1F520F
secondary
#76318C
accent
#3CECC2
background
#F6F8F4
surface
#EBEFE7
border
#C6CAC3
text
#050B02
muted
#7A7C78