#157C25#157C25

#157C25 is a mid, vivid green. Relative luminance 0.147; OKLCH L 51.3% C 0.152 H 144.8°. Best body text is #FFFFFF at 5.33:1 contrast (WCAG AA passes).

Color values

HEX#157C25
RGBrgb(21, 124, 37)
HSLhsl(129, 71%, 28%)
HSVhsv(129, 83%, 49%)
CMYKcmyk(83.1%, 0%, 70.2%, 51.4%)
CIE-LABlab(45.23, -46.18, 38.13)
CIE-LCHlch(45.23, 59.88, 140.45°)
OKLaboklab(51.27% -0.1246 0.0879)
OKLCHoklch(51.27% 0.152 144.8)
XYZxyz(7.8503, 14.7073, 4.1750)
Luminance0.1471 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#157C25 #7C156C
analogous
#397C15 #157C25 #157C58
triadic
#157C25 #25157C #7C2515
tetradic
#157C25 #15397C #7C156C #7C5815
square
#157C25 #15397C #7C156C #7C5815
split-complementary
#157C25 #58157C #7C1539
monochromatic
#041A08 #0C4815 #157C25 #1EB035 #30DC4A

Accessibility & contrast

On white

5.33
#157C25 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.94
#157C25 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #157C25
5.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##157C25#FFFFFF#000000##FFFFFF
##157C251.005.333.945.33
#FFFFFF5.331.0021.001.00
#0000003.9421.001.0021.00
##FFFFFF5.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7E7019
Deuteranopia (green-blind)
#73682D
Tritanopia (blue-blind)
#00796A
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #157c25;
/* rgb */ color: rgb(21, 124, 37);
/* oklch */ color: oklch(51.3% 0.152 144.8);
Tailwind
colors: {
  custom: {
    50: '#67a364',
    500: '#157c25',
    950: '#000000',
  },
}
SCSS
$custom: #157c25;
$custom-light: #67a364;
$custom-dark: #000000;
JSON
{
  "hex": "#157c25",
  "rgb": {
    "r": 21,
    "g": 124,
    "b": 37
  },
  "hsl": {
    "h": 129.32,
    "s": 71.034,
    "l": 28.431
  },
  "oklch": {
    "l": 0.51266,
    "c": 0.15246,
    "h": 144.8
  },
  "luminance": 0.14708
}

Semantic roles & 50–950 ramp

primary
#157C25
secondary
#B13C9F
accent
#3AD2EE
background
#F6FAF6
surface
#ECF4EB
border
#C7CEC6
text
#070F06
muted
#7A7F7A

Preview Lab

Preview with #157C25

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

Preview Lab → · Contrast checker → · Palette generator →

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