#157E14#157E14

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

Color values

HEX#157E14
RGBrgb(21, 126, 20)
HSLhsl(119, 73%, 29%)
HSVhsv(119, 84%, 49%)
CMYKcmyk(83.3%, 0%, 84.1%, 50.6%)
CIE-LABlab(45.81, -48.27, 45.07)
CIE-LCHlch(45.81, 66.04, 136.96°)
OKLaboklab(51.71% -0.131 0.1)
OKLCHoklch(51.71% 0.165 142.6)
XYZxyz(7.8959, 15.1307, 3.1661)
Luminance0.1513 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#157E14 #7D147E
analogous
#4A7E14 #157E14 #147E48
triadic
#157E14 #14157E #7E1415
tetradic
#157E14 #144A7E #7D147E #7E4814
square
#157E14 #144A7E #7D147E #7E4814
split-complementary
#157E14 #48147E #7E144A
monochromatic
#041A04 #0C490C #157E14 #1EB31C #30DE2E

Accessibility & contrast

On white

5.22
#157E14 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #157E14
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##157E14#FFFFFF#000000##FFFFFF
##157E141.005.224.035.22
#FFFFFF5.221.0021.001.00
#0000004.0321.001.0021.00
##FFFFFF5.221.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #157e14;
/* rgb */ color: rgb(21, 126, 20);
/* oklch */ color: oklch(51.7% 0.165 142.6);
Tailwind
colors: {
  custom: {
    50: '#69a45c',
    500: '#157e14',
    950: '#000000',
  },
}
SCSS
$custom: #157e14;
$custom-light: #69a45c;
$custom-dark: #000000;
JSON
{
  "hex": "#157e14",
  "rgb": {
    "r": 21,
    "g": 126,
    "b": 20
  },
  "hsl": {
    "h": 119.434,
    "s": 72.603,
    "l": 28.627
  },
  "oklch": {
    "l": 0.51714,
    "c": 0.16486,
    "h": 142.6
  },
  "luminance": 0.15132
}

Semantic roles & 50–950 ramp

primary
#157E14
secondary
#B23AB3
accent
#38EFEE
background
#F6FAF5
surface
#ECF4E9
border
#C7CEC5
text
#070F04
muted
#7A7F79

Preview Lab

Preview with #157E14

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

Preview Lab → · Contrast checker → · Palette generator →

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