#157A30#157A30

#157A30 is a mid, vivid green. Relative luminance 0.143; OKLCH L 50.8% C 0.141 H 147.2°. Best body text is #FFFFFF at 5.44:1 contrast (WCAG AA passes).

Color values

HEX#157A30
RGBrgb(21, 122, 48)
HSLhsl(136, 71%, 28%)
HSVhsv(136, 83%, 48%)
CMYKcmyk(82.8%, 0%, 60.7%, 52.2%)
CIE-LABlab(44.65, -44.11, 32.27)
CIE-LCHlch(44.65, 54.66, 143.82°)
OKLaboklab(50.82% -0.1186 0.0765)
OKLCHoklch(50.82% 0.141 147.2)
XYZxyz(7.8017, 14.2909, 5.1430)
Luminance0.1429 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#157A30 #7A155F
analogous
#2C7A15 #157A30 #157A62
triadic
#157A30 #30157A #7A3015
tetradic
#157A30 #152C7A #7A155F #7A6215
square
#157A30 #152C7A #7A155F #7A6215
split-complementary
#157A30 #62157A #7A152C
monochromatic
#041A0A #0C461B #157A30 #1EAE45 #2EDB5D

Accessibility & contrast

On white

5.44
#157A30 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.86
#157A30 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #157A30
5.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##157A30#FFFFFF#000000##FFFFFF
##157A301.005.443.865.44
#FFFFFF5.441.0021.001.00
#0000003.8621.001.0021.00
##FFFFFF5.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7C6E29
Deuteranopia (green-blind)
#706736
Tritanopia (blue-blind)
#00776A
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #157a30;
/* rgb */ color: rgb(21, 122, 48);
/* oklch */ color: oklch(50.8% 0.141 147.2);
Tailwind
colors: {
  custom: {
    50: '#66a16b',
    500: '#157a30',
    950: '#000000',
  },
}
SCSS
$custom: #157a30;
$custom-light: #66a16b;
$custom-dark: #000000;
JSON
{
  "hex": "#157a30",
  "rgb": {
    "r": 21,
    "g": 122,
    "b": 48
  },
  "hsl": {
    "h": 136.04,
    "s": 70.629,
    "l": 28.039
  },
  "oklch": {
    "l": 0.50818,
    "c": 0.14111,
    "h": 147.2
  },
  "luminance": 0.14292
}

Semantic roles & 50–950 ramp

primary
#157A30
secondary
#AF3B90
accent
#3ABEED
background
#F6FAF6
surface
#EBF3EB
border
#C6CDC6
text
#070F07
muted
#7A7F7A

Preview Lab

Preview with #157A30

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

Preview Lab → · Contrast checker → · Palette generator →

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