#1F540D#1F540D
#1F540D is a dark, moderate green. Relative luminance 0.067; OKLCH L 39.5% C 0.115 H 139.3°. Best body text is #FFFFFF at 9.00:1 contrast (WCAG AA passes).
Color values
| HEX | #1F540D |
|---|---|
| RGB | rgb(31, 84, 13) |
| HSL | hsl(105, 73%, 19%) |
| HSV | hsv(105, 85%, 33%) |
| CMYK | cmyk(63.1%, 0%, 84.5%, 67.1%) |
| CIE-LAB | lab(31.02, -31.59, 33.50) |
| CIE-LCH | lch(31.02, 46.04, 133.32°) |
| OKLab | oklab(39.49% -0.087 0.0747) |
| OKLCH | oklch(39.49% 0.115 139.3) |
| XYZ | xyz(3.8079, 6.6607, 1.4657) |
| Luminance | 0.0666 (WCAG relative) |
| Temperature | warm |
| Family | green |
Closest named colors
Forest
#0B5509
ΔE00 1.98
Deep Green
#02590F
ΔE00 3.08
Bottle Green
#044A05
ΔE00 3.73
Darkgreen (survey)
#054907
ΔE00 4.04
Forest Green
#2D5A27
ΔE00 4.46
Navy Green
#35530A
ΔE00 4.47
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F540D #420D54
analogous
#43540D #1F540D #0D541F
triadic
#1F540D #0D1F54 #540D1F
tetradic
#1F540D #0D4354 #420D54 #541F0D
square
#1F540D #0D4354 #420D54 #541F0D
split-complementary
#1F540D #1F0D54 #540D43
monochromatic
#0A1A04 #0B1F05 #1F540D #338915 #46BE1D
Accessibility & contrast
On white
9.00
#1F540D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.33
#1F540D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1F540D
9.00:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F540D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F540D | 1.00 | 9.00 | 2.33 | 9.00 |
| #FFFFFF | 9.00 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.33 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.00 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#574C00
Deuteranopia (green-blind)
#504715
Tritanopia (blue-blind)
#195147
Achromatopsia (no color)
#494949
Design tokens & code
CSS
--color: #1f540d; /* rgb */ color: rgb(31, 84, 13); /* oklch */ color: oklch(39.5% 0.115 139.3);
Tailwind
colors: {
custom: {
50: '#628552',
500: '#1f540d',
950: '#000000',
},
}SCSS
$custom: #1f540d; $custom-light: #628552; $custom-dark: #000000;
JSON
{
"hex": "#1f540d",
"rgb": {
"r": 31,
"g": 84,
"b": 13
},
"hsl": {
"h": 104.789,
"s": 73.196,
"l": 19.02
},
"oklch": {
"l": 0.39493,
"c": 0.11463,
"h": 139.3
},
"luminance": 0.06661
}Semantic roles & 50–950 ramp
primary
#1F540D
secondary
#762E8F
accent
#38F0C1
background
#F6F8F4
surface
#EBEFE7
border
#C6CAC3
text
#060B02
muted
#7A7C78