#157223#157223

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

Color values

HEX#157223
RGBrgb(21, 114, 35)
HSLhsl(129, 69%, 26%)
HSVhsv(129, 82%, 45%)
CMYKcmyk(81.6%, 0%, 69.3%, 55.3%)
CIE-LABlab(41.71, -42.94, 35.21)
CIE-LCHlch(41.71, 55.53, 140.65°)
OKLaboklab(48.34% -0.1159 0.0815)
OKLCHoklch(48.34% 0.142 144.9)
XYZxyz(6.6295, 12.3146, 3.6173)
Luminance0.1231 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#157223 #721564
analogous
#367215 #157223 #157252
triadic
#157223 #231572 #722315
tetradic
#157223 #153672 #721564 #725215
square
#157223 #153672 #721564 #725215
split-complementary
#157223 #521572 #721536
monochromatic
#051A08 #0B3E13 #157223 #1FA633 #2AD844

Accessibility & contrast

On white

6.06
#157223 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #157223
6.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##157223#FFFFFF#000000##FFFFFF
##1572231.006.063.466.06
#FFFFFF6.061.0021.001.00
#0000003.4621.001.0021.00
##FFFFFF6.061.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #157223;
/* rgb */ color: rgb(21, 114, 35);
/* oklch */ color: oklch(48.3% 0.142 144.9);
Tailwind
colors: {
  custom: {
    50: '#659c62',
    500: '#157223',
    950: '#000000',
  },
}
SCSS
$custom: #157223;
$custom-light: #659c62;
$custom-dark: #000000;
JSON
{
  "hex": "#157223",
  "rgb": {
    "r": 21,
    "g": 114,
    "b": 35
  },
  "hsl": {
    "h": 129.032,
    "s": 68.889,
    "l": 26.471
  },
  "oklch": {
    "l": 0.48336,
    "c": 0.14165,
    "h": 144.9
  },
  "luminance": 0.12315
}

Semantic roles & 50–950 ramp

primary
#157223
secondary
#A83B98
accent
#3CD1EC
background
#F6F9F5
surface
#EBF2EA
border
#C6CCC6
text
#060E05
muted
#7A7E79

Preview Lab

Preview with #157223

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

Preview Lab → · Contrast checker → · Palette generator →

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