#157A37#157A37

#157A37 is a mid, vivid green. Relative luminance 0.144; OKLCH L 50.9% C 0.135 H 149.1°. Best body text is #FFFFFF at 5.43:1 contrast (WCAG AA passes).

Color values

HEX#157A37
RGBrgb(21, 122, 55)
HSLhsl(140, 71%, 28%)
HSVhsv(140, 83%, 48%)
CMYKcmyk(82.8%, 0%, 54.9%, 52.2%)
CIE-LABlab(44.74, -43.06, 28.76)
CIE-LCHlch(44.74, 51.78, 146.26°)
OKLaboklab(50.92% -0.1156 0.0693)
OKLCHoklch(50.92% 0.135 149.1)
XYZxyz(7.9577, 14.3534, 5.9648)
Luminance0.1435 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#157A37 #7A1558
analogous
#257A15 #157A37 #157A69
triadic
#157A37 #37157A #7A3715
tetradic
#157A37 #15257A #7A1558 #7A6915
square
#157A37 #15257A #7A1558 #7A6915
split-complementary
#157A37 #69157A #7A1525
monochromatic
#041A0C #0C461F #157A37 #1EAE4F #2EDB68

Accessibility & contrast

On white

5.43
#157A37 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.87
#157A37 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #157A37
5.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##157A37#FFFFFF#000000##FFFFFF
##157A371.005.433.875.43
#FFFFFF5.431.0021.001.00
#0000003.8721.001.0021.00
##FFFFFF5.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7B6F31
Deuteranopia (green-blind)
#70673C
Tritanopia (blue-blind)
#00786B
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #157a37;
/* rgb */ color: rgb(21, 122, 55);
/* oklch */ color: oklch(50.9% 0.135 149.1);
Tailwind
colors: {
  custom: {
    50: '#66a16f',
    500: '#157a37',
    950: '#000000',
  },
}
SCSS
$custom: #157a37;
$custom-light: #66a16f;
$custom-dark: #000000;
JSON
{
  "hex": "#157a37",
  "rgb": {
    "r": 21,
    "g": 122,
    "b": 55
  },
  "hsl": {
    "h": 140.198,
    "s": 70.629,
    "l": 28.039
  },
  "oklch": {
    "l": 0.50919,
    "c": 0.13476,
    "h": 149.1
  },
  "luminance": 0.14354
}

Semantic roles & 50–950 ramp

primary
#157A37
secondary
#AF3B88
accent
#3AB1ED
background
#F6FAF6
surface
#EBF3EC
border
#C6CDC7
text
#070F07
muted
#7A7F7A

Preview Lab

Preview with #157A37

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

Preview Lab → · Contrast checker → · Palette generator →

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