#157F22#157F22

#157F22 is a mid, vivid green. Relative luminance 0.155; OKLCH L 52.1% C 0.158 H 144.2°. Best body text is #FFFFFF at 5.13:1 contrast (WCAG AA passes).

Color values

HEX#157F22
RGBrgb(21, 127, 34)
HSLhsl(127, 72%, 29%)
HSVhsv(127, 83%, 50%)
CMYKcmyk(83.5%, 0%, 73.2%, 50.2%)
CIE-LABlab(46.25, -47.50, 40.48)
CIE-LCHlch(46.25, 62.41, 139.56°)
OKLaboklab(52.1% -0.1283 0.0924)
OKLCHoklch(52.1% 0.158 144.2)
XYZxyz(8.1868, 15.4527, 4.0643)
Luminance0.1545 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#157F22 #7F1572
analogous
#3D7F15 #157F22 #157F57
triadic
#157F22 #22157F #7F2215
tetradic
#157F22 #153D7F #7F1572 #7F5715
square
#157F22 #153D7F #7F1572 #7F5715
split-complementary
#157F22 #57157F #7F153D
monochromatic
#041A07 #0C4A14 #157F22 #1EB430 #31DD46

Accessibility & contrast

On white

5.13
#157F22 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.09
#157F22 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #157F22
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##157F22#FFFFFF#000000##FFFFFF
##157F221.005.134.095.13
#FFFFFF5.131.0021.001.00
#0000004.0921.001.0021.00
##FFFFFF5.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#817213
Deuteranopia (green-blind)
#766B2B
Tritanopia (blue-blind)
#007B6D
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #157f22;
/* rgb */ color: rgb(21, 127, 34);
/* oklch */ color: oklch(52.1% 0.158 144.2);
Tailwind
colors: {
  custom: {
    50: '#68a563',
    500: '#157f22',
    950: '#000000',
  },
}
SCSS
$custom: #157f22;
$custom-light: #68a563;
$custom-dark: #000000;
JSON
{
  "hex": "#157f22",
  "rgb": {
    "r": 21,
    "g": 127,
    "b": 34
  },
  "hsl": {
    "h": 127.358,
    "s": 71.622,
    "l": 29.02
  },
  "oklch": {
    "l": 0.52104,
    "c": 0.15814,
    "h": 144.2
  },
  "luminance": 0.15454
}

Semantic roles & 50–950 ramp

primary
#157F22
secondary
#B43CA5
accent
#39D8EE
background
#F6FAF6
surface
#ECF4EB
border
#C7CEC6
text
#070F05
muted
#7A7F7A

Preview Lab

Preview with #157F22

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

Preview Lab → · Contrast checker → · Palette generator →

#157F22 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva