#157D2E#157D2E

#157D2E is a mid, vivid green. Relative luminance 0.150; OKLCH L 51.7% C 0.147 H 146.5°. Best body text is #FFFFFF at 5.24:1 contrast (WCAG AA passes).

Color values

HEX#157D2E
RGBrgb(21, 125, 46)
HSLhsl(134, 71%, 29%)
HSVhsv(134, 83%, 49%)
CMYKcmyk(83.2%, 0%, 63.2%, 51%)
CIE-LABlab(45.67, -45.45, 34.44)
CIE-LCHlch(45.67, 57.02, 142.85°)
OKLaboklab(51.66% -0.1223 0.081)
OKLCHoklch(51.66% 0.147 146.5)
XYZxyz(8.1354, 15.0229, 5.0552)
Luminance0.1502 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#157D2E #7D1564
analogous
#307D15 #157D2E #157D62
triadic
#157D2E #2E157D #7D2E15
tetradic
#157D2E #15307D #7D1564 #7D6215
square
#157D2E #15307D #7D1564 #7D6215
split-complementary
#157D2E #62157D #7D1530
monochromatic
#041A0A #0C491B #157D2E #1EB141 #30DC5A

Accessibility & contrast

On white

5.24
#157D2E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.00
#157D2E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #157D2E
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##157D2E#FFFFFF#000000##FFFFFF
##157D2E1.005.244.005.24
#FFFFFF5.241.0021.001.00
#0000004.0021.001.0021.00
##FFFFFF5.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7F7125
Deuteranopia (green-blind)
#736935
Tritanopia (blue-blind)
#007A6C
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #157d2e;
/* rgb */ color: rgb(21, 125, 46);
/* oklch */ color: oklch(51.7% 0.147 146.5);
Tailwind
colors: {
  custom: {
    50: '#67a46a',
    500: '#157d2e',
    950: '#000000',
  },
}
SCSS
$custom: #157d2e;
$custom-light: #67a46a;
$custom-dark: #000000;
JSON
{
  "hex": "#157d2e",
  "rgb": {
    "r": 21,
    "g": 125,
    "b": 46
  },
  "hsl": {
    "h": 134.423,
    "s": 71.233,
    "l": 28.627
  },
  "oklch": {
    "l": 0.51656,
    "c": 0.14665,
    "h": 146.5
  },
  "luminance": 0.15024
}

Semantic roles & 50–950 ramp

primary
#157D2E
secondary
#B23C96
accent
#3AC3EE
background
#F6FAF6
surface
#EBF4EB
border
#C6CEC6
text
#070F06
muted
#7A7F7A

Preview Lab

Preview with #157D2E

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

Preview Lab → · Contrast checker → · Palette generator →

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