#157A33#157A33

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

Color values

HEX#157A33
RGBrgb(21, 122, 51)
HSLhsl(138, 71%, 28%)
HSVhsv(138, 83%, 48%)
CMYKcmyk(82.8%, 0%, 58.2%, 52.2%)
CIE-LABlab(44.68, -43.68, 30.78)
CIE-LCHlch(44.68, 53.44, 144.82°)
OKLaboklab(50.86% -0.1173 0.0735)
OKLCHoklch(50.86% 0.138 148)
XYZxyz(7.8657, 14.3166, 5.4801)
Luminance0.1432 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#157A33 #7A155C
analogous
#297A15 #157A33 #157A65
triadic
#157A33 #33157A #7A3315
tetradic
#157A33 #15297A #7A155C #7A6515
square
#157A33 #15297A #7A155C #7A6515
split-complementary
#157A33 #65157A #7A1529
monochromatic
#041A0B #0C461D #157A33 #1EAE49 #2EDB62

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##157A33#FFFFFF#000000##FFFFFF
##157A331.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)
#7B6E2C
Deuteranopia (green-blind)
#706739
Tritanopia (blue-blind)
#00776A
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #157a33;
/* rgb */ color: rgb(21, 122, 51);
/* oklch */ color: oklch(50.9% 0.138 148.0);
Tailwind
colors: {
  custom: {
    50: '#66a16d',
    500: '#157a33',
    950: '#000000',
  },
}
SCSS
$custom: #157a33;
$custom-light: #66a16d;
$custom-dark: #000000;
JSON
{
  "hex": "#157a33",
  "rgb": {
    "r": 21,
    "g": 122,
    "b": 51
  },
  "hsl": {
    "h": 137.822,
    "s": 70.629,
    "l": 28.039
  },
  "oklch": {
    "l": 0.50859,
    "c": 0.13844,
    "h": 148
  },
  "luminance": 0.14318
}

Semantic roles & 50–950 ramp

primary
#157A33
secondary
#AF3B8D
accent
#3AB8ED
background
#F6FAF6
surface
#EBF3EB
border
#C6CDC6
text
#070F07
muted
#7A7F7A

Preview Lab

Preview with #157A33

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

Preview Lab → · Contrast checker → · Palette generator →

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