#155228#155228

#155228 is a dark, moderate green. Relative luminance 0.063; OKLCH L 38.9% C 0.093 H 149.8°. Best body text is #FFFFFF at 9.25:1 contrast (WCAG AA passes).

Color values

HEX#155228
RGBrgb(21, 82, 40)
HSLhsl(139, 59%, 20%)
HSVhsv(139, 74%, 32%)
CMYKcmyk(74.4%, 0%, 51.2%, 67.8%)
CIE-LABlab(30.27, -29.85, 19.13)
CIE-LCHlch(30.27, 35.45, 147.35°)
OKLaboklab(38.88% -0.0804 0.0468)
OKLCHoklch(38.88% 0.093 149.8)
XYZxyz(3.7093, 6.3468, 3.0366)
Luminance0.0635 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#155228 #52153F
analogous
#205215 #155228 #155247
triadic
#155228 #281552 #522815
tetradic
#155228 #152052 #52153F #524715
square
#155228 #152052 #52153F #524715
split-complementary
#155228 #471552 #521520
monochromatic
#06180C #092110 #155228 #218340 #2EB358

Accessibility & contrast

On white

9.25
#155228 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.27
#155228 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #155228
9.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##155228#FFFFFF#000000##FFFFFF
##1552281.009.252.279.25
#FFFFFF9.251.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#534A25
Deuteranopia (green-blind)
#4B452B
Tritanopia (blue-blind)
#005048
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #155228;
/* rgb */ color: rgb(21, 82, 40);
/* oklch */ color: oklch(38.9% 0.093 149.8);
Tailwind
colors: {
  custom: {
    50: '#5c8362',
    500: '#155228',
    950: '#000000',
  },
}
SCSS
$custom: #155228;
$custom-light: #5c8362;
$custom-dark: #000000;
JSON
{
  "hex": "#155228",
  "rgb": {
    "r": 21,
    "g": 82,
    "b": 40
  },
  "hsl": {
    "h": 138.689,
    "s": 59.223,
    "l": 20.196
  },
  "oklch": {
    "l": 0.3888,
    "c": 0.09303,
    "h": 149.8
  },
  "luminance": 0.06347
}

Semantic roles & 50–950 ramp

primary
#155228
secondary
#8A3971
accent
#45B1E2
background
#F5F8F5
surface
#E9EFEA
border
#C5CAC6
text
#040B05
muted
#797C79

Preview Lab

Preview with #155228

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

Preview Lab → · Contrast checker → · Palette generator →

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