#157E37#157E37

#157E37 is a mid, vivid green. Relative luminance 0.154; OKLCH L 52.1% C 0.140 H 148.6°. Best body text is #FFFFFF at 5.16:1 contrast (WCAG AA passes).

Color values

HEX#157E37
RGBrgb(21, 126, 55)
HSLhsl(139, 71%, 29%)
HSVhsv(139, 83%, 49%)
CMYKcmyk(83.3%, 0%, 56.3%, 50.6%)
CIE-LABlab(46.12, -44.51, 30.44)
CIE-LCHlch(46.12, 53.93, 145.64°)
OKLaboklab(52.07% -0.1195 0.073)
OKLCHoklch(52.07% 0.14 148.6)
XYZxyz(8.4590, 15.3559, 6.1319)
Luminance0.1536 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#157E37 #7E155C
analogous
#277E15 #157E37 #157E6C
triadic
#157E37 #37157E #7E3715
tetradic
#157E37 #15277E #7E155C #7E6C15
square
#157E37 #15277E #7E155C #7E6C15
split-complementary
#157E37 #6C157E #7E1527
monochromatic
#041A0B #0C4A20 #157E37 #1EB24E #31DD68

Accessibility & contrast

On white

5.16
#157E37 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.07
#157E37 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #157E37
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##157E37#FFFFFF#000000##FFFFFF
##157E371.005.164.075.16
#FFFFFF5.161.0021.001.00
#0000004.0721.001.0021.00
##FFFFFF5.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7F7230
Deuteranopia (green-blind)
#746A3C
Tritanopia (blue-blind)
#007B6E
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #157e37;
/* rgb */ color: rgb(21, 126, 55);
/* oklch */ color: oklch(52.1% 0.140 148.6);
Tailwind
colors: {
  custom: {
    50: '#67a470',
    500: '#157e37',
    950: '#000000',
  },
}
SCSS
$custom: #157e37;
$custom-light: #67a470;
$custom-dark: #000000;
JSON
{
  "hex": "#157e37",
  "rgb": {
    "r": 21,
    "g": 126,
    "b": 55
  },
  "hsl": {
    "h": 139.429,
    "s": 71.429,
    "l": 28.824
  },
  "oklch": {
    "l": 0.52066,
    "c": 0.14004,
    "h": 148.6
  },
  "luminance": 0.15357
}

Semantic roles & 50–950 ramp

primary
#157E37
secondary
#B33C8C
accent
#3AB4EE
background
#F6FAF6
surface
#EBF4EC
border
#C6CEC7
text
#070F07
muted
#7A7F7A

Preview Lab

Preview with #157E37

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

Preview Lab → · Contrast checker → · Palette generator →

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