#157C3A#157C3A

#157C3A is a mid, vivid green. Relative luminance 0.149; OKLCH L 51.5% C 0.135 H 149.7°. Best body text is #FFFFFF at 5.28:1 contrast (WCAG AA passes).

Color values

HEX#157C3A
RGBrgb(21, 124, 58)
HSLhsl(142, 71%, 28%)
HSVhsv(142, 83%, 49%)
CMYKcmyk(83.1%, 0%, 53.2%, 51.4%)
CIE-LABlab(45.47, -43.30, 28.06)
CIE-LCHlch(45.47, 51.60, 147.05°)
OKLaboklab(51.54% -0.1162 0.0679)
OKLCHoklch(51.54% 0.135 149.7)
XYZxyz(8.2799, 14.8792, 6.4378)
Luminance0.1488 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#157C3A #7C1557
analogous
#247C15 #157C3A #157C6D
triadic
#157C3A #3A157C #7C3A15
tetradic
#157C3A #15247C #7C1557 #7C6D15
square
#157C3A #15247C #7C1557 #7C6D15
split-complementary
#157C3A #6D157C #7C1524
monochromatic
#041A0C #0C4822 #157C3A #1EB052 #30DC6D

Accessibility & contrast

On white

5.28
#157C3A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.98
#157C3A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #157C3A
5.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##157C3A#FFFFFF#000000##FFFFFF
##157C3A1.005.283.985.28
#FFFFFF5.281.0021.001.00
#0000003.9821.001.0021.00
##FFFFFF5.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7D7034
Deuteranopia (green-blind)
#71683F
Tritanopia (blue-blind)
#007A6D
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #157c3a;
/* rgb */ color: rgb(21, 124, 58);
/* oklch */ color: oklch(51.5% 0.135 149.7);
Tailwind
colors: {
  custom: {
    50: '#66a371',
    500: '#157c3a',
    950: '#000000',
  },
}
SCSS
$custom: #157c3a;
$custom-light: #66a371;
$custom-dark: #000000;
JSON
{
  "hex": "#157c3a",
  "rgb": {
    "r": 21,
    "g": 124,
    "b": 58
  },
  "hsl": {
    "h": 141.553,
    "s": 71.034,
    "l": 28.431
  },
  "oklch": {
    "l": 0.5154,
    "c": 0.1346,
    "h": 149.7
  },
  "luminance": 0.1488
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #157C3A

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

Preview Lab → · Contrast checker → · Palette generator →

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