#157A14#157A14

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

Color values

HEX#157A14
RGBrgb(21, 122, 20)
HSLhsl(119, 72%, 28%)
HSVhsv(119, 84%, 48%)
CMYKcmyk(82.8%, 0%, 83.6%, 52.2%)
CIE-LABlab(44.42, -46.96, 43.77)
CIE-LCHlch(44.42, 64.20, 137.02°)
OKLaboklab(50.55% -0.1275 0.0973)
OKLCHoklch(50.55% 0.16 142.7)
XYZxyz(7.3946, 14.1281, 2.9990)
Luminance0.1413 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#157A14 #79147A
analogous
#487A14 #157A14 #147A46
triadic
#157A14 #14157A #7A1415
tetradic
#157A14 #14487A #79147A #7A4614
square
#157A14 #14487A #79147A #7A4614
split-complementary
#157A14 #46147A #7A1448
monochromatic
#051A04 #0C450B #157A14 #1EAF1D #2EDC2C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

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

Design tokens & code

CSS
--color: #157a14;
/* rgb */ color: rgb(21, 122, 20);
/* oklch */ color: oklch(50.6% 0.160 142.7);
Tailwind
colors: {
  custom: {
    50: '#68a25b',
    500: '#157a14',
    950: '#000000',
  },
}
SCSS
$custom: #157a14;
$custom-light: #68a25b;
$custom-dark: #000000;
JSON
{
  "hex": "#157a14",
  "rgb": {
    "r": 21,
    "g": 122,
    "b": 20
  },
  "hsl": {
    "h": 119.412,
    "s": 71.831,
    "l": 27.843
  },
  "oklch": {
    "l": 0.50551,
    "c": 0.16039,
    "h": 142.7
  },
  "luminance": 0.14129
}

Semantic roles & 50–950 ramp

primary
#157A14
secondary
#AF3AB0
accent
#39EFED
background
#F6FAF5
surface
#ECF3E9
border
#C7CDC5
text
#070F04
muted
#7A7F79

Preview Lab

Preview with #157A14

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

Preview Lab → · Contrast checker → · Palette generator →

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