#157E25#157E25

#157E25 is a mid, vivid green. Relative luminance 0.152; OKLCH L 51.8% C 0.155 H 144.7°. Best body text is #FFFFFF at 5.19:1 contrast (WCAG AA passes).

Color values

HEX#157E25
RGBrgb(21, 126, 37)
HSLhsl(129, 71%, 29%)
HSVhsv(129, 83%, 49%)
CMYKcmyk(83.3%, 0%, 70.6%, 50.6%)
CIE-LABlab(45.93, -46.86, 38.88)
CIE-LCHlch(45.93, 60.88, 140.32°)
OKLaboklab(51.84% -0.1264 0.0894)
OKLCHoklch(51.84% 0.155 144.7)
XYZxyz(8.1035, 15.2137, 4.2594)
Luminance0.1522 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#157E25 #7E156E
analogous
#3A7E15 #157E25 #157E5A
triadic
#157E25 #25157E #7E2515
tetradic
#157E25 #153A7E #7E156E #7E5A15
square
#157E25 #153A7E #7E156E #7E5A15
split-complementary
#157E25 #5A157E #7E153A
monochromatic
#041A08 #0C4A16 #157E25 #1EB234 #31DD4B

Accessibility & contrast

On white

5.19
#157E25 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.04
#157E25 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #157E25
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##157E25#FFFFFF#000000##FFFFFF
##157E251.005.194.045.19
#FFFFFF5.191.0021.001.00
#0000004.0421.001.0021.00
##FFFFFF5.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#807218
Deuteranopia (green-blind)
#756A2E
Tritanopia (blue-blind)
#007B6C
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #157e25;
/* rgb */ color: rgb(21, 126, 37);
/* oklch */ color: oklch(51.8% 0.155 144.7);
Tailwind
colors: {
  custom: {
    50: '#68a464',
    500: '#157e25',
    950: '#000000',
  },
}
SCSS
$custom: #157e25;
$custom-light: #68a464;
$custom-dark: #000000;
JSON
{
  "hex": "#157e25",
  "rgb": {
    "r": 21,
    "g": 126,
    "b": 37
  },
  "hsl": {
    "h": 129.143,
    "s": 71.429,
    "l": 28.824
  },
  "oklch": {
    "l": 0.51844,
    "c": 0.15487,
    "h": 144.7
  },
  "luminance": 0.15215
}

Semantic roles & 50–950 ramp

primary
#157E25
secondary
#B33CA1
accent
#3AD3EE
background
#F6FAF6
surface
#ECF4EB
border
#C7CEC6
text
#070F06
muted
#7A7F7A

Preview Lab

Preview with #157E25

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

Preview Lab → · Contrast checker → · Palette generator →

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