#158A2F#158A2F

#158A2F is a mid, vivid green. Relative luminance 0.185; OKLCH L 55.4% C 0.162 H 145.9°. Best body text is #000000 at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#158A2F
RGBrgb(21, 138, 47)
HSLhsl(133, 74%, 31%)
HSVhsv(133, 85%, 54%)
CMYKcmyk(84.8%, 0%, 65.9%, 45.9%)
CIE-LABlab(50.15, -49.77, 39.03)
CIE-LCHlch(50.15, 63.25, 141.90°)
OKLaboklab(55.38% -0.134 0.0909)
OKLCHoklch(55.38% 0.162 145.9)
XYZxyz(9.9101, 18.5404, 5.7451)
Luminance0.1854 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#158A2F #8A1570
analogous
#358A15 #158A2F #158A69
triadic
#158A2F #2F158A #8A2F15
tetradic
#158A2F #15358A #8A1570 #8A6915
square
#158A2F #15358A #8A1570 #8A6915
split-complementary
#158A2F #69158A #8A1535
monochromatic
#05200B #0D551D #158A2F #1DBF41 #39E15E

Accessibility & contrast

On white

4.46
#158A2F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.71
#158A2F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #158A2F
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##158A2F#FFFFFF#000000##000000
##158A2F1.004.464.714.71
#FFFFFF4.461.0021.0021.00
#0000004.7121.001.001.00
##0000004.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#8C7D24
Deuteranopia (green-blind)
#807437
Tritanopia (blue-blind)
#008677
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #158a2f;
/* rgb */ color: rgb(21, 138, 47);
/* oklch */ color: oklch(55.4% 0.162 145.9);
Tailwind
colors: {
  custom: {
    50: '#6bad6b',
    500: '#158a2f',
    950: '#000000',
  },
}
SCSS
$custom: #158a2f;
$custom-light: #6bad6b;
$custom-dark: #000000;
JSON
{
  "hex": "#158a2f",
  "rgb": {
    "r": 21,
    "g": 138,
    "b": 47
  },
  "hsl": {
    "h": 133.333,
    "s": 73.585,
    "l": 31.176
  },
  "oklch": {
    "l": 0.55381,
    "c": 0.1619,
    "h": 145.9
  },
  "luminance": 0.18542
}

Semantic roles & 50–950 ramp

primary
#158A2F
secondary
#BE3DA1
accent
#38C7F0
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#081007
muted
#7B7F7A

Preview Lab

Preview with #158A2F

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

Preview Lab → · Contrast checker → · Palette generator →

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