#1F540F#1F540F
#1F540F is a dark, moderate green. Relative luminance 0.067; OKLCH L 39.5% C 0.113 H 139.6°. Best body text is #FFFFFF at 9.00:1 contrast (WCAG AA passes).
Color values
| HEX | #1F540F |
|---|---|
| RGB | rgb(31, 84, 15) |
| HSL | hsl(106, 70%, 19%) |
| HSV | hsv(106, 82%, 33%) |
| CMYK | cmyk(63.1%, 0%, 82.1%, 67.1%) |
| CIE-LAB | lab(31.03, -31.44, 32.76) |
| CIE-LCH | lch(31.03, 45.41, 133.83°) |
| OKLab | oklab(39.51% -0.0864 0.0735) |
| OKLCH | oklch(39.51% 0.113 139.6) |
| XYZ | xyz(3.8215, 6.6661, 1.5372) |
| Luminance | 0.0667 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Forest
#0B5509
ΔE00 1.99
Deep Green
#02590F
ΔE00 3.03
Bottle Green
#044A05
ΔE00 3.68
Darkgreen (survey)
#054907
ΔE00 3.96
Forest Green
#2D5A27
ΔE00 4.22
British Racing Green
#05480D
ΔE00 4.57
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F540F #440F54
analogous
#42540F #1F540F #0F5422
triadic
#1F540F #0F1F54 #540F1F
tetradic
#1F540F #0F4254 #440F54 #54220F
square
#1F540F #0F4254 #440F54 #54220F
split-complementary
#1F540F #220F54 #540F42
monochromatic
#0A1A05 #0C2006 #1F540F #328818 #45BC22
Accessibility & contrast
On white
9.00
#1F540F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.33
#1F540F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1F540F
9.00:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F540F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F540F | 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)
#574C02
Deuteranopia (green-blind)
#504716
Tritanopia (blue-blind)
#195147
Achromatopsia (no color)
#494949
Design tokens & code
CSS
--color: #1f540f; /* rgb */ color: rgb(31, 84, 15); /* oklch */ color: oklch(39.5% 0.113 139.6);
Tailwind
colors: {
custom: {
50: '#628553',
500: '#1f540f',
950: '#000000',
},
}SCSS
$custom: #1f540f; $custom-light: #628553; $custom-dark: #000000;
JSON
{
"hex": "#1f540f",
"rgb": {
"r": 31,
"g": 84,
"b": 15
},
"hsl": {
"h": 106.087,
"s": 69.697,
"l": 19.412
},
"oklch": {
"l": 0.39508,
"c": 0.11344,
"h": 139.6
},
"luminance": 0.06666
}Semantic roles & 50–950 ramp
primary
#1F540F
secondary
#78318E
accent
#3BEDC3
background
#F6F8F4
surface
#EBEFE7
border
#C6CAC3
text
#060B03
muted
#7A7C78