#157E16#157E16

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

Color values

HEX#157E16
RGBrgb(21, 126, 22)
HSLhsl(121, 71%, 29%)
HSVhsv(121, 83%, 49%)
CMYKcmyk(83.3%, 0%, 82.5%, 50.6%)
CIE-LABlab(45.82, -48.14, 44.46)
CIE-LCHlch(45.82, 65.53, 137.27°)
OKLaboklab(51.73% -0.1306 0.0991)
OKLCHoklch(51.73% 0.164 142.8)
XYZxyz(7.9144, 15.1381, 3.2637)
Luminance0.1514 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#157E16 #7E157D
analogous
#497E15 #157E16 #157E4B
triadic
#157E16 #16157E #7E1615
tetradic
#157E16 #15497E #7E157D #7E4B15
square
#157E16 #15497E #7E157D #7E4B15
split-complementary
#157E16 #4B157E #7E1549
monochromatic
#041A05 #0C4A0D #157E16 #1EB21F #31DD32

Accessibility & contrast

On white

5.21
#157E16 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #157E16
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##157E16#FFFFFF#000000##FFFFFF
##157E161.005.214.035.21
#FFFFFF5.211.0021.001.00
#0000004.0321.001.0021.00
##FFFFFF5.211.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #157e16;
/* rgb */ color: rgb(21, 126, 22);
/* oklch */ color: oklch(51.7% 0.164 142.8);
Tailwind
colors: {
  custom: {
    50: '#69a45d',
    500: '#157e16',
    950: '#000000',
  },
}
SCSS
$custom: #157e16;
$custom-light: #69a45d;
$custom-dark: #000000;
JSON
{
  "hex": "#157e16",
  "rgb": {
    "r": 21,
    "g": 126,
    "b": 22
  },
  "hsl": {
    "h": 120.571,
    "s": 71.429,
    "l": 28.824
  },
  "oklch": {
    "l": 0.51725,
    "c": 0.16392,
    "h": 142.8
  },
  "luminance": 0.15139
}

Semantic roles & 50–950 ramp

primary
#157E16
secondary
#B33CB2
accent
#3AECEE
background
#F6FAF5
surface
#ECF4E9
border
#C7CEC5
text
#070F05
muted
#7A7F79

Preview Lab

Preview with #157E16

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

Preview Lab → · Contrast checker → · Palette generator →

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