#157B22#157B22

#157B22 is a mid, vivid green. Relative luminance 0.144; OKLCH L 50.9% C 0.153 H 144.4°. Best body text is #FFFFFF at 5.40:1 contrast (WCAG AA passes).

Color values

HEX#157B22
RGBrgb(21, 123, 34)
HSLhsl(128, 71%, 28%)
HSVhsv(128, 83%, 48%)
CMYKcmyk(82.9%, 0%, 72.4%, 51.8%)
CIE-LABlab(44.86, -46.15, 39.02)
CIE-LCHlch(44.86, 60.44, 139.78°)
OKLaboklab(50.95% -0.1247 0.0894)
OKLCHoklch(50.95% 0.153 144.4)
XYZxyz(7.6804, 14.4399, 3.8955)
Luminance0.1444 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#157B22 #7B156E
analogous
#3B7B15 #157B22 #157B55
triadic
#157B22 #22157B #7B2215
tetradic
#157B22 #153B7B #7B156E #7B5515
square
#157B22 #153B7B #7B156E #7B5515
split-complementary
#157B22 #55157B #7B153B
monochromatic
#041A07 #0C4714 #157B22 #1EAF30 #2FDB45

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##157B22#FFFFFF#000000##FFFFFF
##157B221.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)
#7D6F15
Deuteranopia (green-blind)
#72672B
Tritanopia (blue-blind)
#007769
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #157b22;
/* rgb */ color: rgb(21, 123, 34);
/* oklch */ color: oklch(50.9% 0.153 144.4);
Tailwind
colors: {
  custom: {
    50: '#67a262',
    500: '#157b22',
    950: '#000000',
  },
}
SCSS
$custom: #157b22;
$custom-light: #67a262;
$custom-dark: #000000;
JSON
{
  "hex": "#157b22",
  "rgb": {
    "r": 21,
    "g": 123,
    "b": 34
  },
  "hsl": {
    "h": 127.647,
    "s": 70.833,
    "l": 28.235
  },
  "oklch": {
    "l": 0.50948,
    "c": 0.15338,
    "h": 144.4
  },
  "luminance": 0.14441
}

Semantic roles & 50–950 ramp

primary
#157B22
secondary
#B03BA1
accent
#3AD7EE
background
#F6FAF6
surface
#ECF4EB
border
#C7CEC6
text
#070F05
muted
#7A7F7A

Preview Lab

Preview with #157B22

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

Preview Lab → · Contrast checker → · Palette generator →

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