#157D37#157D37

#157D37 is a mid, vivid green. Relative luminance 0.151; OKLCH L 51.8% C 0.139 H 148.7°. Best body text is #FFFFFF at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#157D37
RGBrgb(21, 125, 55)
HSLhsl(140, 71%, 29%)
HSVhsv(140, 83%, 49%)
CMYKcmyk(83.2%, 0%, 56%, 51%)
CIE-LABlab(45.77, -44.15, 30.02)
CIE-LCHlch(45.77, 53.39, 145.79°)
OKLaboklab(51.78% -0.1185 0.0721)
OKLCHoklch(51.78% 0.139 148.7)
XYZxyz(8.3318, 15.1015, 6.0895)
Luminance0.1510 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#157D37 #7D155B
analogous
#277D15 #157D37 #157D6B
triadic
#157D37 #37157D #7D3715
tetradic
#157D37 #15277D #7D155B #7D6B15
square
#157D37 #15277D #7D155B #7D6B15
split-complementary
#157D37 #6B157D #7D1527
monochromatic
#041A0C #0C4920 #157D37 #1EB14E #30DC68

Accessibility & contrast

On white

5.22
#157D37 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.02
#157D37 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #157D37
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##157D37#FFFFFF#000000##FFFFFF
##157D371.005.224.025.22
#FFFFFF5.221.0021.001.00
#0000004.0221.001.0021.00
##FFFFFF5.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7E7131
Deuteranopia (green-blind)
#73693C
Tritanopia (blue-blind)
#007A6D
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #157d37;
/* rgb */ color: rgb(21, 125, 55);
/* oklch */ color: oklch(51.8% 0.139 148.7);
Tailwind
colors: {
  custom: {
    50: '#67a470',
    500: '#157d37',
    950: '#000000',
  },
}
SCSS
$custom: #157d37;
$custom-light: #67a470;
$custom-dark: #000000;
JSON
{
  "hex": "#157d37",
  "rgb": {
    "r": 21,
    "g": 125,
    "b": 55
  },
  "hsl": {
    "h": 139.615,
    "s": 71.233,
    "l": 28.627
  },
  "oklch": {
    "l": 0.51779,
    "c": 0.13873,
    "h": 148.7
  },
  "luminance": 0.15102
}

Semantic roles & 50–950 ramp

primary
#157D37
secondary
#B23C8B
accent
#3AB3EE
background
#F6FAF6
surface
#EBF4EC
border
#C6CEC7
text
#070F07
muted
#7A7F7A

Preview Lab

Preview with #157D37

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

Preview Lab → · Contrast checker → · Palette generator →

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