#157A38#157A38

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

Color values

HEX#157A38
RGBrgb(21, 122, 56)
HSLhsl(141, 71%, 28%)
HSVhsv(141, 83%, 48%)
CMYKcmyk(82.8%, 0%, 54.1%, 52.2%)
CIE-LABlab(44.75, -42.89, 28.24)
CIE-LCHlch(44.75, 51.36, 146.64°)
OKLaboklab(50.93% -0.1152 0.0682)
OKLCHoklch(50.93% 0.134 149.4)
XYZxyz(7.9819, 14.3630, 6.0923)
Luminance0.1436 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#157A38 #7A1557
analogous
#257A15 #157A38 #157A6A
triadic
#157A38 #38157A #7A3815
tetradic
#157A38 #15257A #7A1557 #7A6A15
square
#157A38 #15257A #7A1557 #7A6A15
split-complementary
#157A38 #6A157A #7A1525
monochromatic
#041A0C #0C4620 #157A38 #1EAE50 #2EDB6A

Accessibility & contrast

On white

5.42
#157A38 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #157A38
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##157A38#FFFFFF#000000##FFFFFF
##157A381.005.423.875.42
#FFFFFF5.421.0021.001.00
#0000003.8721.001.0021.00
##FFFFFF5.421.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #157a38;
/* rgb */ color: rgb(21, 122, 56);
/* oklch */ color: oklch(50.9% 0.134 149.4);
Tailwind
colors: {
  custom: {
    50: '#66a170',
    500: '#157a38',
    950: '#000000',
  },
}
SCSS
$custom: #157a38;
$custom-light: #66a170;
$custom-dark: #000000;
JSON
{
  "hex": "#157a38",
  "rgb": {
    "r": 21,
    "g": 122,
    "b": 56
  },
  "hsl": {
    "h": 140.792,
    "s": 70.629,
    "l": 28.039
  },
  "oklch": {
    "l": 0.50935,
    "c": 0.13383,
    "h": 149.4
  },
  "luminance": 0.14364
}

Semantic roles & 50–950 ramp

primary
#157A38
secondary
#AF3B87
accent
#3AAFED
background
#F6FAF6
surface
#EBF3EC
border
#C6CDC7
text
#070F07
muted
#7A7F7A

Preview Lab

Preview with #157A38

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

Preview Lab → · Contrast checker → · Palette generator →

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