#157F29#157F29

#157F29 is a mid, vivid green. Relative luminance 0.155; OKLCH L 52.2% C 0.153 H 145.4°. Best body text is #FFFFFF at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#157F29
RGBrgb(21, 127, 41)
HSLhsl(131, 72%, 29%)
HSVhsv(131, 83%, 50%)
CMYKcmyk(83.5%, 0%, 67.7%, 50.2%)
CIE-LABlab(46.31, -46.76, 37.51)
CIE-LCHlch(46.31, 59.94, 141.26°)
OKLaboklab(52.17% -0.126 0.087)
OKLCHoklch(52.17% 0.153 145.4)
XYZxyz(8.2983, 15.4973, 4.6513)
Luminance0.1550 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#157F29 #7F156B
analogous
#367F15 #157F29 #157F5E
triadic
#157F29 #29157F #7F2915
tetradic
#157F29 #15367F #7F156B #7F5E15
square
#157F29 #15367F #7F156B #7F5E15
split-complementary
#157F29 #5E157F #7F1536
monochromatic
#041A08 #0C4A18 #157F29 #1EB43A #31DD52

Accessibility & contrast

On white

5.12
#157F29 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.10
#157F29 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #157F29
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##157F29#FFFFFF#000000##FFFFFF
##157F291.005.124.105.12
#FFFFFF5.121.0021.001.00
#0000004.1021.001.0021.00
##FFFFFF5.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#81731E
Deuteranopia (green-blind)
#766B31
Tritanopia (blue-blind)
#007C6D
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #157f29;
/* rgb */ color: rgb(21, 127, 41);
/* oklch */ color: oklch(52.2% 0.153 145.4);
Tailwind
colors: {
  custom: {
    50: '#68a567',
    500: '#157f29',
    950: '#000000',
  },
}
SCSS
$custom: #157f29;
$custom-light: #68a567;
$custom-dark: #000000;
JSON
{
  "hex": "#157f29",
  "rgb": {
    "r": 21,
    "g": 127,
    "b": 41
  },
  "hsl": {
    "h": 131.321,
    "s": 71.622,
    "l": 29.02
  },
  "oklch": {
    "l": 0.52173,
    "c": 0.15314,
    "h": 145.4
  },
  "luminance": 0.15498
}

Semantic roles & 50–950 ramp

primary
#157F29
secondary
#B43C9D
accent
#39CCEE
background
#F6FAF6
surface
#ECF4EB
border
#C7CEC6
text
#070F06
muted
#7A7F7A

Preview Lab

Preview with #157F29

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

Preview Lab → · Contrast checker → · Palette generator →

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