#157D29#157D29

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

Color values

HEX#157D29
RGBrgb(21, 125, 41)
HSLhsl(132, 71%, 29%)
HSVhsv(132, 83%, 49%)
CMYKcmyk(83.2%, 0%, 67.2%, 51%)
CIE-LABlab(45.61, -46.07, 36.75)
CIE-LCHlch(45.61, 58.93, 141.42°)
OKLaboklab(51.6% -0.1241 0.0854)
OKLCHoklch(51.6% 0.151 145.5)
XYZxyz(8.0425, 14.9858, 4.5661)
Luminance0.1499 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#157D29 #7D1569
analogous
#357D15 #157D29 #157D5D
triadic
#157D29 #29157D #7D2915
tetradic
#157D29 #15357D #7D1569 #7D5D15
square
#157D29 #15357D #7D1569 #7D5D15
split-complementary
#157D29 #5D157D #7D1535
monochromatic
#041A09 #0C4918 #157D29 #1EB13A #30DC51

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##157D29#FFFFFF#000000##FFFFFF
##157D291.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)
#7F711F
Deuteranopia (green-blind)
#746931
Tritanopia (blue-blind)
#007A6C
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #157d29;
/* rgb */ color: rgb(21, 125, 41);
/* oklch */ color: oklch(51.6% 0.151 145.5);
Tailwind
colors: {
  custom: {
    50: '#67a467',
    500: '#157d29',
    950: '#000000',
  },
}
SCSS
$custom: #157d29;
$custom-light: #67a467;
$custom-dark: #000000;
JSON
{
  "hex": "#157d29",
  "rgb": {
    "r": 21,
    "g": 125,
    "b": 41
  },
  "hsl": {
    "h": 131.538,
    "s": 71.233,
    "l": 28.627
  },
  "oklch": {
    "l": 0.51597,
    "c": 0.15067,
    "h": 145.5
  },
  "luminance": 0.14987
}

Semantic roles & 50–950 ramp

primary
#157D29
secondary
#B23C9B
accent
#3ACBEE
background
#F6FAF6
surface
#ECF4EB
border
#C7CEC6
text
#070F06
muted
#7A7F7A

Preview Lab

Preview with #157D29

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

Preview Lab → · Contrast checker → · Palette generator →

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