#157A16#157A16

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

Color values

HEX#157A16
RGBrgb(21, 122, 22)
HSLhsl(121, 71%, 28%)
HSVhsv(121, 83%, 48%)
CMYKcmyk(82.8%, 0%, 82%, 52.2%)
CIE-LABlab(44.43, -46.83, 43.14)
CIE-LCHlch(44.43, 63.67, 137.35°)
OKLaboklab(50.56% -0.1271 0.0963)
OKLCHoklch(50.56% 0.159 142.8)
XYZxyz(7.4131, 14.1355, 3.0966)
Luminance0.1414 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#157A16 #7A1579
analogous
#467A15 #157A16 #157A48
triadic
#157A16 #16157A #7A1615
tetradic
#157A16 #15467A #7A1579 #7A4815
square
#157A16 #15467A #7A1579 #7A4815
split-complementary
#157A16 #48157A #7A1546
monochromatic
#041A05 #0C460D #157A16 #1EAE1F #2EDB30

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##157A16#FFFFFF#000000##FFFFFF
##157A161.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)
#726622
Tritanopia (blue-blind)
#007667
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #157a16;
/* rgb */ color: rgb(21, 122, 22);
/* oklch */ color: oklch(50.6% 0.159 142.8);
Tailwind
colors: {
  custom: {
    50: '#68a25c',
    500: '#157a16',
    950: '#000000',
  },
}
SCSS
$custom: #157a16;
$custom-light: #68a25c;
$custom-dark: #000000;
JSON
{
  "hex": "#157a16",
  "rgb": {
    "r": 21,
    "g": 122,
    "b": 22
  },
  "hsl": {
    "h": 120.594,
    "s": 70.629,
    "l": 28.039
  },
  "oklch": {
    "l": 0.50563,
    "c": 0.15943,
    "h": 142.8
  },
  "luminance": 0.14136
}

Semantic roles & 50–950 ramp

primary
#157A16
secondary
#AF3BAE
accent
#3AECED
background
#F6FAF5
surface
#ECF3E9
border
#C7CDC5
text
#070F04
muted
#7A7F79

Preview Lab

Preview with #157A16

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

Preview Lab → · Contrast checker → · Palette generator →

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