#157B24#157B24

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

Color values

HEX#157B24
RGBrgb(21, 123, 36)
HSLhsl(129, 71%, 28%)
HSVhsv(129, 83%, 48%)
CMYKcmyk(82.9%, 0%, 70.7%, 51.8%)
CIE-LABlab(44.87, -45.94, 38.18)
CIE-LCHlch(44.87, 59.74, 140.27°)
OKLaboklab(50.97% -0.124 0.0879)
OKLCHoklch(50.97% 0.152 144.7)
XYZxyz(7.7101, 14.4518, 4.0518)
Luminance0.1445 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#157B24 #7B156C
analogous
#397B15 #157B24 #157B57
triadic
#157B24 #24157B #7B2415
tetradic
#157B24 #15397B #7B156C #7B5715
square
#157B24 #15397B #7B156C #7B5715
split-complementary
#157B24 #57157B #7B1539
monochromatic
#041A08 #0C4715 #157B24 #1EAF33 #2FDB48

Accessibility & contrast

On white

5.40
#157B24 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.89
#157B24 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #157B24
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##157B24#FFFFFF#000000##FFFFFF
##157B241.005.403.895.40
#FFFFFF5.401.0021.001.00
#0000003.8921.001.0021.00
##FFFFFF5.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7D6F18
Deuteranopia (green-blind)
#72672C
Tritanopia (blue-blind)
#007869
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #157b24;
/* rgb */ color: rgb(21, 123, 36);
/* oklch */ color: oklch(51.0% 0.152 144.7);
Tailwind
colors: {
  custom: {
    50: '#67a263',
    500: '#157b24',
    950: '#000000',
  },
}
SCSS
$custom: #157b24;
$custom-light: #67a263;
$custom-dark: #000000;
JSON
{
  "hex": "#157b24",
  "rgb": {
    "r": 21,
    "g": 123,
    "b": 36
  },
  "hsl": {
    "h": 128.824,
    "s": 70.833,
    "l": 28.235
  },
  "oklch": {
    "l": 0.50967,
    "c": 0.15197,
    "h": 144.7
  },
  "luminance": 0.14453
}

Semantic roles & 50–950 ramp

primary
#157B24
secondary
#B03B9F
accent
#3AD3EE
background
#F6FAF6
surface
#EBF4EB
border
#C6CEC6
text
#070F05
muted
#7A7F7A

Preview Lab

Preview with #157B24

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

Preview Lab → · Contrast checker → · Palette generator →

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