#155221#155221

#155221 is a dark, moderate green. Relative luminance 0.063; OKLCH L 38.8% C 0.100 H 146.7°. Best body text is #FFFFFF at 9.29:1 contrast (WCAG AA passes).

Color values

HEX#155221
RGBrgb(21, 82, 33)
HSLhsl(132, 59%, 20%)
HSVhsv(132, 74%, 32%)
CMYKcmyk(74.4%, 0%, 59.8%, 67.8%)
CIE-LABlab(30.17, -31.06, 23.01)
CIE-LCHlch(30.17, 38.66, 143.46°)
OKLaboklab(38.76% -0.0838 0.055)
OKLCHoklch(38.76% 0.1 146.7)
XYZxyz(3.6008, 6.3034, 2.4655)
Luminance0.0630 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#155221 #521546
analogous
#285215 #155221 #15523F
triadic
#155221 #211552 #522115
tetradic
#155221 #152852 #521546 #523F15
square
#155221 #152852 #521546 #523F15
split-complementary
#155221 #3F1552 #521528
monochromatic
#06180A #09210D #155221 #218335 #2EB348

Accessibility & contrast

On white

9.29
#155221 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#155221 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #155221
9.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##155221#FFFFFF#000000##FFFFFF
##1552211.009.292.269.29
#FFFFFF9.291.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#534A1C
Deuteranopia (green-blind)
#4C4525
Tritanopia (blue-blind)
#015047
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #155221;
/* rgb */ color: rgb(21, 82, 33);
/* oklch */ color: oklch(38.8% 0.100 146.7);
Tailwind
colors: {
  custom: {
    50: '#5c835e',
    500: '#155221',
    950: '#000000',
  },
}
SCSS
$custom: #155221;
$custom-light: #5c835e;
$custom-dark: #000000;
JSON
{
  "hex": "#155221",
  "rgb": {
    "r": 21,
    "g": 82,
    "b": 33
  },
  "hsl": {
    "h": 131.803,
    "s": 59.223,
    "l": 20.196
  },
  "oklch": {
    "l": 0.38758,
    "c": 0.10025,
    "h": 146.7
  },
  "luminance": 0.06304
}

Semantic roles & 50–950 ramp

primary
#155221
secondary
#8A397A
accent
#45C4E2
background
#F5F8F5
surface
#E9EFE9
border
#C5CAC5
text
#040B04
muted
#797C79

Preview Lab

Preview with #155221

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

Preview Lab → · Contrast checker → · Palette generator →

#155221 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva