#157E38#157E38

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

Color values

HEX#157E38
RGBrgb(21, 126, 56)
HSLhsl(140, 71%, 29%)
HSVhsv(140, 83%, 49%)
CMYKcmyk(83.3%, 0%, 55.6%, 50.6%)
CIE-LABlab(46.13, -44.36, 29.93)
CIE-LCHlch(46.13, 53.51, 145.99°)
OKLaboklab(52.08% -0.1191 0.0719)
OKLCHoklch(52.08% 0.139 148.9)
XYZxyz(8.4832, 15.3656, 6.2594)
Luminance0.1537 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#157E38 #7E155B
analogous
#277E15 #157E38 #157E6D
triadic
#157E38 #38157E #7E3815
tetradic
#157E38 #15277E #7E155B #7E6D15
square
#157E38 #15277E #7E155B #7E6D15
split-complementary
#157E38 #6D157E #7E1527
monochromatic
#041A0C #0C4A21 #157E38 #1EB24F #31DD6A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##157E38#FFFFFF#000000##FFFFFF
##157E381.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)
#7F7232
Deuteranopia (green-blind)
#746A3D
Tritanopia (blue-blind)
#007B6E
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #157e38;
/* rgb */ color: rgb(21, 126, 56);
/* oklch */ color: oklch(52.1% 0.139 148.9);
Tailwind
colors: {
  custom: {
    50: '#67a470',
    500: '#157e38',
    950: '#000000',
  },
}
SCSS
$custom: #157e38;
$custom-light: #67a470;
$custom-dark: #000000;
JSON
{
  "hex": "#157e38",
  "rgb": {
    "r": 21,
    "g": 126,
    "b": 56
  },
  "hsl": {
    "h": 140,
    "s": 71.429,
    "l": 28.824
  },
  "oklch": {
    "l": 0.52081,
    "c": 0.13913,
    "h": 148.9
  },
  "luminance": 0.15367
}

Semantic roles & 50–950 ramp

primary
#157E38
secondary
#B33C8B
accent
#3AB2EE
background
#F6FAF6
surface
#EBF4EC
border
#C6CEC7
text
#070F07
muted
#7A7F7A

Preview Lab

Preview with #157E38

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

Preview Lab → · Contrast checker → · Palette generator →

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