#157E24#157E24

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

Color values

HEX#157E24
RGBrgb(21, 126, 36)
HSLhsl(129, 71%, 29%)
HSVhsv(129, 83%, 49%)
CMYKcmyk(83.3%, 0%, 71.4%, 50.6%)
CIE-LABlab(45.92, -46.96, 39.30)
CIE-LCHlch(45.92, 61.23, 140.08°)
OKLaboklab(51.83% -0.1268 0.0902)
OKLCHoklch(51.83% 0.156 144.6)
XYZxyz(8.0880, 15.2075, 4.1778)
Luminance0.1521 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#157E24 #7E156F
analogous
#3B7E15 #157E24 #157E59
triadic
#157E24 #24157E #7E2415
tetradic
#157E24 #153B7E #7E156F #7E5915
square
#157E24 #153B7E #7E156F #7E5915
split-complementary
#157E24 #59157E #7E153B
monochromatic
#041A07 #0C4A15 #157E24 #1EB233 #31DD49

Accessibility & contrast

On white

5.20
#157E24 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #157E24
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##157E24#FFFFFF#000000##FFFFFF
##157E241.005.204.045.20
#FFFFFF5.201.0021.001.00
#0000004.0421.001.0021.00
##FFFFFF5.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#807117
Deuteranopia (green-blind)
#756A2D
Tritanopia (blue-blind)
#007A6C
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #157e24;
/* rgb */ color: rgb(21, 126, 36);
/* oklch */ color: oklch(51.8% 0.156 144.6);
Tailwind
colors: {
  custom: {
    50: '#68a464',
    500: '#157e24',
    950: '#000000',
  },
}
SCSS
$custom: #157e24;
$custom-light: #68a464;
$custom-dark: #000000;
JSON
{
  "hex": "#157e24",
  "rgb": {
    "r": 21,
    "g": 126,
    "b": 36
  },
  "hsl": {
    "h": 128.571,
    "s": 71.429,
    "l": 28.824
  },
  "oklch": {
    "l": 0.51834,
    "c": 0.15559,
    "h": 144.6
  },
  "luminance": 0.15209
}

Semantic roles & 50–950 ramp

primary
#157E24
secondary
#B33CA2
accent
#3AD4EE
background
#F6FAF6
surface
#ECF4EB
border
#C7CEC6
text
#070F06
muted
#7A7F7A

Preview Lab

Preview with #157E24

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

Preview Lab → · Contrast checker → · Palette generator →

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