#20803C#20803C

#20803C is a mid, vivid green. Relative luminance 0.161; OKLCH L 52.9% C 0.135 H 148.7°. Best body text is #FFFFFF at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#20803C
RGBrgb(32, 128, 60)
HSLhsl(138, 60%, 31%)
HSVhsv(138, 75%, 50%)
CMYKcmyk(75%, 0%, 53.1%, 49.8%)
CIE-LABlab(47.07, -42.85, 29.02)
CIE-LCHlch(47.07, 51.76, 145.90°)
OKLaboklab(52.93% -0.1153 0.0701)
OKLCHoklch(52.93% 0.135 148.7)
XYZxyz(9.1297, 16.0706, 6.8949)
Luminance0.1607 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20803C #802064
analogous
#348020 #20803C #20806C
triadic
#20803C #3C2080 #803C20
tetradic
#20803C #203480 #802064 #806C20
square
#20803C #203480 #802064 #806C20
split-complementary
#20803C #6C2080 #802034
monochromatic
#081E0E #144F25 #20803C #2CB153 #49D171

Accessibility & contrast

On white

4.98
#20803C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.21
#20803C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #20803C
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##20803C#FFFFFF#000000##FFFFFF
##20803C1.004.984.214.98
#FFFFFF4.981.0021.001.00
#0000004.2121.001.0021.00
##FFFFFF4.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#817436
Deuteranopia (green-blind)
#766C41
Tritanopia (blue-blind)
#007D70
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #20803c;
/* rgb */ color: rgb(32, 128, 60);
/* oklch */ color: oklch(52.9% 0.135 148.7);
Tailwind
colors: {
  custom: {
    50: '#6ba673',
    500: '#20803c',
    950: '#000000',
  },
}
SCSS
$custom: #20803c;
$custom-light: #6ba673;
$custom-dark: #000000;
JSON
{
  "hex": "#20803c",
  "rgb": {
    "r": 32,
    "g": 128,
    "b": 60
  },
  "hsl": {
    "h": 137.5,
    "s": 60,
    "l": 31.373
  },
  "oklch": {
    "l": 0.5293,
    "c": 0.13496,
    "h": 148.7
  },
  "luminance": 0.16072
}

Semantic roles & 50–950 ramp

primary
#20803C
secondary
#B34994
accent
#45B5E3
background
#F6FAF7
surface
#ECF4ED
border
#C7CEC8
text
#070F08
muted
#7A7F7B

Preview Lab

Preview with #20803C

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

Preview Lab → · Contrast checker → · Palette generator →

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