#157D28#157D28

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

Color values

HEX#157D28
RGBrgb(21, 125, 40)
HSLhsl(131, 71%, 29%)
HSVhsv(131, 83%, 49%)
CMYKcmyk(83.2%, 0%, 68%, 51%)
CIE-LABlab(45.61, -46.19, 37.19)
CIE-LCHlch(45.61, 59.30, 141.16°)
OKLaboklab(51.59% -0.1245 0.0862)
OKLCHoklch(51.59% 0.151 145.3)
XYZxyz(8.0253, 14.9789, 4.4753)
Luminance0.1498 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#157D28 #7D156A
analogous
#367D15 #157D28 #157D5C
triadic
#157D28 #28157D #7D2815
tetradic
#157D28 #15367D #7D156A #7D5C15
square
#157D28 #15367D #7D156A #7D5C15
split-complementary
#157D28 #5C157D #7D1536
monochromatic
#041A08 #0C4917 #157D28 #1EB139 #30DC50

Accessibility & contrast

On white

5.26
#157D28 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #157D28
5.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##157D28#FFFFFF#000000##FFFFFF
##157D281.005.264.005.26
#FFFFFF5.261.0021.001.00
#0000004.0021.001.0021.00
##FFFFFF5.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7F711D
Deuteranopia (green-blind)
#746930
Tritanopia (blue-blind)
#007A6B
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #157d28;
/* rgb */ color: rgb(21, 125, 40);
/* oklch */ color: oklch(51.6% 0.151 145.3);
Tailwind
colors: {
  custom: {
    50: '#67a466',
    500: '#157d28',
    950: '#000000',
  },
}
SCSS
$custom: #157d28;
$custom-light: #67a466;
$custom-dark: #000000;
JSON
{
  "hex": "#157d28",
  "rgb": {
    "r": 21,
    "g": 125,
    "b": 40
  },
  "hsl": {
    "h": 130.962,
    "s": 71.233,
    "l": 28.627
  },
  "oklch": {
    "l": 0.51586,
    "c": 0.15145,
    "h": 145.3
  },
  "luminance": 0.1498
}

Semantic roles & 50–950 ramp

primary
#157D28
secondary
#B23C9D
accent
#3ACDEE
background
#F6FAF6
surface
#ECF4EB
border
#C7CEC6
text
#070F06
muted
#7A7F7A

Preview Lab

Preview with #157D28

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

Preview Lab → · Contrast checker → · Palette generator →

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