#157D14#157D14

#157D14 is a mid, vivid green. Relative luminance 0.149; OKLCH L 51.4% C 0.164 H 142.6°. Best body text is #FFFFFF at 5.28:1 contrast (WCAG AA passes).

Color values

HEX#157D14
RGBrgb(21, 125, 20)
HSLhsl(119, 72%, 28%)
HSVhsv(119, 84%, 49%)
CMYKcmyk(83.2%, 0%, 84%, 51%)
CIE-LABlab(45.46, -47.94, 44.75)
CIE-LCHlch(45.46, 65.58, 136.97°)
OKLaboklab(51.42% -0.1302 0.0993)
OKLCHoklch(51.42% 0.164 142.6)
XYZxyz(7.7687, 14.8762, 3.1236)
Luminance0.1488 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#157D14 #7C147D
analogous
#497D14 #157D14 #147D47
triadic
#157D14 #14157D #7D1415
tetradic
#157D14 #14497D #7C147D #7D4714
square
#157D14 #14497D #7C147D #7D4714
split-complementary
#157D14 #47147D #7D1449
monochromatic
#041A04 #0C480C #157D14 #1EB21C #30DE2E

Accessibility & contrast

On white

5.28
#157D14 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.98
#157D14 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #157D14
5.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##157D14#FFFFFF#000000##FFFFFF
##157D141.005.283.985.28
#FFFFFF5.281.0021.001.00
#0000003.9821.001.0021.00
##FFFFFF5.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#807000
Deuteranopia (green-blind)
#756921
Tritanopia (blue-blind)
#00796A
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #157d14;
/* rgb */ color: rgb(21, 125, 20);
/* oklch */ color: oklch(51.4% 0.164 142.6);
Tailwind
colors: {
  custom: {
    50: '#69a45c',
    500: '#157d14',
    950: '#000000',
  },
}
SCSS
$custom: #157d14;
$custom-light: #69a45c;
$custom-dark: #000000;
JSON
{
  "hex": "#157d14",
  "rgb": {
    "r": 21,
    "g": 125,
    "b": 20
  },
  "hsl": {
    "h": 119.429,
    "s": 72.414,
    "l": 28.431
  },
  "oklch": {
    "l": 0.51424,
    "c": 0.16375,
    "h": 142.6
  },
  "luminance": 0.14877
}

Semantic roles & 50–950 ramp

primary
#157D14
secondary
#B13AB2
accent
#39EFED
background
#F6FAF5
surface
#ECF4E9
border
#C7CEC5
text
#070F04
muted
#7A7F79

Preview Lab

Preview with #157D14

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

Preview Lab → · Contrast checker → · Palette generator →

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