#157B3B#157B3B

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

Color values

HEX#157B3B
RGBrgb(21, 123, 59)
HSLhsl(142, 71%, 28%)
HSVhsv(142, 83%, 48%)
CMYKcmyk(82.9%, 0%, 52%, 51.8%)
CIE-LABlab(45.14, -42.76, 27.12)
CIE-LCHlch(45.14, 50.63, 147.62°)
OKLaboklab(51.27% -0.1148 0.0658)
OKLCHoklch(51.27% 0.132 150.2)
XYZxyz(8.1809, 14.6401, 6.5315)
Luminance0.1464 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#157B3B #7B1555
analogous
#227B15 #157B3B #157B6E
triadic
#157B3B #3B157B #7B3B15
tetradic
#157B3B #15227B #7B1555 #7B6E15
square
#157B3B #15227B #7B1555 #7B6E15
split-complementary
#157B3B #6E157B #7B1522
monochromatic
#041A0D #0C4722 #157B3B #1EAF54 #2FDB6F

Accessibility & contrast

On white

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

On black

3.93
#157B3B on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##157B3B#FFFFFF#000000##FFFFFF
##157B3B1.005.353.935.35
#FFFFFF5.351.0021.001.00
#0000003.9321.001.0021.00
##FFFFFF5.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7C7036
Deuteranopia (green-blind)
#706840
Tritanopia (blue-blind)
#00796C
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #157b3b;
/* rgb */ color: rgb(21, 123, 59);
/* oklch */ color: oklch(51.3% 0.132 150.2);
Tailwind
colors: {
  custom: {
    50: '#66a272',
    500: '#157b3b',
    950: '#000000',
  },
}
SCSS
$custom: #157b3b;
$custom-light: #66a272;
$custom-dark: #000000;
JSON
{
  "hex": "#157b3b",
  "rgb": {
    "r": 21,
    "g": 123,
    "b": 59
  },
  "hsl": {
    "h": 142.353,
    "s": 70.833,
    "l": 28.235
  },
  "oklch": {
    "l": 0.51271,
    "c": 0.13232,
    "h": 150.2
  },
  "luminance": 0.14641
}

Semantic roles & 50–950 ramp

primary
#157B3B
secondary
#B03B85
accent
#3AABEE
background
#F6FAF7
surface
#EBF4ED
border
#C6CEC8
text
#070F08
muted
#7A7F7B

Preview Lab

Preview with #157B3B

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

Preview Lab → · Contrast checker → · Palette generator →

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