#20801B#20801B

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

Color values

HEX#20801B
RGBrgb(32, 128, 27)
HSLhsl(117, 65%, 30%)
HSVhsv(117, 79%, 50%)
CMYKcmyk(75%, 0%, 78.9%, 49.8%)
CIE-LABlab(46.74, -46.74, 43.73)
CIE-LCHlch(46.74, 64.01, 136.90°)
OKLaboklab(52.56% -0.1271 0.0982)
OKLCHoklch(52.56% 0.161 142.3)
XYZxyz(8.5122, 15.8236, 3.6424)
Luminance0.1583 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20801B #7B1B80
analogous
#52801B #20801B #1B8049
triadic
#20801B #1B2080 #801B20
tetradic
#20801B #1B5280 #7B1B80 #80491B
square
#20801B #1B5280 #7B1B80 #80491B
split-complementary
#20801B #491B80 #801B52
monochromatic
#071B06 #134D10 #20801B #2DB326 #46D63F

Accessibility & contrast

On white

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

On black

4.16
#20801B on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##20801B#FFFFFF#000000##FFFFFF
##20801B1.005.044.165.04
#FFFFFF5.041.0021.001.00
#0000004.1621.001.0021.00
##FFFFFF5.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#837304
Deuteranopia (green-blind)
#786C26
Tritanopia (blue-blind)
#007C6D
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #20801b;
/* rgb */ color: rgb(32, 128, 27);
/* oklch */ color: oklch(52.6% 0.161 142.3);
Tailwind
colors: {
  custom: {
    50: '#6ca65f',
    500: '#20801b',
    950: '#000000',
  },
}
SCSS
$custom: #20801b;
$custom-light: #6ca65f;
$custom-dark: #000000;
JSON
{
  "hex": "#20801b",
  "rgb": {
    "r": 32,
    "g": 128,
    "b": 27
  },
  "hsl": {
    "h": 117.03,
    "s": 65.161,
    "l": 30.392
  },
  "oklch": {
    "l": 0.52556,
    "c": 0.16063,
    "h": 142.3
  },
  "luminance": 0.15825
}

Semantic roles & 50–950 ramp

primary
#20801B
secondary
#AE43B4
accent
#40E8E0
background
#F7FAF5
surface
#EDF4EA
border
#C8CEC6
text
#080F05
muted
#7B7F79

Preview Lab

Preview with #20801B

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

Preview Lab → · Contrast checker → · Palette generator →

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