#157C38#157C38

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

Color values

HEX#157C38
RGBrgb(21, 124, 56)
HSLhsl(140, 71%, 28%)
HSVhsv(140, 83%, 49%)
CMYKcmyk(83.1%, 0%, 54.8%, 51.4%)
CIE-LABlab(45.44, -43.63, 29.09)
CIE-LCHlch(45.44, 52.44, 146.30°)
OKLaboklab(51.51% -0.1171 0.0701)
OKLCHoklch(51.51% 0.136 149.1)
XYZxyz(8.2300, 14.8592, 6.1750)
Luminance0.1486 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#157C38 #7C1559
analogous
#267C15 #157C38 #157C6B
triadic
#157C38 #38157C #7C3815
tetradic
#157C38 #15267C #7C1559 #7C6B15
square
#157C38 #15267C #7C1559 #7C6B15
split-complementary
#157C38 #6B157C #7C1526
monochromatic
#041A0C #0C4820 #157C38 #1EB050 #30DC6A

Accessibility & contrast

On white

5.29
#157C38 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.97
#157C38 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #157C38
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##157C38#FFFFFF#000000##FFFFFF
##157C381.005.293.975.29
#FFFFFF5.291.0021.001.00
#0000003.9721.001.0021.00
##FFFFFF5.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7D7032
Deuteranopia (green-blind)
#72683D
Tritanopia (blue-blind)
#00796C
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #157c38;
/* rgb */ color: rgb(21, 124, 56);
/* oklch */ color: oklch(51.5% 0.136 149.1);
Tailwind
colors: {
  custom: {
    50: '#66a370',
    500: '#157c38',
    950: '#000000',
  },
}
SCSS
$custom: #157c38;
$custom-light: #66a370;
$custom-dark: #000000;
JSON
{
  "hex": "#157c38",
  "rgb": {
    "r": 21,
    "g": 124,
    "b": 56
  },
  "hsl": {
    "h": 140.388,
    "s": 71.034,
    "l": 28.431
  },
  "oklch": {
    "l": 0.51508,
    "c": 0.13648,
    "h": 149.1
  },
  "luminance": 0.1486
}

Semantic roles & 50–950 ramp

primary
#157C38
secondary
#B13C89
accent
#3AB1EE
background
#F6FAF6
surface
#EBF4EC
border
#C6CEC7
text
#070F07
muted
#7A7F7A

Preview Lab

Preview with #157C38

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

Preview Lab → · Contrast checker → · Palette generator →

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