#157A17#157A17

#157A17 is a mid, vivid green. Relative luminance 0.141; OKLCH L 50.6% C 0.159 H 143.0°. Best body text is #FFFFFF at 5.49:1 contrast (WCAG AA passes).

Color values

HEX#157A17
RGBrgb(21, 122, 23)
HSLhsl(121, 71%, 28%)
HSVhsv(121, 83%, 48%)
CMYKcmyk(82.8%, 0%, 81.1%, 52.2%)
CIE-LABlab(44.43, -46.76, 42.81)
CIE-LCHlch(44.43, 63.40, 137.53°)
OKLaboklab(50.57% -0.1268 0.0957)
OKLCHoklch(50.57% 0.159 143)
XYZxyz(7.4230, 14.1395, 3.1484)
Luminance0.1414 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#157A17 #7A1578
analogous
#457A15 #157A17 #157A49
triadic
#157A17 #17157A #7A1715
tetradic
#157A17 #15457A #7A1578 #7A4915
square
#157A17 #15457A #7A1578 #7A4915
split-complementary
#157A17 #49157A #7A1545
monochromatic
#041A05 #0C460D #157A17 #1EAE21 #2EDB32

Accessibility & contrast

On white

5.49
#157A17 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.83
#157A17 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #157A17
5.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##157A17#FFFFFF#000000##FFFFFF
##157A171.005.493.835.49
#FFFFFF5.491.0021.001.00
#0000003.8321.001.0021.00
##FFFFFF5.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7D6E00
Deuteranopia (green-blind)
#726623
Tritanopia (blue-blind)
#007668
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #157a17;
/* rgb */ color: rgb(21, 122, 23);
/* oklch */ color: oklch(50.6% 0.159 143.0);
Tailwind
colors: {
  custom: {
    50: '#68a25d',
    500: '#157a17',
    950: '#000000',
  },
}
SCSS
$custom: #157a17;
$custom-light: #68a25d;
$custom-dark: #000000;
JSON
{
  "hex": "#157a17",
  "rgb": {
    "r": 21,
    "g": 122,
    "b": 23
  },
  "hsl": {
    "h": 121.188,
    "s": 70.629,
    "l": 28.039
  },
  "oklch": {
    "l": 0.5057,
    "c": 0.15891,
    "h": 143
  },
  "luminance": 0.1414
}

Semantic roles & 50–950 ramp

primary
#157A17
secondary
#AF3BAD
accent
#3AEAED
background
#F6FAF5
surface
#ECF3E9
border
#C7CDC5
text
#070F04
muted
#7A7F79

Preview Lab

Preview with #157A17

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

Preview Lab → · Contrast checker → · Palette generator →

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