#157D16#157D16

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

Color values

HEX#157D16
RGBrgb(21, 125, 22)
HSLhsl(121, 71%, 29%)
HSVhsv(121, 83%, 49%)
CMYKcmyk(83.2%, 0%, 82.4%, 51%)
CIE-LABlab(45.47, -47.81, 44.13)
CIE-LCHlch(45.47, 65.07, 137.29°)
OKLaboklab(51.43% -0.1297 0.0984)
OKLCHoklch(51.43% 0.163 142.8)
XYZxyz(7.7872, 14.8836, 3.2213)
Luminance0.1489 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#157D16 #7D157C
analogous
#487D15 #157D16 #157D4A
triadic
#157D16 #16157D #7D1615
tetradic
#157D16 #15487D #7D157C #7D4A15
square
#157D16 #15487D #7D157C #7D4A15
split-complementary
#157D16 #4A157D #7D1548
monochromatic
#041A05 #0C490D #157D16 #1EB11F #30DC32

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##157D16#FFFFFF#000000##FFFFFF
##157D161.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)
#756923
Tritanopia (blue-blind)
#00796A
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #157d16;
/* rgb */ color: rgb(21, 125, 22);
/* oklch */ color: oklch(51.4% 0.163 142.8);
Tailwind
colors: {
  custom: {
    50: '#68a45d',
    500: '#157d16',
    950: '#000000',
  },
}
SCSS
$custom: #157d16;
$custom-light: #68a45d;
$custom-dark: #000000;
JSON
{
  "hex": "#157d16",
  "rgb": {
    "r": 21,
    "g": 125,
    "b": 22
  },
  "hsl": {
    "h": 120.577,
    "s": 71.233,
    "l": 28.627
  },
  "oklch": {
    "l": 0.51435,
    "c": 0.1628,
    "h": 142.8
  },
  "luminance": 0.14885
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #157D16

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

Preview Lab → · Contrast checker → · Palette generator →

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