#157A2D#157A2D

#157A2D is a mid, vivid green. Relative luminance 0.143; OKLCH L 50.8% C 0.144 H 146.5°. Best body text is #FFFFFF at 5.45:1 contrast (WCAG AA passes).

Color values

HEX#157A2D
RGBrgb(21, 122, 45)
HSLhsl(134, 71%, 28%)
HSVhsv(134, 83%, 48%)
CMYKcmyk(82.8%, 0%, 63.1%, 52.2%)
CIE-LABlab(44.61, -44.52, 33.72)
CIE-LCHlch(44.61, 55.85, 142.86°)
OKLaboklab(50.78% -0.1198 0.0793)
OKLCHoklch(50.78% 0.144 146.5)
XYZxyz(7.7419, 14.2670, 4.8279)
Luminance0.1427 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#157A2D #7A1562
analogous
#307A15 #157A2D #157A5F
triadic
#157A2D #2D157A #7A2D15
tetradic
#157A2D #15307A #7A1562 #7A5F15
square
#157A2D #15307A #7A1562 #7A5F15
split-complementary
#157A2D #5F157A #7A1530
monochromatic
#041A0A #0C461A #157A2D #1EAE40 #2EDB57

Accessibility & contrast

On white

5.45
#157A2D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.85
#157A2D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #157A2D
5.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##157A2D#FFFFFF#000000##FFFFFF
##157A2D1.005.453.855.45
#FFFFFF5.451.0021.001.00
#0000003.8521.001.0021.00
##FFFFFF5.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7C6E25
Deuteranopia (green-blind)
#716633
Tritanopia (blue-blind)
#007769
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #157a2d;
/* rgb */ color: rgb(21, 122, 45);
/* oklch */ color: oklch(50.8% 0.144 146.5);
Tailwind
colors: {
  custom: {
    50: '#66a169',
    500: '#157a2d',
    950: '#000000',
  },
}
SCSS
$custom: #157a2d;
$custom-light: #66a169;
$custom-dark: #000000;
JSON
{
  "hex": "#157a2d",
  "rgb": {
    "r": 21,
    "g": 122,
    "b": 45
  },
  "hsl": {
    "h": 134.257,
    "s": 70.629,
    "l": 28.039
  },
  "oklch": {
    "l": 0.50779,
    "c": 0.14368,
    "h": 146.5
  },
  "luminance": 0.14268
}

Semantic roles & 50–950 ramp

primary
#157A2D
secondary
#AF3B94
accent
#3AC3ED
background
#F6FAF6
surface
#EBF3EB
border
#C6CDC6
text
#070F06
muted
#7A7F7A

Preview Lab

Preview with #157A2D

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

Preview Lab → · Contrast checker → · Palette generator →

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