#157C41#157C41

#157C41 is a mid, vivid green. Relative luminance 0.150; OKLCH L 51.7% C 0.128 H 152.1°. Best body text is #FFFFFF at 5.26:1 contrast (WCAG AA passes).

Color values

HEX#157C41
RGBrgb(21, 124, 65)
HSLhsl(146, 71%, 28%)
HSVhsv(146, 83%, 49%)
CMYKcmyk(83.1%, 0%, 47.6%, 51.4%)
CIE-LABlab(45.57, -42.07, 24.39)
CIE-LCHlch(45.57, 48.63, 149.89°)
OKLaboklab(51.66% -0.113 0.0599)
OKLCHoklch(51.66% 0.128 152.1)
XYZxyz(8.4703, 14.9553, 7.4403)
Luminance0.1496 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#157C41 #7C1550
analogous
#1D7C15 #157C41 #157C74
triadic
#157C41 #41157C #7C4115
tetradic
#157C41 #151D7C #7C1550 #7C7415
square
#157C41 #151D7C #7C1550 #7C7415
split-complementary
#157C41 #74157C #7C151D
monochromatic
#041A0E #0C4826 #157C41 #1EB05C #30DC79

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##157C41#FFFFFF#000000##FFFFFF
##157C411.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)
#7C713C
Deuteranopia (green-blind)
#716945
Tritanopia (blue-blind)
#007A6E
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #157c41;
/* rgb */ color: rgb(21, 124, 65);
/* oklch */ color: oklch(51.7% 0.128 152.1);
Tailwind
colors: {
  custom: {
    50: '#66a376',
    500: '#157c41',
    950: '#000000',
  },
}
SCSS
$custom: #157c41;
$custom-light: #66a376;
$custom-dark: #000000;
JSON
{
  "hex": "#157c41",
  "rgb": {
    "r": 21,
    "g": 124,
    "b": 65
  },
  "hsl": {
    "h": 145.631,
    "s": 71.034,
    "l": 28.431
  },
  "oklch": {
    "l": 0.51661,
    "c": 0.12787,
    "h": 152.1
  },
  "luminance": 0.14956
}

Semantic roles & 50–950 ramp

primary
#157C41
secondary
#B13C7F
accent
#3AA1EE
background
#F6FAF7
surface
#EBF4ED
border
#C6CEC8
text
#070F08
muted
#7A7F7B

Preview Lab

Preview with #157C41

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

Preview Lab → · Contrast checker → · Palette generator →

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