#20801F#20801F

#20801F is a mid, vivid green. Relative luminance 0.158; OKLCH L 52.6% C 0.158 H 142.8°. Best body text is #FFFFFF at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#20801F
RGBrgb(32, 128, 31)
HSLhsl(119, 61%, 31%)
HSVhsv(119, 76%, 50%)
CMYKcmyk(75%, 0%, 75.8%, 49.8%)
CIE-LABlab(46.77, -46.42, 42.28)
CIE-LCHlch(46.77, 62.79, 137.67°)
OKLaboklab(52.59% -0.1261 0.0957)
OKLCHoklch(52.59% 0.158 142.8)
XYZxyz(8.5616, 15.8434, 3.9029)
Luminance0.1584 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20801F #7F1F80
analogous
#50801F #20801F #1F804E
triadic
#20801F #1F2080 #801F20
tetradic
#20801F #1F5080 #7F1F80 #804E1F
square
#20801F #1F5080 #7F1F80 #804E1F
split-complementary
#20801F #4E1F80 #801F50
monochromatic
#071D07 #144F13 #20801F #2CB12B #48D247

Accessibility & contrast

On white

5.04
#20801F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.17
#20801F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #20801F
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##20801F#FFFFFF#000000##FFFFFF
##20801F1.005.044.175.04
#FFFFFF5.041.0021.001.00
#0000004.1721.001.0021.00
##FFFFFF5.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#83730D
Deuteranopia (green-blind)
#786C29
Tritanopia (blue-blind)
#007C6D
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #20801f;
/* rgb */ color: rgb(32, 128, 31);
/* oklch */ color: oklch(52.6% 0.158 142.8);
Tailwind
colors: {
  custom: {
    50: '#6ca661',
    500: '#20801f',
    950: '#000000',
  },
}
SCSS
$custom: #20801f;
$custom-light: #6ca661;
$custom-dark: #000000;
JSON
{
  "hex": "#20801f",
  "rgb": {
    "r": 32,
    "g": 128,
    "b": 31
  },
  "hsl": {
    "h": 119.381,
    "s": 61.006,
    "l": 31.176
  },
  "oklch": {
    "l": 0.52586,
    "c": 0.15828,
    "h": 142.8
  },
  "luminance": 0.15844
}

Semantic roles & 50–950 ramp

primary
#20801F
secondary
#B248B3
accent
#44E4E2
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#080F05
muted
#7B7F7A

Preview Lab

Preview with #20801F

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

Preview Lab → · Contrast checker → · Palette generator →

#20801F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva