#158A33#158A33

#158A33 is a mid, vivid green. Relative luminance 0.186; OKLCH L 55.4% C 0.159 H 146.6°. Best body text is #000000 at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#158A33
RGBrgb(21, 138, 51)
HSLhsl(135, 74%, 31%)
HSVhsv(135, 85%, 54%)
CMYKcmyk(84.8%, 0%, 63%, 45.9%)
CIE-LABlab(50.19, -49.28, 37.21)
CIE-LCHlch(50.19, 61.75, 142.94°)
OKLaboklab(55.43% -0.1325 0.0874)
OKLCHoklch(55.43% 0.159 146.6)
XYZxyz(9.9945, 18.5742, 6.1897)
Luminance0.1857 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#158A33 #8A156C
analogous
#318A15 #158A33 #158A6D
triadic
#158A33 #33158A #8A3315
tetradic
#158A33 #15318A #8A156C #8A6D15
square
#158A33 #15318A #8A156C #8A6D15
split-complementary
#158A33 #6D158A #8A1531
monochromatic
#05200C #0D551F #158A33 #1DBF47 #39E164

Accessibility & contrast

On white

4.45
#158A33 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.72
#158A33 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #158A33
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##158A33#FFFFFF#000000##000000
##158A331.004.454.724.72
#FFFFFF4.451.0021.0021.00
#0000004.7221.001.001.00
##0000004.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#8C7D29
Deuteranopia (green-blind)
#7F743A
Tritanopia (blue-blind)
#008777
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #158a33;
/* rgb */ color: rgb(21, 138, 51);
/* oklch */ color: oklch(55.4% 0.159 146.6);
Tailwind
colors: {
  custom: {
    50: '#6bad6e',
    500: '#158a33',
    950: '#000000',
  },
}
SCSS
$custom: #158a33;
$custom-light: #6bad6e;
$custom-dark: #000000;
JSON
{
  "hex": "#158a33",
  "rgb": {
    "r": 21,
    "g": 138,
    "b": 51
  },
  "hsl": {
    "h": 135.385,
    "s": 73.585,
    "l": 31.176
  },
  "oklch": {
    "l": 0.55427,
    "c": 0.15874,
    "h": 146.6
  },
  "luminance": 0.18575
}

Semantic roles & 50–950 ramp

primary
#158A33
secondary
#BE3D9D
accent
#38C1F0
background
#F7FAF6
surface
#EDF4EC
border
#C8CEC7
text
#081007
muted
#7B7F7A

Preview Lab

Preview with #158A33

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

Preview Lab → · Contrast checker → · Palette generator →

#158A33 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva