#157C3C#157C3C

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

Color values

HEX#157C3C
RGBrgb(21, 124, 60)
HSLhsl(143, 71%, 28%)
HSVhsv(143, 83%, 49%)
CMYKcmyk(83.1%, 0%, 51.6%, 51.4%)
CIE-LABlab(45.50, -42.96, 27.03)
CIE-LCHlch(45.50, 50.76, 147.83°)
OKLaboklab(51.57% -0.1153 0.0657)
OKLCHoklch(51.57% 0.133 150.3)
XYZxyz(8.3318, 14.9000, 6.7110)
Luminance0.1490 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#157C3C #7C1555
analogous
#227C15 #157C3C #157C6F
triadic
#157C3C #3C157C #7C3C15
tetradic
#157C3C #15227C #7C1555 #7C6F15
square
#157C3C #15227C #7C1555 #7C6F15
split-complementary
#157C3C #6F157C #7C1522
monochromatic
#041A0D #0C4823 #157C3C #1EB055 #30DC71

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##157C3C#FFFFFF#000000##FFFFFF
##157C3C1.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)
#7D7137
Deuteranopia (green-blind)
#716841
Tritanopia (blue-blind)
#007A6D
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #157c3c;
/* rgb */ color: rgb(21, 124, 60);
/* oklch */ color: oklch(51.6% 0.133 150.3);
Tailwind
colors: {
  custom: {
    50: '#66a373',
    500: '#157c3c',
    950: '#000000',
  },
}
SCSS
$custom: #157c3c;
$custom-light: #66a373;
$custom-dark: #000000;
JSON
{
  "hex": "#157c3c",
  "rgb": {
    "r": 21,
    "g": 124,
    "b": 60
  },
  "hsl": {
    "h": 142.718,
    "s": 71.034,
    "l": 28.431
  },
  "oklch": {
    "l": 0.51573,
    "c": 0.1327,
    "h": 150.3
  },
  "luminance": 0.14901
}

Semantic roles & 50–950 ramp

primary
#157C3C
secondary
#B13C85
accent
#3AAAEE
background
#F6FAF7
surface
#EBF4ED
border
#C6CEC8
text
#070F08
muted
#7A7F7B

Preview Lab

Preview with #157C3C

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

Preview Lab → · Contrast checker → · Palette generator →

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