#157A29#157A29

#157A29 is a mid, vivid green. Relative luminance 0.142; OKLCH L 50.7% C 0.147 H 145.6°. Best body text is #FFFFFF at 5.46:1 contrast (WCAG AA passes).

Color values

HEX#157A29
RGBrgb(21, 122, 41)
HSLhsl(132, 71%, 28%)
HSVhsv(132, 83%, 48%)
CMYKcmyk(82.8%, 0%, 66.4%, 52.2%)
CIE-LABlab(44.57, -45.03, 35.59)
CIE-LCHlch(44.57, 57.40, 141.68°)
OKLaboklab(50.73% -0.1213 0.0829)
OKLCHoklch(50.73% 0.147 145.6)
XYZxyz(7.6685, 14.2377, 4.4414)
Luminance0.1424 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#157A29 #7A1566
analogous
#347A15 #157A29 #157A5B
triadic
#157A29 #29157A #7A2915
tetradic
#157A29 #15347A #7A1566 #7A5B15
square
#157A29 #15347A #7A1566 #7A5B15
split-complementary
#157A29 #5B157A #7A1534
monochromatic
#041A09 #0C4617 #157A29 #1EAE3B #2EDB51

Accessibility & contrast

On white

5.46
#157A29 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.85
#157A29 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #157A29
5.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##157A29#FFFFFF#000000##FFFFFF
##157A291.005.463.855.46
#FFFFFF5.461.0021.001.00
#0000003.8521.001.0021.00
##FFFFFF5.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7C6E1F
Deuteranopia (green-blind)
#716630
Tritanopia (blue-blind)
#007769
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #157a29;
/* rgb */ color: rgb(21, 122, 41);
/* oklch */ color: oklch(50.7% 0.147 145.6);
Tailwind
colors: {
  custom: {
    50: '#67a166',
    500: '#157a29',
    950: '#000000',
  },
}
SCSS
$custom: #157a29;
$custom-light: #67a166;
$custom-dark: #000000;
JSON
{
  "hex": "#157a29",
  "rgb": {
    "r": 21,
    "g": 122,
    "b": 41
  },
  "hsl": {
    "h": 131.881,
    "s": 70.629,
    "l": 28.039
  },
  "oklch": {
    "l": 0.50731,
    "c": 0.14696,
    "h": 145.6
  },
  "luminance": 0.14239
}

Semantic roles & 50–950 ramp

primary
#157A29
secondary
#AF3B98
accent
#3ACAED
background
#F6FAF6
surface
#EBF3EB
border
#C6CDC6
text
#070F06
muted
#7A7F7A

Preview Lab

Preview with #157A29

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

Preview Lab → · Contrast checker → · Palette generator →

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