#157B38#157B38

#157B38 is a mid, vivid green. Relative luminance 0.146; OKLCH L 51.2% C 0.135 H 149.2°. Best body text is #FFFFFF at 5.35:1 contrast (WCAG AA passes).

Color values

HEX#157B38
RGBrgb(21, 123, 56)
HSLhsl(141, 71%, 28%)
HSVhsv(141, 83%, 48%)
CMYKcmyk(82.9%, 0%, 54.5%, 51.8%)
CIE-LABlab(45.10, -43.26, 28.67)
CIE-LCHlch(45.10, 51.90, 146.47°)
OKLaboklab(51.22% -0.1161 0.0691)
OKLCHoklch(51.22% 0.135 149.2)
XYZxyz(8.1054, 14.6099, 6.1334)
Luminance0.1461 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#157B38 #7B1558
analogous
#257B15 #157B38 #157B6B
triadic
#157B38 #38157B #7B3815
tetradic
#157B38 #15257B #7B1558 #7B6B15
square
#157B38 #15257B #7B1558 #7B6B15
split-complementary
#157B38 #6B157B #7B1525
monochromatic
#041A0C #0C4720 #157B38 #1EAF50 #2FDB6A

Accessibility & contrast

On white

5.35
#157B38 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.92
#157B38 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #157B38
5.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##157B38#FFFFFF#000000##FFFFFF
##157B381.005.353.925.35
#FFFFFF5.351.0021.001.00
#0000003.9221.001.0021.00
##FFFFFF5.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7C7032
Deuteranopia (green-blind)
#71683D
Tritanopia (blue-blind)
#00796C
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #157b38;
/* rgb */ color: rgb(21, 123, 56);
/* oklch */ color: oklch(51.2% 0.135 149.2);
Tailwind
colors: {
  custom: {
    50: '#66a270',
    500: '#157b38',
    950: '#000000',
  },
}
SCSS
$custom: #157b38;
$custom-light: #66a270;
$custom-dark: #000000;
JSON
{
  "hex": "#157b38",
  "rgb": {
    "r": 21,
    "g": 123,
    "b": 56
  },
  "hsl": {
    "h": 140.588,
    "s": 70.833,
    "l": 28.235
  },
  "oklch": {
    "l": 0.51222,
    "c": 0.13516,
    "h": 149.2
  },
  "luminance": 0.14611
}

Semantic roles & 50–950 ramp

primary
#157B38
secondary
#B03B88
accent
#3AB0EE
background
#F6FAF6
surface
#EBF4EC
border
#C6CEC7
text
#070F07
muted
#7A7F7A

Preview Lab

Preview with #157B38

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

Preview Lab → · Contrast checker → · Palette generator →

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