#157C40#157C40

#157C40 is a mid, vivid green. Relative luminance 0.149; OKLCH L 51.6% C 0.129 H 151.7°. Best body text is #FFFFFF at 5.26:1 contrast (WCAG AA passes).

Color values

HEX#157C40
RGBrgb(21, 124, 64)
HSLhsl(145, 71%, 28%)
HSVhsv(145, 83%, 49%)
CMYKcmyk(83.1%, 0%, 48.4%, 51.4%)
CIE-LABlab(45.56, -42.25, 24.93)
CIE-LCHlch(45.56, 49.05, 149.46°)
OKLaboklab(51.64% -0.1135 0.0611)
OKLCHoklch(51.64% 0.129 151.7)
XYZxyz(8.4416, 14.9439, 7.2890)
Luminance0.1494 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#157C40 #7C1551
analogous
#1D7C15 #157C40 #157C73
triadic
#157C40 #40157C #7C4015
tetradic
#157C40 #151D7C #7C1551 #7C7315
square
#157C40 #151D7C #7C1551 #7C7315
split-complementary
#157C40 #73157C #7C151D
monochromatic
#041A0E #0C4825 #157C40 #1EB05B #30DC77

Accessibility & contrast

On white

5.26
#157C40 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.99
#157C40 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #157C40
5.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##157C40#FFFFFF#000000##FFFFFF
##157C401.005.263.995.26
#FFFFFF5.261.0021.001.00
#0000003.9921.001.0021.00
##FFFFFF5.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7C713B
Deuteranopia (green-blind)
#716944
Tritanopia (blue-blind)
#007A6E
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #157c40;
/* rgb */ color: rgb(21, 124, 64);
/* oklch */ color: oklch(51.6% 0.129 151.7);
Tailwind
colors: {
  custom: {
    50: '#66a376',
    500: '#157c40',
    950: '#000000',
  },
}
SCSS
$custom: #157c40;
$custom-light: #66a376;
$custom-dark: #000000;
JSON
{
  "hex": "#157c40",
  "rgb": {
    "r": 21,
    "g": 124,
    "b": 64
  },
  "hsl": {
    "h": 145.049,
    "s": 71.034,
    "l": 28.431
  },
  "oklch": {
    "l": 0.51643,
    "c": 0.12885,
    "h": 151.7
  },
  "luminance": 0.14945
}

Semantic roles & 50–950 ramp

primary
#157C40
secondary
#B13C80
accent
#3AA3EE
background
#F6FAF7
surface
#EBF4ED
border
#C6CEC8
text
#070F08
muted
#7A7F7B

Preview Lab

Preview with #157C40

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

Preview Lab → · Contrast checker → · Palette generator →

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