#157C20#157C20

#157C20 is a mid, vivid green. Relative luminance 0.147; OKLCH L 51.2% C 0.156 H 144.0°. Best body text is #FFFFFF at 5.34:1 contrast (WCAG AA passes).

Color values

HEX#157C20
RGBrgb(21, 124, 32)
HSLhsl(126, 71%, 28%)
HSVhsv(126, 83%, 49%)
CMYKcmyk(83.1%, 0%, 74.2%, 51.4%)
CIE-LABlab(45.19, -46.68, 40.20)
CIE-LCHlch(45.19, 61.61, 139.27°)
OKLaboklab(51.22% -0.1262 0.0916)
OKLCHoklch(51.22% 0.156 144)
XYZxyz(7.7771, 14.6781, 3.7895)
Luminance0.1468 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#157C20 #7C1571
analogous
#3D7C15 #157C20 #157C53
triadic
#157C20 #20157C #7C2015
tetradic
#157C20 #153D7C #7C1571 #7C5315
square
#157C20 #153D7C #7C1571 #7C5315
split-complementary
#157C20 #53157C #7C153D
monochromatic
#041A07 #0C4812 #157C20 #1EB02E #30DC42

Accessibility & contrast

On white

5.34
#157C20 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.94
#157C20 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #157C20
5.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##157C20#FFFFFF#000000##FFFFFF
##157C201.005.343.945.34
#FFFFFF5.341.0021.001.00
#0000003.9421.001.0021.00
##FFFFFF5.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7E7011
Deuteranopia (green-blind)
#736829
Tritanopia (blue-blind)
#00786A
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #157c20;
/* rgb */ color: rgb(21, 124, 32);
/* oklch */ color: oklch(51.2% 0.156 144.0);
Tailwind
colors: {
  custom: {
    50: '#68a361',
    500: '#157c20',
    950: '#000000',
  },
}
SCSS
$custom: #157c20;
$custom-light: #68a361;
$custom-dark: #000000;
JSON
{
  "hex": "#157c20",
  "rgb": {
    "r": 21,
    "g": 124,
    "b": 32
  },
  "hsl": {
    "h": 126.408,
    "s": 71.034,
    "l": 28.431
  },
  "oklch": {
    "l": 0.51219,
    "c": 0.15592,
    "h": 144
  },
  "luminance": 0.14679
}

Semantic roles & 50–950 ramp

primary
#157C20
secondary
#B13CA5
accent
#3ADBEE
background
#F6FAF5
surface
#ECF4EA
border
#C7CEC6
text
#070F05
muted
#7A7F79

Preview Lab

Preview with #157C20

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

Preview Lab → · Contrast checker → · Palette generator →

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