#157C22#157C22

#157C22 is a mid, vivid green. Relative luminance 0.147; OKLCH L 51.2% C 0.155 H 144.3°. Best body text is #FFFFFF at 5.33:1 contrast (WCAG AA passes).

Color values

HEX#157C22
RGBrgb(21, 124, 34)
HSLhsl(128, 71%, 28%)
HSVhsv(128, 83%, 49%)
CMYKcmyk(83.1%, 0%, 72.6%, 51.4%)
CIE-LABlab(45.21, -46.49, 39.39)
CIE-LCHlch(45.21, 60.93, 139.72°)
OKLaboklab(51.24% -0.1256 0.0901)
OKLCHoklch(51.24% 0.155 144.3)
XYZxyz(7.8051, 14.6893, 3.9370)
Luminance0.1469 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#157C22 #7C156F
analogous
#3B7C15 #157C22 #157C55
triadic
#157C22 #22157C #7C2215
tetradic
#157C22 #153B7C #7C156F #7C5515
square
#157C22 #153B7C #7C156F #7C5515
split-complementary
#157C22 #55157C #7C153B
monochromatic
#041A07 #0C4814 #157C22 #1EB030 #30DC45

Accessibility & contrast

On white

5.33
#157C22 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.94
#157C22 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #157C22
5.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##157C22#FFFFFF#000000##FFFFFF
##157C221.005.333.945.33
#FFFFFF5.331.0021.001.00
#0000003.9421.001.0021.00
##FFFFFF5.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7E7014
Deuteranopia (green-blind)
#73682B
Tritanopia (blue-blind)
#00786A
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #157c22;
/* rgb */ color: rgb(21, 124, 34);
/* oklch */ color: oklch(51.2% 0.155 144.3);
Tailwind
colors: {
  custom: {
    50: '#68a362',
    500: '#157c22',
    950: '#000000',
  },
}
SCSS
$custom: #157c22;
$custom-light: #68a362;
$custom-dark: #000000;
JSON
{
  "hex": "#157c22",
  "rgb": {
    "r": 21,
    "g": 124,
    "b": 34
  },
  "hsl": {
    "h": 127.573,
    "s": 71.034,
    "l": 28.431
  },
  "oklch": {
    "l": 0.51237,
    "c": 0.15458,
    "h": 144.3
  },
  "luminance": 0.1469
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #157C22

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

Preview Lab → · Contrast checker → · Palette generator →

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