#157D2A#157D2A

#157D2A is a mid, vivid green. Relative luminance 0.150; OKLCH L 51.6% C 0.150 H 145.7°. Best body text is #FFFFFF at 5.25:1 contrast (WCAG AA passes).

Color values

HEX#157D2A
RGBrgb(21, 125, 42)
HSLhsl(132, 71%, 29%)
HSVhsv(132, 83%, 49%)
CMYKcmyk(83.2%, 0%, 66.4%, 51%)
CIE-LABlab(45.62, -45.95, 36.30)
CIE-LCHlch(45.62, 58.56, 141.70°)
OKLaboklab(51.61% -0.1238 0.0845)
OKLCHoklch(51.61% 0.15 145.7)
XYZxyz(8.0602, 14.9928, 4.6591)
Luminance0.1499 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#157D2A #7D1568
analogous
#347D15 #157D2A #157D5E
triadic
#157D2A #2A157D #7D2A15
tetradic
#157D2A #15347D #7D1568 #7D5E15
square
#157D2A #15347D #7D1568 #7D5E15
split-complementary
#157D2A #5E157D #7D1534
monochromatic
#041A09 #0C4918 #157D2A #1EB13C #30DC53

Accessibility & contrast

On white

5.25
#157D2A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.00
#157D2A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #157D2A
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##157D2A#FFFFFF#000000##FFFFFF
##157D2A1.005.254.005.25
#FFFFFF5.251.0021.001.00
#0000004.0021.001.0021.00
##FFFFFF5.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7F7120
Deuteranopia (green-blind)
#746931
Tritanopia (blue-blind)
#007A6C
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #157d2a;
/* rgb */ color: rgb(21, 125, 42);
/* oklch */ color: oklch(51.6% 0.150 145.7);
Tailwind
colors: {
  custom: {
    50: '#67a467',
    500: '#157d2a',
    950: '#000000',
  },
}
SCSS
$custom: #157d2a;
$custom-light: #67a467;
$custom-dark: #000000;
JSON
{
  "hex": "#157d2a",
  "rgb": {
    "r": 21,
    "g": 125,
    "b": 42
  },
  "hsl": {
    "h": 132.115,
    "s": 71.233,
    "l": 28.627
  },
  "oklch": {
    "l": 0.51608,
    "c": 0.14989,
    "h": 145.7
  },
  "luminance": 0.14994
}

Semantic roles & 50–950 ramp

primary
#157D2A
secondary
#B23C9A
accent
#3ACAEE
background
#F6FAF6
surface
#ECF4EB
border
#C7CEC6
text
#070F06
muted
#7A7F7A

Preview Lab

Preview with #157D2A

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

Preview Lab → · Contrast checker → · Palette generator →

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