#155131#155131

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

Color values

HEX#155131
RGBrgb(21, 81, 49)
HSLhsl(148, 59%, 20%)
HSVhsv(148, 74%, 32%)
CMYKcmyk(74.1%, 0%, 39.5%, 68.2%)
CIE-LABlab(30.07, -27.54, 13.43)
CIE-LCHlch(30.07, 30.64, 154.00°)
OKLaboklab(38.77% -0.0745 0.0337)
OKLCHoklch(38.77% 0.082 155.7)
XYZxyz(3.8057, 6.2656, 3.9140)
Luminance0.0627 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#155131 #511535
analogous
#175115 #155131 #15514F
triadic
#155131 #311551 #513115
tetradic
#155131 #151751 #511535 #514F15
square
#155131 #151751 #511535 #514F15
split-complementary
#155131 #4F1551 #511517
monochromatic
#06180F #082014 #155131 #22824E #2EB26C

Accessibility & contrast

On white

9.32
#155131 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.25
#155131 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #155131
9.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##155131#FFFFFF#000000##FFFFFF
##1551311.009.322.259.32
#FFFFFF9.321.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#514A2F
Deuteranopia (green-blind)
#494533
Tritanopia (blue-blind)
#005049
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #155131;
/* rgb */ color: rgb(21, 81, 49);
/* oklch */ color: oklch(38.8% 0.082 155.7);
Tailwind
colors: {
  custom: {
    50: '#5b8269',
    500: '#155131',
    950: '#000000',
  },
}
SCSS
$custom: #155131;
$custom-light: #5b8269;
$custom-dark: #000000;
JSON
{
  "hex": "#155131",
  "rgb": {
    "r": 21,
    "g": 81,
    "b": 49
  },
  "hsl": {
    "h": 148,
    "s": 58.824,
    "l": 20
  },
  "oklch": {
    "l": 0.38771,
    "c": 0.08181,
    "h": 155.7
  },
  "luminance": 0.06266
}

Semantic roles & 50–950 ramp

primary
#155131
secondary
#893964
accent
#4699E2
background
#F5F8F6
surface
#E9EFEB
border
#C5CAC6
text
#040A06
muted
#797C7A

Preview Lab

Preview with #155131

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

Preview Lab → · Contrast checker → · Palette generator →

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