#157B20#157B20

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

Color values

HEX#157B20
RGBrgb(21, 123, 32)
HSLhsl(126, 71%, 28%)
HSVhsv(126, 83%, 48%)
CMYKcmyk(82.9%, 0%, 74%, 51.8%)
CIE-LABlab(44.84, -46.35, 39.84)
CIE-LCHlch(44.84, 61.12, 139.32°)
OKLaboklab(50.93% -0.1253 0.0908)
OKLCHoklch(50.93% 0.155 144.1)
XYZxyz(7.6524, 14.4287, 3.7479)
Luminance0.1443 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#157B20 #7B1570
analogous
#3D7B15 #157B20 #157B53
triadic
#157B20 #20157B #7B2015
tetradic
#157B20 #153D7B #7B1570 #7B5315
square
#157B20 #153D7B #7B1570 #7B5315
split-complementary
#157B20 #53157B #7B153D
monochromatic
#041A07 #0C4712 #157B20 #1EAF2E #2FDB42

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##157B20#FFFFFF#000000##FFFFFF
##157B201.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)
#7D6F11
Deuteranopia (green-blind)
#736729
Tritanopia (blue-blind)
#007769
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #157b20;
/* rgb */ color: rgb(21, 123, 32);
/* oklch */ color: oklch(50.9% 0.155 144.1);
Tailwind
colors: {
  custom: {
    50: '#67a261',
    500: '#157b20',
    950: '#000000',
  },
}
SCSS
$custom: #157b20;
$custom-light: #67a261;
$custom-dark: #000000;
JSON
{
  "hex": "#157b20",
  "rgb": {
    "r": 21,
    "g": 123,
    "b": 32
  },
  "hsl": {
    "h": 126.471,
    "s": 70.833,
    "l": 28.235
  },
  "oklch": {
    "l": 0.5093,
    "c": 0.15474,
    "h": 144.1
  },
  "luminance": 0.1443
}

Semantic roles & 50–950 ramp

primary
#157B20
secondary
#B03BA4
accent
#3ADAEE
background
#F6FAF5
surface
#ECF4EA
border
#C7CEC6
text
#070F05
muted
#7A7F79

Preview Lab

Preview with #157B20

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

Preview Lab → · Contrast checker → · Palette generator →

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