#157222#157222

#157222 is a mid, vivid green. Relative luminance 0.123; OKLCH L 48.3% C 0.142 H 144.7°. Best body text is #FFFFFF at 6.07:1 contrast (WCAG AA passes).

Color values

HEX#157222
RGBrgb(21, 114, 34)
HSLhsl(128, 69%, 26%)
HSVhsv(128, 82%, 45%)
CMYKcmyk(81.6%, 0%, 70.2%, 55.3%)
CIE-LABlab(41.70, -43.05, 35.65)
CIE-LCHlch(41.70, 55.90, 140.37°)
OKLaboklab(48.33% -0.1162 0.0823)
OKLCHoklch(48.33% 0.142 144.7)
XYZxyz(6.6148, 12.3088, 3.5403)
Luminance0.1231 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#157222 #721565
analogous
#377215 #157222 #157251
triadic
#157222 #221572 #722215
tetradic
#157222 #153772 #721565 #725115
square
#157222 #153772 #721565 #725115
split-complementary
#157222 #511572 #721537
monochromatic
#051A08 #0B3E13 #157222 #1FA631 #2AD842

Accessibility & contrast

On white

6.07
#157222 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.46
#157222 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #157222
6.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##157222#FFFFFF#000000##FFFFFF
##1572221.006.073.466.07
#FFFFFF6.071.0021.001.00
#0000003.4621.001.0021.00
##FFFFFF6.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#746717
Deuteranopia (green-blind)
#6A6029
Tritanopia (blue-blind)
#006F62
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #157222;
/* rgb */ color: rgb(21, 114, 34);
/* oklch */ color: oklch(48.3% 0.142 144.7);
Tailwind
colors: {
  custom: {
    50: '#659c61',
    500: '#157222',
    950: '#000000',
  },
}
SCSS
$custom: #157222;
$custom-light: #659c61;
$custom-dark: #000000;
JSON
{
  "hex": "#157222",
  "rgb": {
    "r": 21,
    "g": 114,
    "b": 34
  },
  "hsl": {
    "h": 128.387,
    "s": 68.889,
    "l": 26.471
  },
  "oklch": {
    "l": 0.48326,
    "c": 0.14241,
    "h": 144.7
  },
  "luminance": 0.1231
}

Semantic roles & 50–950 ramp

primary
#157222
secondary
#A83B99
accent
#3CD3EC
background
#F6F9F5
surface
#EBF2EA
border
#C6CCC6
text
#060E05
muted
#7A7E79

Preview Lab

Preview with #157222

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

Preview Lab → · Contrast checker → · Palette generator →

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