#15540F#15540F
#15540F is a dark, moderate green. Relative luminance 0.065; OKLCH L 39.2% C 0.118 H 141.9°. Best body text is #FFFFFF at 9.10:1 contrast (WCAG AA passes).
Color values
| HEX | #15540F |
|---|---|
| RGB | rgb(21, 84, 15) |
| HSL | hsl(115, 70%, 19%) |
| HSV | hsv(115, 82%, 33%) |
| CMYK | cmyk(75%, 0%, 82.1%, 67.1%) |
| CIE-LAB | lab(30.72, -34.01, 32.34) |
| CIE-LCH | lch(30.72, 46.93, 136.44°) |
| OKLab | oklab(39.16% -0.0927 0.0727) |
| OKLCH | oklch(39.16% 0.118 141.9) |
| XYZ | xyz(3.5656, 6.5342, 1.5252) |
| Luminance | 0.0654 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Forest
#0B5509
ΔE00 1.07
Deep Green
#02590F
ΔE00 2.12
Bottle Green
#044A05
ΔE00 3.18
Darkgreen (survey)
#054907
ΔE00 3.49
British Racing Green
#05480D
ΔE00 4.06
Forest Green (survey)
#06470C
ΔE00 4.30
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#15540F #4E0F54
analogous
#38540F #15540F #0F542C
triadic
#15540F #0F1554 #540F15
tetradic
#15540F #0F3854 #4E0F54 #542C0F
square
#15540F #0F3854 #4E0F54 #542C0F
split-complementary
#15540F #2C0F54 #540F38
monochromatic
#061A05 #082006 #15540F #228818 #2FBC22
Accessibility & contrast
On white
9.10
#15540F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.31
#15540F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #15540F
9.10:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##15540F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##15540F | 1.00 | 9.10 | 2.31 | 9.10 |
| #FFFFFF | 9.10 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.31 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.10 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#564B02
Deuteranopia (green-blind)
#4F4617
Tritanopia (blue-blind)
#065147
Achromatopsia (no color)
#484848
Design tokens & code
CSS
--color: #15540f; /* rgb */ color: rgb(21, 84, 15); /* oklch */ color: oklch(39.2% 0.118 141.9);
Tailwind
colors: {
custom: {
50: '#5e8553',
500: '#15540f',
950: '#000000',
},
}SCSS
$custom: #15540f; $custom-light: #5e8553; $custom-dark: #000000;
JSON
{
"hex": "#15540f",
"rgb": {
"r": 21,
"g": 84,
"b": 15
},
"hsl": {
"h": 114.783,
"s": 69.697,
"l": 19.412
},
"oklch": {
"l": 0.3916,
"c": 0.1178,
"h": 141.9
},
"luminance": 0.06535
}Semantic roles & 50–950 ramp
primary
#15540F
secondary
#86318E
accent
#3BEDDD
background
#F5F8F4
surface
#EAEFE7
border
#C6CAC3
text
#050B03
muted
#797C78