#157D2B#157D2B

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

Color values

HEX#157D2B
RGBrgb(21, 125, 43)
HSLhsl(133, 71%, 29%)
HSVhsv(133, 83%, 49%)
CMYKcmyk(83.2%, 0%, 65.6%, 51%)
CIE-LABlab(45.63, -45.83, 35.84)
CIE-LCHlch(45.63, 58.18, 141.98°)
OKLaboklab(51.62% -0.1234 0.0837)
OKLCHoklch(51.62% 0.149 145.9)
XYZxyz(8.0783, 15.0001, 4.7546)
Luminance0.1500 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#157D2B #7D1567
analogous
#337D15 #157D2B #157D5F
triadic
#157D2B #2B157D #7D2B15
tetradic
#157D2B #15337D #7D1567 #7D5F15
square
#157D2B #15337D #7D1567 #7D5F15
split-complementary
#157D2B #5F157D #7D1533
monochromatic
#041A09 #0C4919 #157D2B #1EB13D #30DC55

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##157D2B#FFFFFF#000000##FFFFFF
##157D2B1.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)
#7F7121
Deuteranopia (green-blind)
#746932
Tritanopia (blue-blind)
#007A6C
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #157d2b;
/* rgb */ color: rgb(21, 125, 43);
/* oklch */ color: oklch(51.6% 0.149 145.9);
Tailwind
colors: {
  custom: {
    50: '#67a468',
    500: '#157d2b',
    950: '#000000',
  },
}
SCSS
$custom: #157d2b;
$custom-light: #67a468;
$custom-dark: #000000;
JSON
{
  "hex": "#157d2b",
  "rgb": {
    "r": 21,
    "g": 125,
    "b": 43
  },
  "hsl": {
    "h": 132.692,
    "s": 71.233,
    "l": 28.627
  },
  "oklch": {
    "l": 0.5162,
    "c": 0.1491,
    "h": 145.9
  },
  "luminance": 0.15001
}

Semantic roles & 50–950 ramp

primary
#157D2B
secondary
#B23C99
accent
#3AC8EE
background
#F6FAF6
surface
#ECF4EB
border
#C7CEC6
text
#070F06
muted
#7A7F7A

Preview Lab

Preview with #157D2B

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

Preview Lab → · Contrast checker → · Palette generator →

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