#155223#155223

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

Color values

HEX#155223
RGBrgb(21, 82, 35)
HSLhsl(134, 59%, 20%)
HSVhsv(134, 74%, 32%)
CMYKcmyk(74.4%, 0%, 57.3%, 67.8%)
CIE-LABlab(30.19, -30.73, 21.92)
CIE-LCHlch(30.19, 37.75, 144.50°)
OKLaboklab(38.79% -0.0829 0.0528)
OKLCHoklch(38.79% 0.098 147.5)
XYZxyz(3.6297, 6.3150, 2.6174)
Luminance0.0631 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#155223 #521544
analogous
#265215 #155223 #155241
triadic
#155223 #231552 #522315
tetradic
#155223 #152652 #521544 #524115
square
#155223 #152652 #521544 #524115
split-complementary
#155223 #411552 #521526
monochromatic
#06180A #09210E #155223 #218338 #2EB34D

Accessibility & contrast

On white

9.28
#155223 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #155223
9.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##155223#FFFFFF#000000##FFFFFF
##1552231.009.282.269.28
#FFFFFF9.281.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#534A1F
Deuteranopia (green-blind)
#4C4526
Tritanopia (blue-blind)
#005047
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #155223;
/* rgb */ color: rgb(21, 82, 35);
/* oklch */ color: oklch(38.8% 0.098 147.5);
Tailwind
colors: {
  custom: {
    50: '#5c835f',
    500: '#155223',
    950: '#000000',
  },
}
SCSS
$custom: #155223;
$custom-light: #5c835f;
$custom-dark: #000000;
JSON
{
  "hex": "#155223",
  "rgb": {
    "r": 21,
    "g": 82,
    "b": 35
  },
  "hsl": {
    "h": 133.77,
    "s": 59.223,
    "l": 20.196
  },
  "oklch": {
    "l": 0.3879,
    "c": 0.09824,
    "h": 147.5
  },
  "luminance": 0.06315
}

Semantic roles & 50–950 ramp

primary
#155223
secondary
#8A3977
accent
#45BEE2
background
#F5F8F5
surface
#E9EFE9
border
#C5CAC5
text
#040B04
muted
#797C79

Preview Lab

Preview with #155223

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

Preview Lab → · Contrast checker → · Palette generator →

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