#158A30#158A30

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

Color values

HEX#158A30
RGBrgb(21, 138, 48)
HSLhsl(134, 74%, 31%)
HSVhsv(134, 85%, 54%)
CMYKcmyk(84.8%, 0%, 65.2%, 45.9%)
CIE-LABlab(50.15, -49.66, 38.58)
CIE-LCHlch(50.15, 62.88, 142.15°)
OKLaboklab(55.39% -0.1336 0.09)
OKLCHoklch(55.39% 0.161 146)
XYZxyz(9.9305, 18.5486, 5.8526)
Luminance0.1855 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#158A30 #8A156F
analogous
#348A15 #158A30 #158A6A
triadic
#158A30 #30158A #8A3015
tetradic
#158A30 #15348A #8A156F #8A6A15
square
#158A30 #15348A #8A156F #8A6A15
split-complementary
#158A30 #6A158A #8A1534
monochromatic
#05200B #0D551E #158A30 #1DBF42 #39E15F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##158A30#FFFFFF#000000##000000
##158A301.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)
#8C7D25
Deuteranopia (green-blind)
#807438
Tritanopia (blue-blind)
#008777
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #158a30;
/* rgb */ color: rgb(21, 138, 48);
/* oklch */ color: oklch(55.4% 0.161 146.0);
Tailwind
colors: {
  custom: {
    50: '#6bad6c',
    500: '#158a30',
    950: '#000000',
  },
}
SCSS
$custom: #158a30;
$custom-light: #6bad6c;
$custom-dark: #000000;
JSON
{
  "hex": "#158a30",
  "rgb": {
    "r": 21,
    "g": 138,
    "b": 48
  },
  "hsl": {
    "h": 133.846,
    "s": 73.585,
    "l": 31.176
  },
  "oklch": {
    "l": 0.55392,
    "c": 0.16112,
    "h": 146
  },
  "luminance": 0.1855
}

Semantic roles & 50–950 ramp

primary
#158A30
secondary
#BE3DA0
accent
#38C6F0
background
#F7FAF6
surface
#EDF4EC
border
#C8CEC7
text
#081007
muted
#7B7F7A

Preview Lab

Preview with #158A30

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

Preview Lab → · Contrast checker → · Palette generator →

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