#155222#155222

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

Color values

HEX#155222
RGBrgb(21, 82, 34)
HSLhsl(133, 59%, 20%)
HSVhsv(133, 74%, 32%)
CMYKcmyk(74.4%, 0%, 58.5%, 67.8%)
CIE-LABlab(30.18, -30.90, 22.47)
CIE-LCHlch(30.18, 38.21, 143.97°)
OKLaboklab(38.77% -0.0833 0.0539)
OKLCHoklch(38.77% 0.099 147.1)
XYZxyz(3.6150, 6.3091, 2.5403)
Luminance0.0631 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#155222 #521545
analogous
#265215 #155222 #155240
triadic
#155222 #221552 #522215
tetradic
#155222 #152652 #521545 #524015
square
#155222 #152652 #521545 #524015
split-complementary
#155222 #401552 #521526
monochromatic
#06180A #09210E #155222 #218336 #2EB34A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##155222#FFFFFF#000000##FFFFFF
##1552221.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)
#534A1E
Deuteranopia (green-blind)
#4C4526
Tritanopia (blue-blind)
#005047
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #155222;
/* rgb */ color: rgb(21, 82, 34);
/* oklch */ color: oklch(38.8% 0.099 147.1);
Tailwind
colors: {
  custom: {
    50: '#5c835e',
    500: '#155222',
    950: '#000000',
  },
}
SCSS
$custom: #155222;
$custom-light: #5c835e;
$custom-dark: #000000;
JSON
{
  "hex": "#155222",
  "rgb": {
    "r": 21,
    "g": 82,
    "b": 34
  },
  "hsl": {
    "h": 132.787,
    "s": 59.223,
    "l": 20.196
  },
  "oklch": {
    "l": 0.38774,
    "c": 0.09925,
    "h": 147.1
  },
  "luminance": 0.0631
}

Semantic roles & 50–950 ramp

primary
#155222
secondary
#8A3979
accent
#45C1E2
background
#F5F8F5
surface
#E9EFE9
border
#C5CAC5
text
#040B04
muted
#797C79

Preview Lab

Preview with #155222

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

Preview Lab → · Contrast checker → · Palette generator →

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