#158A28#158A28

#158A28 is a mid, vivid green. Relative luminance 0.185; OKLCH L 55.3% C 0.167 H 144.7°. Best body text is #000000 at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#158A28
RGBrgb(21, 138, 40)
HSLhsl(130, 74%, 31%)
HSVhsv(130, 85%, 54%)
CMYKcmyk(84.8%, 0%, 71%, 45.9%)
CIE-LABlab(50.08, -50.54, 42.03)
CIE-LCHlch(50.08, 65.74, 140.25°)
OKLaboklab(55.31% -0.1363 0.0964)
OKLCHoklch(55.31% 0.167 144.7)
XYZxyz(9.7800, 18.4884, 5.0602)
Luminance0.1849 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#158A28 #8A1577
analogous
#3C8A15 #158A28 #158A62
triadic
#158A28 #28158A #8A2815
tetradic
#158A28 #153C8A #8A1577 #8A6215
square
#158A28 #153C8A #8A1577 #8A6215
split-complementary
#158A28 #62158A #8A153C
monochromatic
#052009 #0D5519 #158A28 #1DBF37 #39E154

Accessibility & contrast

On white

4.47
#158A28 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.70
#158A28 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #158A28
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##158A28#FFFFFF#000000##000000
##158A281.004.474.704.70
#FFFFFF4.471.0021.0021.00
#0000004.7021.001.001.00
##0000004.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#8D7C1A
Deuteranopia (green-blind)
#807432
Tritanopia (blue-blind)
#008676
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #158a28;
/* rgb */ color: rgb(21, 138, 40);
/* oklch */ color: oklch(55.3% 0.167 144.7);
Tailwind
colors: {
  custom: {
    50: '#6bad67',
    500: '#158a28',
    950: '#000000',
  },
}
SCSS
$custom: #158a28;
$custom-light: #6bad67;
$custom-dark: #000000;
JSON
{
  "hex": "#158a28",
  "rgb": {
    "r": 21,
    "g": 138,
    "b": 40
  },
  "hsl": {
    "h": 129.744,
    "s": 73.585,
    "l": 31.176
  },
  "oklch": {
    "l": 0.55309,
    "c": 0.167,
    "h": 144.7
  },
  "luminance": 0.1849
}

Semantic roles & 50–950 ramp

primary
#158A28
secondary
#BE3DA9
accent
#38D2F0
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#081006
muted
#7B7F7A

Preview Lab

Preview with #158A28

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

Preview Lab → · Contrast checker → · Palette generator →

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