#157A2F#157A2F

#157A2F is a mid, vivid green. Relative luminance 0.143; OKLCH L 50.8% C 0.142 H 146.9°. Best body text is #FFFFFF at 5.44:1 contrast (WCAG AA passes).

Color values

HEX#157A2F
RGBrgb(21, 122, 47)
HSLhsl(135, 71%, 28%)
HSVhsv(135, 83%, 48%)
CMYKcmyk(82.8%, 0%, 61.5%, 52.2%)
CIE-LABlab(44.64, -44.25, 32.76)
CIE-LCHlch(44.64, 55.06, 143.49°)
OKLaboklab(50.8% -0.119 0.0774)
OKLCHoklch(50.8% 0.142 146.9)
XYZxyz(7.7813, 14.2828, 5.0355)
Luminance0.1428 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#157A2F #7A1560
analogous
#2D7A15 #157A2F #157A61
triadic
#157A2F #2F157A #7A2F15
tetradic
#157A2F #152D7A #7A1560 #7A6115
square
#157A2F #152D7A #7A1560 #7A6115
split-complementary
#157A2F #61157A #7A152D
monochromatic
#041A0A #0C461B #157A2F #1EAE43 #2EDB5B

Accessibility & contrast

On white

5.44
#157A2F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.86
#157A2F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #157A2F
5.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##157A2F#FFFFFF#000000##FFFFFF
##157A2F1.005.443.865.44
#FFFFFF5.441.0021.001.00
#0000003.8621.001.0021.00
##FFFFFF5.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7C6E27
Deuteranopia (green-blind)
#716735
Tritanopia (blue-blind)
#00776A
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #157a2f;
/* rgb */ color: rgb(21, 122, 47);
/* oklch */ color: oklch(50.8% 0.142 146.9);
Tailwind
colors: {
  custom: {
    50: '#66a16a',
    500: '#157a2f',
    950: '#000000',
  },
}
SCSS
$custom: #157a2f;
$custom-light: #66a16a;
$custom-dark: #000000;
JSON
{
  "hex": "#157a2f",
  "rgb": {
    "r": 21,
    "g": 122,
    "b": 47
  },
  "hsl": {
    "h": 135.446,
    "s": 70.629,
    "l": 28.039
  },
  "oklch": {
    "l": 0.50804,
    "c": 0.14197,
    "h": 146.9
  },
  "luminance": 0.14284
}

Semantic roles & 50–950 ramp

primary
#157A2F
secondary
#AF3B92
accent
#3ABFED
background
#F6FAF6
surface
#EBF3EB
border
#C6CDC6
text
#070F06
muted
#7A7F7A

Preview Lab

Preview with #157A2F

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

Preview Lab → · Contrast checker → · Palette generator →

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