#157C21#157C21

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

Color values

HEX#157C21
RGBrgb(21, 124, 33)
HSLhsl(127, 71%, 28%)
HSVhsv(127, 83%, 49%)
CMYKcmyk(83.1%, 0%, 73.4%, 51.4%)
CIE-LABlab(45.20, -46.59, 39.80)
CIE-LCHlch(45.20, 61.27, 139.49°)
OKLaboklab(51.23% -0.1259 0.0909)
OKLCHoklch(51.23% 0.155 144.2)
XYZxyz(7.7909, 14.6836, 3.8622)
Luminance0.1469 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#157C21 #7C1570
analogous
#3C7C15 #157C21 #157C54
triadic
#157C21 #21157C #7C2115
tetradic
#157C21 #153C7C #7C1570 #7C5415
square
#157C21 #153C7C #7C1570 #7C5415
split-complementary
#157C21 #54157C #7C153C
monochromatic
#041A07 #0C4813 #157C21 #1EB02F #30DC44

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##157C21#FFFFFF#000000##FFFFFF
##157C211.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)
#7E7012
Deuteranopia (green-blind)
#73682A
Tritanopia (blue-blind)
#00786A
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #157c21;
/* rgb */ color: rgb(21, 124, 33);
/* oklch */ color: oklch(51.2% 0.155 144.2);
Tailwind
colors: {
  custom: {
    50: '#68a362',
    500: '#157c21',
    950: '#000000',
  },
}
SCSS
$custom: #157c21;
$custom-light: #68a362;
$custom-dark: #000000;
JSON
{
  "hex": "#157c21",
  "rgb": {
    "r": 21,
    "g": 124,
    "b": 33
  },
  "hsl": {
    "h": 126.99,
    "s": 71.034,
    "l": 28.431
  },
  "oklch": {
    "l": 0.51228,
    "c": 0.15526,
    "h": 144.2
  },
  "luminance": 0.14685
}

Semantic roles & 50–950 ramp

primary
#157C21
secondary
#B13CA4
accent
#3AD9EE
background
#F6FAF6
surface
#ECF4EB
border
#C7CEC6
text
#070F05
muted
#7A7F7A

Preview Lab

Preview with #157C21

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

Preview Lab → · Contrast checker → · Palette generator →

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