#157221#157221

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

Color values

HEX#157221
RGBrgb(21, 114, 33)
HSLhsl(128, 69%, 26%)
HSVhsv(128, 82%, 45%)
CMYKcmyk(81.6%, 0%, 71.1%, 55.3%)
CIE-LABlab(41.69, -43.16, 36.09)
CIE-LCHlch(41.69, 56.26, 140.10°)
OKLaboklab(48.32% -0.1166 0.0831)
OKLCHoklch(48.32% 0.143 144.5)
XYZxyz(6.6006, 12.3031, 3.4654)
Luminance0.1230 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#157221 #721566
analogous
#387215 #157221 #157250
triadic
#157221 #211572 #722115
tetradic
#157221 #153872 #721566 #725015
square
#157221 #153872 #721566 #725015
split-complementary
#157221 #501572 #721538
monochromatic
#051A07 #0B3E12 #157221 #1FA630 #2AD840

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##157221#FFFFFF#000000##FFFFFF
##1572211.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)
#746716
Deuteranopia (green-blind)
#6A6029
Tritanopia (blue-blind)
#006F62
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #157221;
/* rgb */ color: rgb(21, 114, 33);
/* oklch */ color: oklch(48.3% 0.143 144.5);
Tailwind
colors: {
  custom: {
    50: '#659c61',
    500: '#157221',
    950: '#000000',
  },
}
SCSS
$custom: #157221;
$custom-light: #659c61;
$custom-dark: #000000;
JSON
{
  "hex": "#157221",
  "rgb": {
    "r": 21,
    "g": 114,
    "b": 33
  },
  "hsl": {
    "h": 127.742,
    "s": 68.889,
    "l": 26.471
  },
  "oklch": {
    "l": 0.48316,
    "c": 0.14315,
    "h": 144.5
  },
  "luminance": 0.12304
}

Semantic roles & 50–950 ramp

primary
#157221
secondary
#A83B9A
accent
#3CD5EC
background
#F6F9F5
surface
#EBF2EA
border
#C6CCC6
text
#060E05
muted
#7A7E79

Preview Lab

Preview with #157221

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

Preview Lab → · Contrast checker → · Palette generator →

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