#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
RGBrgb(21, 84, 15)
HSLhsl(115, 70%, 19%)
HSVhsv(115, 82%, 33%)
CMYKcmyk(75%, 0%, 82.1%, 67.1%)
CIE-LABlab(30.72, -34.01, 32.34)
CIE-LCHlch(30.72, 46.93, 136.44°)
OKLaboklab(39.16% -0.0927 0.0727)
OKLCHoklch(39.16% 0.118 141.9)
XYZxyz(3.5656, 6.5342, 1.5252)
Luminance0.0654 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

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
##15540F1.009.102.319.10
#FFFFFF9.101.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.101.0021.001.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

Preview Lab

Preview with #15540F

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#15540F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva