#158222#158222

#158222 is a mid, vivid green. Relative luminance 0.162; OKLCH L 53.0% C 0.162 H 144.2°. Best body text is #FFFFFF at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#158222
RGBrgb(21, 130, 34)
HSLhsl(127, 72%, 30%)
HSVhsv(127, 84%, 51%)
CMYKcmyk(83.8%, 0%, 73.8%, 49%)
CIE-LABlab(47.29, -48.49, 41.56)
CIE-LCHlch(47.29, 63.87, 139.40°)
OKLaboklab(52.97% -0.131 0.0947)
OKLCHoklch(52.97% 0.162 144.2)
XYZxyz(8.5800, 16.2391, 4.1953)
Luminance0.1624 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#158222 #821575
analogous
#3F8215 #158222 #158259
triadic
#158222 #221582 #822215
tetradic
#158222 #153F82 #821575 #825915
square
#158222 #153F82 #821575 #825915
split-complementary
#158222 #591582 #82153F
monochromatic
#041A07 #0C4D14 #158222 #1EB730 #33DE48

Accessibility & contrast

On white

4.94
#158222 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.25
#158222 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #158222
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##158222#FFFFFF#000000##FFFFFF
##1582221.004.944.254.94
#FFFFFF4.941.0021.001.00
#0000004.2521.001.0021.00
##FFFFFF4.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#857512
Deuteranopia (green-blind)
#796D2C
Tritanopia (blue-blind)
#007E6F
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #158222;
/* rgb */ color: rgb(21, 130, 34);
/* oklch */ color: oklch(53.0% 0.162 144.2);
Tailwind
colors: {
  custom: {
    50: '#69a763',
    500: '#158222',
    950: '#000000',
  },
}
SCSS
$custom: #158222;
$custom-light: #69a763;
$custom-dark: #000000;
JSON
{
  "hex": "#158222",
  "rgb": {
    "r": 21,
    "g": 130,
    "b": 34
  },
  "hsl": {
    "h": 127.156,
    "s": 72.185,
    "l": 29.608
  },
  "oklch": {
    "l": 0.52968,
    "c": 0.16167,
    "h": 144.2
  },
  "luminance": 0.1624
}

Semantic roles & 50–950 ramp

primary
#158222
secondary
#B73CA8
accent
#39D9EF
background
#F6FAF6
surface
#ECF4EB
border
#C7CEC6
text
#081006
muted
#7A7F7A

Preview Lab

Preview with #158222

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

Preview Lab → · Contrast checker → · Palette generator →

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