#155231#155231

#155231 is a dark, moderate green. Relative luminance 0.064; OKLCH L 39.1% C 0.083 H 155.3°. Best body text is #FFFFFF at 9.20:1 contrast (WCAG AA passes).

Color values

HEX#155231
RGBrgb(21, 82, 49)
HSLhsl(148, 59%, 20%)
HSVhsv(148, 74%, 32%)
CMYKcmyk(74.4%, 0%, 40.2%, 67.8%)
CIE-LABlab(30.44, -27.99, 13.92)
CIE-LCHlch(30.44, 31.26, 153.56°)
OKLaboklab(39.07% -0.0757 0.0349)
OKLCHoklch(39.07% 0.083 155.3)
XYZxyz(3.8806, 6.4153, 3.9389)
Luminance0.0642 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#155231 #521536
analogous
#185215 #155231 #15524F
triadic
#155231 #311552 #523115
tetradic
#155231 #151852 #521536 #524F15
square
#155231 #151852 #521536 #524F15
split-complementary
#155231 #4F1552 #521518
monochromatic
#06180F #092114 #155231 #21834E #2EB36B

Accessibility & contrast

On white

9.20
#155231 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#155231 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #155231
9.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##155231#FFFFFF#000000##FFFFFF
##1552311.009.202.289.20
#FFFFFF9.201.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#524B2F
Deuteranopia (green-blind)
#4A4533
Tritanopia (blue-blind)
#00514A
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #155231;
/* rgb */ color: rgb(21, 82, 49);
/* oklch */ color: oklch(39.1% 0.083 155.3);
Tailwind
colors: {
  custom: {
    50: '#5c8369',
    500: '#155231',
    950: '#000000',
  },
}
SCSS
$custom: #155231;
$custom-light: #5c8369;
$custom-dark: #000000;
JSON
{
  "hex": "#155231",
  "rgb": {
    "r": 21,
    "g": 82,
    "b": 49
  },
  "hsl": {
    "h": 147.541,
    "s": 59.223,
    "l": 20.196
  },
  "oklch": {
    "l": 0.39071,
    "c": 0.08337,
    "h": 155.3
  },
  "luminance": 0.06416
}

Semantic roles & 50–950 ramp

primary
#155231
secondary
#8A3965
accent
#459AE2
background
#F5F8F6
surface
#E9EFEB
border
#C5CAC6
text
#040B06
muted
#797C7A

Preview Lab

Preview with #155231

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

Preview Lab → · Contrast checker → · Palette generator →

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