#15521F#15521F

#15521F is a dark, moderate green. Relative luminance 0.063; OKLCH L 38.7% C 0.102 H 146.0°. Best body text is #FFFFFF at 9.30:1 contrast (WCAG AA passes).

Color values

HEX#15521F
RGBrgb(21, 82, 31)
HSLhsl(130, 59%, 20%)
HSVhsv(130, 74%, 32%)
CMYKcmyk(74.4%, 0%, 62.2%, 67.8%)
CIE-LABlab(30.14, -31.37, 24.09)
CIE-LCHlch(30.14, 39.55, 142.48°)
OKLaboklab(38.73% -0.0847 0.0572)
OKLCHoklch(38.73% 0.102 146)
XYZxyz(3.5736, 6.2926, 2.3223)
Luminance0.0629 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#15521F #521548
analogous
#295215 #15521F #15523D
triadic
#15521F #1F1552 #521F15
tetradic
#15521F #152952 #521548 #523D15
square
#15521F #152952 #521548 #523D15
split-complementary
#15521F #3D1552 #521529
monochromatic
#061809 #09210D #15521F #218331 #2EB344

Accessibility & contrast

On white

9.30
#15521F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#15521F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #15521F
9.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##15521F#FFFFFF#000000##FFFFFF
##15521F1.009.302.269.30
#FFFFFF9.301.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#534A1A
Deuteranopia (green-blind)
#4C4523
Tritanopia (blue-blind)
#025047
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #15521f;
/* rgb */ color: rgb(21, 82, 31);
/* oklch */ color: oklch(38.7% 0.102 146.0);
Tailwind
colors: {
  custom: {
    50: '#5c835c',
    500: '#15521f',
    950: '#000000',
  },
}
SCSS
$custom: #15521f;
$custom-light: #5c835c;
$custom-dark: #000000;
JSON
{
  "hex": "#15521f",
  "rgb": {
    "r": 21,
    "g": 82,
    "b": 31
  },
  "hsl": {
    "h": 129.836,
    "s": 59.223,
    "l": 20.196
  },
  "oklch": {
    "l": 0.38727,
    "c": 0.1022,
    "h": 146
  },
  "luminance": 0.06293
}

Semantic roles & 50–950 ramp

primary
#15521F
secondary
#8A397D
accent
#45C9E2
background
#F5F8F5
surface
#E9EFE9
border
#C5CAC5
text
#040B04
muted
#797C79

Preview Lab

Preview with #15521F

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

Preview Lab → · Contrast checker → · Palette generator →

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