#157D38#157D38

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

Color values

HEX#157D38
RGBrgb(21, 125, 56)
HSLhsl(140, 71%, 29%)
HSVhsv(140, 83%, 49%)
CMYKcmyk(83.2%, 0%, 55.2%, 51%)
CIE-LABlab(45.79, -43.99, 29.51)
CIE-LCHlch(45.79, 52.98, 146.14°)
OKLaboklab(51.8% -0.1181 0.071)
OKLCHoklch(51.8% 0.138 149)
XYZxyz(8.3560, 15.1112, 6.2170)
Luminance0.1511 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#157D38 #7D155A
analogous
#267D15 #157D38 #157D6C
triadic
#157D38 #38157D #7D3815
tetradic
#157D38 #15267D #7D155A #7D6C15
square
#157D38 #15267D #7D155A #7D6C15
split-complementary
#157D38 #6C157D #7D1526
monochromatic
#041A0C #0C4921 #157D38 #1EB14F #30DC6A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##157D38#FFFFFF#000000##FFFFFF
##157D381.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)
#7E7132
Deuteranopia (green-blind)
#73693D
Tritanopia (blue-blind)
#007A6D
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #157d38;
/* rgb */ color: rgb(21, 125, 56);
/* oklch */ color: oklch(51.8% 0.138 149.0);
Tailwind
colors: {
  custom: {
    50: '#67a470',
    500: '#157d38',
    950: '#000000',
  },
}
SCSS
$custom: #157d38;
$custom-light: #67a470;
$custom-dark: #000000;
JSON
{
  "hex": "#157d38",
  "rgb": {
    "r": 21,
    "g": 125,
    "b": 56
  },
  "hsl": {
    "h": 140.192,
    "s": 71.233,
    "l": 28.627
  },
  "oklch": {
    "l": 0.51795,
    "c": 0.13781,
    "h": 149
  },
  "luminance": 0.15112
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #157D38

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

Preview Lab → · Contrast checker → · Palette generator →

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