#1A540F#1A540F
#1A540F is a dark, moderate green. Relative luminance 0.066; OKLCH L 39.3% C 0.116 H 140.9°. Best body text is #FFFFFF at 9.06:1 contrast (WCAG AA passes).
Color values
| HEX | #1A540F |
|---|---|
| RGB | rgb(26, 84, 15) |
| HSL | hsl(110, 70%, 19%) |
| HSV | hsv(110, 82%, 33%) |
| CMYK | cmyk(69%, 0%, 82.1%, 67.1%) |
| CIE-LAB | lab(30.87, -32.82, 32.53) |
| CIE-LCH | lch(30.87, 46.21, 135.25°) |
| OKLab | oklab(39.32% -0.0898 0.0731) |
| OKLCH | oklch(39.32% 0.116 140.9) |
| XYZ | xyz(3.6824, 6.5944, 1.5306) |
| Luminance | 0.0659 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Forest
#0B5509
ΔE00 1.43
Deep Green
#02590F
ΔE00 2.50
Bottle Green
#044A05
ΔE00 3.37
Darkgreen (survey)
#054907
ΔE00 3.66
British Racing Green
#05480D
ΔE00 4.26
Forest Green
#2D5A27
ΔE00 4.34
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1A540F #490F54
analogous
#3D540F #1A540F #0F5427
triadic
#1A540F #0F1A54 #540F1A
tetradic
#1A540F #0F3D54 #490F54 #54270F
square
#1A540F #0F3D54 #490F54 #54270F
split-complementary
#1A540F #270F54 #540F3D
monochromatic
#081A05 #0A2006 #1A540F #2A8818 #3ABC22
Accessibility & contrast
On white
9.06
#1A540F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.32
#1A540F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1A540F
9.06:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1A540F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1A540F | 1.00 | 9.06 | 2.32 | 9.06 |
| #FFFFFF | 9.06 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.32 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.06 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#564C02
Deuteranopia (green-blind)
#4F4717
Tritanopia (blue-blind)
#105147
Achromatopsia (no color)
#494949
Design tokens & code
CSS
--color: #1a540f; /* rgb */ color: rgb(26, 84, 15); /* oklch */ color: oklch(39.3% 0.116 140.9);
Tailwind
colors: {
custom: {
50: '#608553',
500: '#1a540f',
950: '#000000',
},
}SCSS
$custom: #1a540f; $custom-light: #608553; $custom-dark: #000000;
JSON
{
"hex": "#1a540f",
"rgb": {
"r": 26,
"g": 84,
"b": 15
},
"hsl": {
"h": 110.435,
"s": 69.697,
"l": 19.412
},
"oklch": {
"l": 0.3932,
"c": 0.11576,
"h": 140.9
},
"luminance": 0.06595
}Semantic roles & 50–950 ramp
primary
#1A540F
secondary
#7F318E
accent
#3BEDD0
background
#F5F8F4
surface
#EAEFE7
border
#C6CAC3
text
#050B03
muted
#797C78