#157F16#157F16

#157F16 is a mid, vivid green. Relative luminance 0.154; OKLCH L 52.0% C 0.165 H 142.8°. Best body text is #FFFFFF at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#157F16
RGBrgb(21, 127, 22)
HSLhsl(121, 72%, 29%)
HSVhsv(121, 83%, 50%)
CMYKcmyk(83.5%, 0%, 82.7%, 50.2%)
CIE-LABlab(46.17, -48.46, 44.79)
CIE-LCHlch(46.17, 65.99, 137.25°)
OKLaboklab(52.02% -0.1315 0.0997)
OKLCHoklch(52.02% 0.165 142.8)
XYZxyz(8.0429, 15.3951, 3.3066)
Luminance0.1540 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#157F16 #7F157E
analogous
#497F15 #157F16 #157F4B
triadic
#157F16 #16157F #7F1615
tetradic
#157F16 #15497F #7F157E #7F4B15
square
#157F16 #15497F #7F157E #7F4B15
split-complementary
#157F16 #4B157F #7F1549
monochromatic
#041A05 #0C4A0D #157F16 #1EB41F #31DD33

Accessibility & contrast

On white

5.15
#157F16 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.08
#157F16 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #157F16
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##157F16#FFFFFF#000000##FFFFFF
##157F161.005.154.085.15
#FFFFFF5.151.0021.001.00
#0000004.0821.001.0021.00
##FFFFFF5.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#827200
Deuteranopia (green-blind)
#776A23
Tritanopia (blue-blind)
#007B6C
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #157f16;
/* rgb */ color: rgb(21, 127, 22);
/* oklch */ color: oklch(52.0% 0.165 142.8);
Tailwind
colors: {
  custom: {
    50: '#69a55d',
    500: '#157f16',
    950: '#000000',
  },
}
SCSS
$custom: #157f16;
$custom-light: #69a55d;
$custom-dark: #000000;
JSON
{
  "hex": "#157f16",
  "rgb": {
    "r": 21,
    "g": 127,
    "b": 22
  },
  "hsl": {
    "h": 120.566,
    "s": 71.622,
    "l": 29.02
  },
  "oklch": {
    "l": 0.52015,
    "c": 0.16503,
    "h": 142.8
  },
  "luminance": 0.15396
}

Semantic roles & 50–950 ramp

primary
#157F16
secondary
#B43CB3
accent
#39EDEE
background
#F6FAF5
surface
#ECF4E9
border
#C7CEC5
text
#070F05
muted
#7A7F79

Preview Lab

Preview with #157F16

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

Preview Lab → · Contrast checker → · Palette generator →

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