#157E17#157E17

#157E17 is a mid, vivid green. Relative luminance 0.151; OKLCH L 51.7% C 0.163 H 142.9°. Best body text is #FFFFFF at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#157E17
RGBrgb(21, 126, 23)
HSLhsl(121, 71%, 29%)
HSVhsv(121, 83%, 49%)
CMYKcmyk(83.3%, 0%, 81.7%, 50.6%)
CIE-LABlab(45.83, -48.07, 44.15)
CIE-LCHlch(45.83, 65.27, 137.44°)
OKLaboklab(51.73% -0.1304 0.0985)
OKLCHoklch(51.73% 0.163 142.9)
XYZxyz(7.9243, 15.1420, 3.3155)
Luminance0.1514 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#157E17 #7E157C
analogous
#487E15 #157E17 #157E4C
triadic
#157E17 #17157E #7E1715
tetradic
#157E17 #15487E #7E157C #7E4C15
square
#157E17 #15487E #7E157C #7E4C15
split-complementary
#157E17 #4C157E #7E1548
monochromatic
#041A05 #0C4A0D #157E17 #1EB221 #31DD34

Accessibility & contrast

On white

5.21
#157E17 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.03
#157E17 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #157E17
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##157E17#FFFFFF#000000##FFFFFF
##157E171.005.214.035.21
#FFFFFF5.211.0021.001.00
#0000004.0321.001.0021.00
##FFFFFF5.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#817100
Deuteranopia (green-blind)
#766A23
Tritanopia (blue-blind)
#007A6B
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #157e17;
/* rgb */ color: rgb(21, 126, 23);
/* oklch */ color: oklch(51.7% 0.163 142.9);
Tailwind
colors: {
  custom: {
    50: '#69a45d',
    500: '#157e17',
    950: '#000000',
  },
}
SCSS
$custom: #157e17;
$custom-light: #69a45d;
$custom-dark: #000000;
JSON
{
  "hex": "#157e17",
  "rgb": {
    "r": 21,
    "g": 126,
    "b": 23
  },
  "hsl": {
    "h": 121.143,
    "s": 71.429,
    "l": 28.824
  },
  "oklch": {
    "l": 0.51732,
    "c": 0.16343,
    "h": 142.9
  },
  "luminance": 0.15143
}

Semantic roles & 50–950 ramp

primary
#157E17
secondary
#B33CB1
accent
#3AEBEE
background
#F6FAF5
surface
#ECF4E9
border
#C7CEC5
text
#070F05
muted
#7A7F79

Preview Lab

Preview with #157E17

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

Preview Lab → · Contrast checker → · Palette generator →

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