#1F520B#1F520B
#1F520B is a dark, moderate green. Relative luminance 0.064; OKLCH L 38.9% C 0.113 H 138.9°. Best body text is #FFFFFF at 9.25:1 contrast (WCAG AA passes).
Color values
| HEX | #1F520B |
|---|---|
| RGB | rgb(31, 82, 11) |
| HSL | hsl(103, 76%, 18%) |
| HSV | hsv(103, 87%, 32%) |
| CMYK | cmyk(62.2%, 0%, 86.6%, 67.8%) |
| CIE-LAB | lab(30.28, -30.90, 33.50) |
| CIE-LCH | lch(30.28, 45.57, 132.69°) |
| OKLab | oklab(38.88% -0.0852 0.0744) |
| OKLCH | oklch(38.88% 0.113 138.9) |
| XYZ | xyz(3.6426, 6.3497, 1.3502) |
| Luminance | 0.0635 (WCAG relative) |
| Temperature | warm |
| Family | green |
Closest named colors
Forest
#0B5509
ΔE00 2.32
Bottle Green
#044A05
ΔE00 3.36
Deep Green
#02590F
ΔE00 3.58
Darkgreen (survey)
#054907
ΔE00 3.65
Navy Green
#35530A
ΔE00 4.28
Racing Green
#014600
ΔE00 4.31
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F520B #3E0B52
analogous
#42520B #1F520B #0B521B
triadic
#1F520B #0B1F52 #520B1F
tetradic
#1F520B #0B4252 #3E0B52 #521B0B
square
#1F520B #0B4252 #3E0B52 #521B0B
split-complementary
#1F520B #1B0B52 #520B42
monochromatic
#0A1B04 #0B1C04 #1F520B #338812 #48BE19
Accessibility & contrast
On white
9.25
#1F520B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.27
#1F520B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1F520B
9.25:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F520B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F520B | 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)
#4E4613
Tritanopia (blue-blind)
#1A4F45
Achromatopsia (no color)
#474747
Design tokens & code
CSS
--color: #1f520b; /* rgb */ color: rgb(31, 82, 11); /* oklch */ color: oklch(38.9% 0.113 138.9);
Tailwind
colors: {
custom: {
50: '#628351',
500: '#1f520b',
950: '#000000',
},
}SCSS
$custom: #1f520b; $custom-light: #628351; $custom-dark: #000000;
JSON
{
"hex": "#1f520b",
"rgb": {
"r": 31,
"g": 82,
"b": 11
},
"hsl": {
"h": 103.099,
"s": 76.344,
"l": 18.235
},
"oklch": {
"l": 0.38875,
"c": 0.11312,
"h": 138.9
},
"luminance": 0.0635
}Semantic roles & 50–950 ramp
primary
#1F520B
secondary
#722B8E
accent
#35F3BD
background
#F6F8F4
surface
#EBEFE7
border
#C6CAC3
text
#050B02
muted
#7A7C78