#20801C#20801C

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

Color values

HEX#20801C
RGBrgb(32, 128, 28)
HSLhsl(118, 64%, 31%)
HSVhsv(118, 78%, 50%)
CMYKcmyk(75%, 0%, 78.1%, 49.8%)
CIE-LABlab(46.75, -46.66, 43.38)
CIE-LCHlch(46.75, 63.71, 137.09°)
OKLaboklab(52.56% -0.1269 0.0976)
OKLCHoklch(52.56% 0.16 142.4)
XYZxyz(8.5239, 15.8283, 3.7043)
Luminance0.1583 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20801C #7C1C80
analogous
#52801C #20801C #1C804A
triadic
#20801C #1C2080 #801C20
tetradic
#20801C #1C5280 #7C1C80 #804A1C
square
#20801C #1C5280 #7C1C80 #804A1C
split-complementary
#20801C #4A1C80 #801C52
monochromatic
#071C06 #134E11 #20801C #2DB227 #47D541

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##20801C#FFFFFF#000000##FFFFFF
##20801C1.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)
#837306
Deuteranopia (green-blind)
#786C27
Tritanopia (blue-blind)
#007C6D
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #20801c;
/* rgb */ color: rgb(32, 128, 28);
/* oklch */ color: oklch(52.6% 0.160 142.4);
Tailwind
colors: {
  custom: {
    50: '#6ca660',
    500: '#20801c',
    950: '#000000',
  },
}
SCSS
$custom: #20801c;
$custom-light: #6ca660;
$custom-dark: #000000;
JSON
{
  "hex": "#20801c",
  "rgb": {
    "r": 32,
    "g": 128,
    "b": 28
  },
  "hsl": {
    "h": 117.6,
    "s": 64.103,
    "l": 30.588
  },
  "oklch": {
    "l": 0.52563,
    "c": 0.16006,
    "h": 142.4
  },
  "luminance": 0.15829
}

Semantic roles & 50–950 ramp

primary
#20801C
secondary
#AF44B3
accent
#41E7E0
background
#F7FAF5
surface
#EDF4EA
border
#C8CEC6
text
#080F05
muted
#7B7F79

Preview Lab

Preview with #20801C

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

Preview Lab → · Contrast checker → · Palette generator →

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