#157A25#157A25

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

Color values

HEX#157A25
RGBrgb(21, 122, 37)
HSLhsl(130, 71%, 28%)
HSVhsv(130, 83%, 48%)
CMYKcmyk(82.8%, 0%, 69.7%, 52.2%)
CIE-LABlab(44.53, -45.49, 37.38)
CIE-LCHlch(44.53, 58.88, 140.60°)
OKLaboklab(50.69% -0.1227 0.0863)
OKLCHoklch(50.69% 0.15 144.9)
XYZxyz(7.6022, 14.2111, 4.0923)
Luminance0.1421 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#157A25 #7A156A
analogous
#377A15 #157A25 #157A57
triadic
#157A25 #25157A #7A2515
tetradic
#157A25 #15377A #7A156A #7A5715
square
#157A25 #15377A #7A156A #7A5715
split-complementary
#157A25 #57157A #7A1537
monochromatic
#041A08 #0C4615 #157A25 #1EAE35 #2EDB4A

Accessibility & contrast

On white

5.47
#157A25 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.84
#157A25 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #157A25
5.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##157A25#FFFFFF#000000##FFFFFF
##157A251.005.473.845.47
#FFFFFF5.471.0021.001.00
#0000003.8421.001.0021.00
##FFFFFF5.471.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #157a25;
/* rgb */ color: rgb(21, 122, 37);
/* oklch */ color: oklch(50.7% 0.150 144.9);
Tailwind
colors: {
  custom: {
    50: '#67a164',
    500: '#157a25',
    950: '#000000',
  },
}
SCSS
$custom: #157a25;
$custom-light: #67a164;
$custom-dark: #000000;
JSON
{
  "hex": "#157a25",
  "rgb": {
    "r": 21,
    "g": 122,
    "b": 37
  },
  "hsl": {
    "h": 129.505,
    "s": 70.629,
    "l": 28.039
  },
  "oklch": {
    "l": 0.50687,
    "c": 0.15003,
    "h": 144.9
  },
  "luminance": 0.14212
}

Semantic roles & 50–950 ramp

primary
#157A25
secondary
#AF3B9D
accent
#3AD1ED
background
#F6FAF6
surface
#EBF3EB
border
#C6CDC6
text
#070F06
muted
#7A7F7A

Preview Lab

Preview with #157A25

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

Preview Lab → · Contrast checker → · Palette generator →

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