#157920#157920

#157920 is a mid, vivid green. Relative luminance 0.139; OKLCH L 50.3% C 0.152 H 144.1°. Best body text is #FFFFFF at 5.54:1 contrast (WCAG AA passes).

Color values

HEX#157920
RGBrgb(21, 121, 32)
HSLhsl(127, 70%, 28%)
HSVhsv(127, 83%, 47%)
CMYKcmyk(82.6%, 0%, 73.6%, 52.5%)
CIE-LABlab(44.14, -45.67, 39.11)
CIE-LCHlch(44.14, 60.13, 139.42°)
OKLaboklab(50.35% -0.1234 0.0893)
OKLCHoklch(50.35% 0.152 144.1)
XYZxyz(7.4068, 13.9376, 3.6661)
Luminance0.1394 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#157920 #79156E
analogous
#3C7915 #157920 #157952
triadic
#157920 #201579 #792015
tetradic
#157920 #153C79 #79156E #795215
square
#157920 #153C79 #79156E #795215
split-complementary
#157920 #521579 #79153C
monochromatic
#051A07 #0C4512 #157920 #1EAD2E #2EDB41

Accessibility & contrast

On white

5.54
#157920 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.79
#157920 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #157920
5.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##157920#FFFFFF#000000##FFFFFF
##1579201.005.543.795.54
#FFFFFF5.541.0021.001.00
#0000003.7921.001.0021.00
##FFFFFF5.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7B6D12
Deuteranopia (green-blind)
#716529
Tritanopia (blue-blind)
#007567
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #157920;
/* rgb */ color: rgb(21, 121, 32);
/* oklch */ color: oklch(50.3% 0.152 144.1);
Tailwind
colors: {
  custom: {
    50: '#67a161',
    500: '#157920',
    950: '#000000',
  },
}
SCSS
$custom: #157920;
$custom-light: #67a161;
$custom-dark: #000000;
JSON
{
  "hex": "#157920",
  "rgb": {
    "r": 21,
    "g": 121,
    "b": 32
  },
  "hsl": {
    "h": 126.6,
    "s": 70.423,
    "l": 27.843
  },
  "oklch": {
    "l": 0.50349,
    "c": 0.15236,
    "h": 144.1
  },
  "luminance": 0.13938
}

Semantic roles & 50–950 ramp

primary
#157920
secondary
#AF3BA2
accent
#3BDAED
background
#F6FAF5
surface
#EBF3EA
border
#C6CDC6
text
#070F05
muted
#7A7F79

Preview Lab

Preview with #157920

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

Preview Lab → · Contrast checker → · Palette generator →

#157920 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva