#157B3A#157B3A

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

Color values

HEX#157B3A
RGBrgb(21, 123, 58)
HSLhsl(142, 71%, 28%)
HSVhsv(142, 83%, 48%)
CMYKcmyk(82.9%, 0%, 52.8%, 51.8%)
CIE-LABlab(45.12, -42.93, 27.64)
CIE-LCHlch(45.12, 51.06, 147.23°)
OKLaboklab(51.25% -0.1152 0.0669)
OKLCHoklch(51.25% 0.133 149.9)
XYZxyz(8.1552, 14.6298, 6.3962)
Luminance0.1463 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#157B3A #7B1556
analogous
#237B15 #157B3A #157B6D
triadic
#157B3A #3A157B #7B3A15
tetradic
#157B3A #15237B #7B1556 #7B6D15
square
#157B3A #15237B #7B1556 #7B6D15
split-complementary
#157B3A #6D157B #7B1523
monochromatic
#041A0C #0C4721 #157B3A #1EAF53 #2FDB6E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##157B3A#FFFFFF#000000##FFFFFF
##157B3A1.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)
#7C7034
Deuteranopia (green-blind)
#70683F
Tritanopia (blue-blind)
#00796C
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #157b3a;
/* rgb */ color: rgb(21, 123, 58);
/* oklch */ color: oklch(51.3% 0.133 149.9);
Tailwind
colors: {
  custom: {
    50: '#66a271',
    500: '#157b3a',
    950: '#000000',
  },
}
SCSS
$custom: #157b3a;
$custom-light: #66a271;
$custom-dark: #000000;
JSON
{
  "hex": "#157b3a",
  "rgb": {
    "r": 21,
    "g": 123,
    "b": 58
  },
  "hsl": {
    "h": 141.765,
    "s": 70.833,
    "l": 28.235
  },
  "oklch": {
    "l": 0.51254,
    "c": 0.13327,
    "h": 149.9
  },
  "luminance": 0.14631
}

Semantic roles & 50–950 ramp

primary
#157B3A
secondary
#B03B86
accent
#3AADEE
background
#F6FAF6
surface
#EBF4EC
border
#C6CEC7
text
#070F08
muted
#7A7F7B

Preview Lab

Preview with #157B3A

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

Preview Lab → · Contrast checker → · Palette generator →

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