#157D25#157D25

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

Color values

HEX#157D25
RGBrgb(21, 125, 37)
HSLhsl(129, 71%, 29%)
HSVhsv(129, 83%, 49%)
CMYKcmyk(83.2%, 0%, 70.4%, 51%)
CIE-LABlab(45.58, -46.52, 38.50)
CIE-LCHlch(45.58, 60.39, 140.39°)
OKLaboklab(51.55% -0.1255 0.0886)
OKLCHoklch(51.55% 0.154 144.8)
XYZxyz(7.9762, 14.9593, 4.2170)
Luminance0.1496 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#157D25 #7D156D
analogous
#397D15 #157D25 #157D59
triadic
#157D25 #25157D #7D2515
tetradic
#157D25 #15397D #7D156D #7D5915
square
#157D25 #15397D #7D156D #7D5915
split-complementary
#157D25 #59157D #7D1539
monochromatic
#041A08 #0C4915 #157D25 #1EB135 #30DC4B

Accessibility & contrast

On white

5.26
#157D25 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.99
#157D25 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #157D25
5.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##157D25#FFFFFF#000000##FFFFFF
##157D251.005.263.995.26
#FFFFFF5.261.0021.001.00
#0000003.9921.001.0021.00
##FFFFFF5.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7F7119
Deuteranopia (green-blind)
#74692D
Tritanopia (blue-blind)
#007A6B
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #157d25;
/* rgb */ color: rgb(21, 125, 37);
/* oklch */ color: oklch(51.6% 0.154 144.8);
Tailwind
colors: {
  custom: {
    50: '#68a464',
    500: '#157d25',
    950: '#000000',
  },
}
SCSS
$custom: #157d25;
$custom-light: #68a464;
$custom-dark: #000000;
JSON
{
  "hex": "#157d25",
  "rgb": {
    "r": 21,
    "g": 125,
    "b": 37
  },
  "hsl": {
    "h": 129.231,
    "s": 71.233,
    "l": 28.627
  },
  "oklch": {
    "l": 0.51555,
    "c": 0.15367,
    "h": 144.8
  },
  "luminance": 0.1496
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #157D25

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

Preview Lab → · Contrast checker → · Palette generator →

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