#157D20#157D20

#157D20 is a mid, vivid green. Relative luminance 0.149; OKLCH L 51.5% C 0.157 H 144.0°. Best body text is #FFFFFF at 5.27:1 contrast (WCAG AA passes).

Color values

HEX#157D20
RGBrgb(21, 125, 32)
HSLhsl(126, 71%, 29%)
HSVhsv(126, 83%, 49%)
CMYKcmyk(83.2%, 0%, 74.4%, 51%)
CIE-LABlab(45.54, -47.02, 40.56)
CIE-LCHlch(45.54, 62.10, 139.22°)
OKLaboklab(51.51% -0.1271 0.0923)
OKLCHoklch(51.51% 0.157 144)
XYZxyz(7.9030, 14.9300, 3.8315)
Luminance0.1493 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#157D20 #7D1572
analogous
#3E7D15 #157D20 #157D54
triadic
#157D20 #20157D #7D2015
tetradic
#157D20 #153E7D #7D1572 #7D5415
square
#157D20 #153E7D #7D1572 #7D5415
split-complementary
#157D20 #54157D #7D153E
monochromatic
#041A07 #0C4913 #157D20 #1EB12D #30DC42

Accessibility & contrast

On white

5.27
#157D20 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.99
#157D20 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #157D20
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##157D20#FFFFFF#000000##FFFFFF
##157D201.005.273.995.27
#FFFFFF5.271.0021.001.00
#0000003.9921.001.0021.00
##FFFFFF5.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#807010
Deuteranopia (green-blind)
#74692A
Tritanopia (blue-blind)
#00796B
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #157d20;
/* rgb */ color: rgb(21, 125, 32);
/* oklch */ color: oklch(51.5% 0.157 144.0);
Tailwind
colors: {
  custom: {
    50: '#68a461',
    500: '#157d20',
    950: '#000000',
  },
}
SCSS
$custom: #157d20;
$custom-light: #68a461;
$custom-dark: #000000;
JSON
{
  "hex": "#157d20",
  "rgb": {
    "r": 21,
    "g": 125,
    "b": 32
  },
  "hsl": {
    "h": 126.346,
    "s": 71.233,
    "l": 28.627
  },
  "oklch": {
    "l": 0.51509,
    "c": 0.1571,
    "h": 144
  },
  "luminance": 0.14931
}

Semantic roles & 50–950 ramp

primary
#157D20
secondary
#B23CA6
accent
#3ADBEE
background
#F6FAF6
surface
#ECF4EB
border
#C7CEC6
text
#070F05
muted
#7A7F7A

Preview Lab

Preview with #157D20

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

Preview Lab → · Contrast checker → · Palette generator →

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