#157D2D#157D2D

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

Color values

HEX#157D2D
RGBrgb(21, 125, 45)
HSLhsl(134, 71%, 29%)
HSVhsv(134, 83%, 49%)
CMYKcmyk(83.2%, 0%, 64%, 51%)
CIE-LABlab(45.65, -45.58, 34.91)
CIE-LCHlch(45.65, 57.41, 142.55°)
OKLaboklab(51.64% -0.1227 0.0819)
OKLCHoklch(51.64% 0.147 146.3)
XYZxyz(8.1159, 15.0151, 4.9526)
Luminance0.1502 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#157D2D #7D1565
analogous
#317D15 #157D2D #157D61
triadic
#157D2D #2D157D #7D2D15
tetradic
#157D2D #15317D #7D1565 #7D6115
square
#157D2D #15317D #7D1565 #7D6115
split-complementary
#157D2D #61157D #7D1531
monochromatic
#041A09 #0C491A #157D2D #1EB140 #30DC58

Accessibility & contrast

On white

5.25
#157D2D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #157D2D
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##157D2D#FFFFFF#000000##FFFFFF
##157D2D1.005.254.005.25
#FFFFFF5.251.0021.001.00
#0000004.0021.001.0021.00
##FFFFFF5.251.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #157d2d;
/* rgb */ color: rgb(21, 125, 45);
/* oklch */ color: oklch(51.6% 0.147 146.3);
Tailwind
colors: {
  custom: {
    50: '#67a469',
    500: '#157d2d',
    950: '#000000',
  },
}
SCSS
$custom: #157d2d;
$custom-light: #67a469;
$custom-dark: #000000;
JSON
{
  "hex": "#157d2d",
  "rgb": {
    "r": 21,
    "g": 125,
    "b": 45
  },
  "hsl": {
    "h": 133.846,
    "s": 71.233,
    "l": 28.627
  },
  "oklch": {
    "l": 0.51643,
    "c": 0.14748,
    "h": 146.3
  },
  "luminance": 0.15016
}

Semantic roles & 50–950 ramp

primary
#157D2D
secondary
#B23C97
accent
#3AC4EE
background
#F6FAF6
surface
#EBF4EB
border
#C6CEC6
text
#070F06
muted
#7A7F7A

Preview Lab

Preview with #157D2D

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

Preview Lab → · Contrast checker → · Palette generator →

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