#158022#158022

#158022 is a mid, vivid green. Relative luminance 0.157; OKLCH L 52.4% C 0.159 H 144.2°. Best body text is #FFFFFF at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#158022
RGBrgb(21, 128, 34)
HSLhsl(127, 72%, 29%)
HSVhsv(127, 84%, 50%)
CMYKcmyk(83.6%, 0%, 73.4%, 49.8%)
CIE-LABlab(46.59, -47.83, 40.85)
CIE-LCHlch(46.59, 62.90, 139.50°)
OKLaboklab(52.39% -0.1292 0.0932)
OKLCHoklch(52.39% 0.159 144.2)
XYZxyz(8.3166, 15.7122, 4.1075)
Luminance0.1571 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#158022 #801573
analogous
#3E8015 #158022 #158058
triadic
#158022 #221580 #802215
tetradic
#158022 #153E80 #801573 #805815
square
#158022 #153E80 #801573 #805815
split-complementary
#158022 #581580 #80153E
monochromatic
#041A07 #0C4B14 #158022 #1EB530 #32DD47

Accessibility & contrast

On white

5.07
#158022 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.14
#158022 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #158022
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##158022#FFFFFF#000000##FFFFFF
##1580221.005.074.145.07
#FFFFFF5.071.0021.001.00
#0000004.1421.001.0021.00
##FFFFFF5.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#827313
Deuteranopia (green-blind)
#776B2C
Tritanopia (blue-blind)
#007C6D
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #158022;
/* rgb */ color: rgb(21, 128, 34);
/* oklch */ color: oklch(52.4% 0.159 144.2);
Tailwind
colors: {
  custom: {
    50: '#69a663',
    500: '#158022',
    950: '#000000',
  },
}
SCSS
$custom: #158022;
$custom-light: #69a663;
$custom-dark: #000000;
JSON
{
  "hex": "#158022",
  "rgb": {
    "r": 21,
    "g": 128,
    "b": 34
  },
  "hsl": {
    "h": 127.29,
    "s": 71.812,
    "l": 29.216
  },
  "oklch": {
    "l": 0.52392,
    "c": 0.15932,
    "h": 144.2
  },
  "luminance": 0.15713
}

Semantic roles & 50–950 ramp

primary
#158022
secondary
#B53CA6
accent
#39D9EF
background
#F6FAF6
surface
#ECF4EB
border
#C7CEC6
text
#070F05
muted
#7A7F7A

Preview Lab

Preview with #158022

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

Preview Lab → · Contrast checker → · Palette generator →

#158022 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva