#158A27#158A27

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

Color values

HEX#158A27
RGBrgb(21, 138, 39)
HSLhsl(129, 74%, 31%)
HSVhsv(129, 85%, 54%)
CMYKcmyk(84.8%, 0%, 71.7%, 45.9%)
CIE-LABlab(50.08, -50.64, 42.44)
CIE-LCHlch(50.08, 66.07, 140.04°)
OKLaboklab(55.3% -0.1367 0.0972)
OKLCHoklch(55.3% 0.168 144.6)
XYZxyz(9.7633, 18.4817, 4.9718)
Luminance0.1848 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#158A27 #8A1578
analogous
#3D8A15 #158A27 #158A61
triadic
#158A27 #27158A #8A2715
tetradic
#158A27 #153D8A #8A1578 #8A6115
square
#158A27 #153D8A #8A1578 #8A6115
split-complementary
#158A27 #61158A #8A153D
monochromatic
#052009 #0D5518 #158A27 #1DBF36 #39E152

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##158A27#FFFFFF#000000##000000
##158A271.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)
#8D7C18
Deuteranopia (green-blind)
#807431
Tritanopia (blue-blind)
#008676
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #158a27;
/* rgb */ color: rgb(21, 138, 39);
/* oklch */ color: oklch(55.3% 0.168 144.6);
Tailwind
colors: {
  custom: {
    50: '#6bad67',
    500: '#158a27',
    950: '#000000',
  },
}
SCSS
$custom: #158a27;
$custom-light: #6bad67;
$custom-dark: #000000;
JSON
{
  "hex": "#158a27",
  "rgb": {
    "r": 21,
    "g": 138,
    "b": 39
  },
  "hsl": {
    "h": 129.231,
    "s": 73.585,
    "l": 31.176
  },
  "oklch": {
    "l": 0.553,
    "c": 0.16768,
    "h": 144.6
  },
  "luminance": 0.18483
}

Semantic roles & 50–950 ramp

primary
#158A27
secondary
#BE3DAA
accent
#38D4F0
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#081006
muted
#7B7F7A

Preview Lab

Preview with #158A27

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

Preview Lab → · Contrast checker → · Palette generator →

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