#157A28#157A28

#157A28 is a mid, vivid green. Relative luminance 0.142; OKLCH L 50.7% C 0.148 H 145.5°. Best body text is #FFFFFF at 5.46:1 contrast (WCAG AA passes).

Color values

HEX#157A28
RGBrgb(21, 122, 40)
HSLhsl(131, 71%, 28%)
HSVhsv(131, 83%, 48%)
CMYKcmyk(82.8%, 0%, 67.2%, 52.2%)
CIE-LABlab(44.56, -45.15, 36.04)
CIE-LCHlch(44.56, 57.77, 141.40°)
OKLaboklab(50.72% -0.1217 0.0838)
OKLCHoklch(50.72% 0.148 145.5)
XYZxyz(7.6512, 14.2308, 4.3506)
Luminance0.1423 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#157A28 #7A1567
analogous
#347A15 #157A28 #157A5A
triadic
#157A28 #28157A #7A2815
tetradic
#157A28 #15347A #7A1567 #7A5A15
square
#157A28 #15347A #7A1567 #7A5A15
split-complementary
#157A28 #5A157A #7A1534
monochromatic
#041A09 #0C4617 #157A28 #1EAE39 #2EDB4F

Accessibility & contrast

On white

5.46
#157A28 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #157A28
5.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##157A28#FFFFFF#000000##FFFFFF
##157A281.005.463.855.46
#FFFFFF5.461.0021.001.00
#0000003.8521.001.0021.00
##FFFFFF5.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7C6E1E
Deuteranopia (green-blind)
#71662F
Tritanopia (blue-blind)
#007769
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #157a28;
/* rgb */ color: rgb(21, 122, 40);
/* oklch */ color: oklch(50.7% 0.148 145.5);
Tailwind
colors: {
  custom: {
    50: '#67a166',
    500: '#157a28',
    950: '#000000',
  },
}
SCSS
$custom: #157a28;
$custom-light: #67a166;
$custom-dark: #000000;
JSON
{
  "hex": "#157a28",
  "rgb": {
    "r": 21,
    "g": 122,
    "b": 40
  },
  "hsl": {
    "h": 131.287,
    "s": 70.629,
    "l": 28.039
  },
  "oklch": {
    "l": 0.50719,
    "c": 0.14775,
    "h": 145.5
  },
  "luminance": 0.14232
}

Semantic roles & 50–950 ramp

primary
#157A28
secondary
#AF3B9A
accent
#3ACCED
background
#F6FAF6
surface
#EBF3EB
border
#C6CDC6
text
#070F06
muted
#7A7F7A

Preview Lab

Preview with #157A28

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

Preview Lab → · Contrast checker → · Palette generator →

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