#157C3F#157C3F

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

Color values

HEX#157C3F
RGBrgb(21, 124, 63)
HSLhsl(144, 71%, 28%)
HSVhsv(144, 83%, 49%)
CMYKcmyk(83.1%, 0%, 49.2%, 51.4%)
CIE-LABlab(45.54, -42.43, 25.45)
CIE-LCHlch(45.54, 49.48, 149.04°)
OKLaboklab(51.63% -0.1139 0.0622)
OKLCHoklch(51.63% 0.13 151.4)
XYZxyz(8.4134, 14.9326, 7.1405)
Luminance0.1493 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#157C3F #7C1552
analogous
#1E7C15 #157C3F #157C72
triadic
#157C3F #3F157C #7C3F15
tetradic
#157C3F #151E7C #7C1552 #7C7215
square
#157C3F #151E7C #7C1552 #7C7215
split-complementary
#157C3F #72157C #7C151E
monochromatic
#041A0D #0C4824 #157C3F #1EB05A #30DC76

Accessibility & contrast

On white

5.27
#157C3F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #157C3F
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##157C3F#FFFFFF#000000##FFFFFF
##157C3F1.005.273.995.27
#FFFFFF5.271.0021.001.00
#0000003.9921.001.0021.00
##FFFFFF5.271.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #157c3f;
/* rgb */ color: rgb(21, 124, 63);
/* oklch */ color: oklch(51.6% 0.130 151.4);
Tailwind
colors: {
  custom: {
    50: '#66a375',
    500: '#157c3f',
    950: '#000000',
  },
}
SCSS
$custom: #157c3f;
$custom-light: #66a375;
$custom-dark: #000000;
JSON
{
  "hex": "#157c3f",
  "rgb": {
    "r": 21,
    "g": 124,
    "b": 63
  },
  "hsl": {
    "h": 144.466,
    "s": 71.034,
    "l": 28.431
  },
  "oklch": {
    "l": 0.51625,
    "c": 0.12982,
    "h": 151.4
  },
  "luminance": 0.14934
}

Semantic roles & 50–950 ramp

primary
#157C3F
secondary
#B13C81
accent
#3AA4EE
background
#F6FAF7
surface
#EBF4ED
border
#C6CEC8
text
#070F08
muted
#7A7F7B

Preview Lab

Preview with #157C3F

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

Preview Lab → · Contrast checker → · Palette generator →

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