#158A2E#158A2E

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

Color values

HEX#158A2E
RGBrgb(21, 138, 46)
HSLhsl(133, 74%, 31%)
HSVhsv(133, 85%, 54%)
CMYKcmyk(84.8%, 0%, 66.7%, 45.9%)
CIE-LABlab(50.14, -49.89, 39.47)
CIE-LCHlch(50.14, 63.62, 141.65°)
OKLaboklab(55.37% -0.1343 0.0917)
OKLCHoklch(55.37% 0.163 145.7)
XYZxyz(9.8901, 18.5324, 5.6401)
Luminance0.1853 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#158A2E #8A1571
analogous
#368A15 #158A2E #158A68
triadic
#158A2E #2E158A #8A2E15
tetradic
#158A2E #15368A #8A1571 #8A6815
square
#158A2E #15368A #8A1571 #8A6815
split-complementary
#158A2E #68158A #8A1536
monochromatic
#05200B #0D551C #158A2E #1DBF40 #39E15D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##158A2E#FFFFFF#000000##000000
##158A2E1.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)
#8C7D23
Deuteranopia (green-blind)
#807436
Tritanopia (blue-blind)
#008677
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #158a2e;
/* rgb */ color: rgb(21, 138, 46);
/* oklch */ color: oklch(55.4% 0.163 145.7);
Tailwind
colors: {
  custom: {
    50: '#6bad6b',
    500: '#158a2e',
    950: '#000000',
  },
}
SCSS
$custom: #158a2e;
$custom-light: #6bad6b;
$custom-dark: #000000;
JSON
{
  "hex": "#158a2e",
  "rgb": {
    "r": 21,
    "g": 138,
    "b": 46
  },
  "hsl": {
    "h": 132.821,
    "s": 73.585,
    "l": 31.176
  },
  "oklch": {
    "l": 0.5537,
    "c": 0.16266,
    "h": 145.7
  },
  "luminance": 0.18534
}

Semantic roles & 50–950 ramp

primary
#158A2E
secondary
#BE3DA2
accent
#38C9F0
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#081007
muted
#7B7F7A

Preview Lab

Preview with #158A2E

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

Preview Lab → · Contrast checker → · Palette generator →

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