#157D36#157D36

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

Color values

HEX#157D36
RGBrgb(21, 125, 54)
HSLhsl(139, 71%, 29%)
HSVhsv(139, 83%, 49%)
CMYKcmyk(83.2%, 0%, 56.8%, 51%)
CIE-LABlab(45.76, -44.31, 30.53)
CIE-LCHlch(45.76, 53.80, 145.43°)
OKLaboklab(51.77% -0.119 0.0731)
OKLCHoklch(51.77% 0.14 148.4)
XYZxyz(8.3081, 15.0920, 5.9645)
Luminance0.1509 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#157D36 #7D155C
analogous
#287D15 #157D36 #157D6A
triadic
#157D36 #36157D #7D3615
tetradic
#157D36 #15287D #7D155C #7D6A15
square
#157D36 #15287D #7D155C #7D6A15
split-complementary
#157D36 #6A157D #7D1528
monochromatic
#041A0B #0C491F #157D36 #1EB14D #30DC67

Accessibility & contrast

On white

5.23
#157D36 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #157D36
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##157D36#FFFFFF#000000##FFFFFF
##157D361.005.234.025.23
#FFFFFF5.231.0021.001.00
#0000004.0221.001.0021.00
##FFFFFF5.231.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #157d36;
/* rgb */ color: rgb(21, 125, 54);
/* oklch */ color: oklch(51.8% 0.140 148.4);
Tailwind
colors: {
  custom: {
    50: '#67a46f',
    500: '#157d36',
    950: '#000000',
  },
}
SCSS
$custom: #157d36;
$custom-light: #67a46f;
$custom-dark: #000000;
JSON
{
  "hex": "#157d36",
  "rgb": {
    "r": 21,
    "g": 125,
    "b": 54
  },
  "hsl": {
    "h": 139.038,
    "s": 71.233,
    "l": 28.627
  },
  "oklch": {
    "l": 0.51765,
    "c": 0.13965,
    "h": 148.4
  },
  "luminance": 0.15093
}

Semantic roles & 50–950 ramp

primary
#157D36
secondary
#B23C8D
accent
#3AB5EE
background
#F6FAF6
surface
#EBF4EC
border
#C6CEC7
text
#070F07
muted
#7A7F7A

Preview Lab

Preview with #157D36

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

Preview Lab → · Contrast checker → · Palette generator →

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