#158A2A#158A2A

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

Color values

HEX#158A2A
RGBrgb(21, 138, 42)
HSLhsl(131, 74%, 31%)
HSVhsv(131, 85%, 54%)
CMYKcmyk(84.8%, 0%, 69.6%, 45.9%)
CIE-LABlab(50.10, -50.34, 41.20)
CIE-LCHlch(50.10, 65.05, 140.70°)
OKLaboklab(55.33% -0.1357 0.0949)
OKLCHoklch(55.33% 0.166 145)
XYZxyz(9.8149, 18.5023, 5.2441)
Luminance0.1850 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#158A2A #8A1575
analogous
#3A8A15 #158A2A #158A64
triadic
#158A2A #2A158A #8A2A15
tetradic
#158A2A #153A8A #8A1575 #8A6415
square
#158A2A #153A8A #8A1575 #8A6415
split-complementary
#158A2A #64158A #8A153A
monochromatic
#05200A #0D551A #158A2A #1DBF3A #39E157

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##158A2A#FFFFFF#000000##000000
##158A2A1.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)
#8C7C1D
Deuteranopia (green-blind)
#807433
Tritanopia (blue-blind)
#008676
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #158a2a;
/* rgb */ color: rgb(21, 138, 42);
/* oklch */ color: oklch(55.3% 0.166 145.0);
Tailwind
colors: {
  custom: {
    50: '#6bad69',
    500: '#158a2a',
    950: '#000000',
  },
}
SCSS
$custom: #158a2a;
$custom-light: #6bad69;
$custom-dark: #000000;
JSON
{
  "hex": "#158a2a",
  "rgb": {
    "r": 21,
    "g": 138,
    "b": 42
  },
  "hsl": {
    "h": 130.769,
    "s": 73.585,
    "l": 31.176
  },
  "oklch": {
    "l": 0.55328,
    "c": 0.16561,
    "h": 145
  },
  "luminance": 0.18504
}

Semantic roles & 50–950 ramp

primary
#158A2A
secondary
#BE3DA7
accent
#38CFF0
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#081006
muted
#7B7F7A

Preview Lab

Preview with #158A2A

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

Preview Lab → · Contrast checker → · Palette generator →

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