#157E22#157E22

#157E22 is a mid, vivid green. Relative luminance 0.152; OKLCH L 51.8% C 0.157 H 144.3°. Best body text is #FFFFFF at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#157E22
RGBrgb(21, 126, 34)
HSLhsl(127, 71%, 29%)
HSVhsv(127, 83%, 49%)
CMYKcmyk(83.3%, 0%, 73%, 50.6%)
CIE-LABlab(45.90, -47.16, 40.12)
CIE-LCHlch(45.90, 61.92, 139.61°)
OKLaboklab(51.82% -0.1274 0.0917)
OKLCHoklch(51.82% 0.157 144.3)
XYZxyz(8.0583, 15.1956, 4.0214)
Luminance0.1520 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#157E22 #7E1571
analogous
#3D7E15 #157E22 #157E57
triadic
#157E22 #22157E #7E2215
tetradic
#157E22 #153D7E #7E1571 #7E5715
square
#157E22 #153D7E #7E1571 #7E5715
split-complementary
#157E22 #57157E #7E153D
monochromatic
#041A07 #0C4A14 #157E22 #1EB230 #31DD46

Accessibility & contrast

On white

5.20
#157E22 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.04
#157E22 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #157E22
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##157E22#FFFFFF#000000##FFFFFF
##157E221.005.204.045.20
#FFFFFF5.201.0021.001.00
#0000004.0421.001.0021.00
##FFFFFF5.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#807114
Deuteranopia (green-blind)
#756A2B
Tritanopia (blue-blind)
#007A6C
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #157e22;
/* rgb */ color: rgb(21, 126, 34);
/* oklch */ color: oklch(51.8% 0.157 144.3);
Tailwind
colors: {
  custom: {
    50: '#68a463',
    500: '#157e22',
    950: '#000000',
  },
}
SCSS
$custom: #157e22;
$custom-light: #68a463;
$custom-dark: #000000;
JSON
{
  "hex": "#157e22",
  "rgb": {
    "r": 21,
    "g": 126,
    "b": 34
  },
  "hsl": {
    "h": 127.429,
    "s": 71.429,
    "l": 28.824
  },
  "oklch": {
    "l": 0.51816,
    "c": 0.15695,
    "h": 144.3
  },
  "luminance": 0.15197
}

Semantic roles & 50–950 ramp

primary
#157E22
secondary
#B33CA4
accent
#3AD8EE
background
#F6FAF6
surface
#ECF4EB
border
#C7CEC6
text
#070F05
muted
#7A7F7A

Preview Lab

Preview with #157E22

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

Preview Lab → · Contrast checker → · Palette generator →

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