#20731A#20731A

#20731A is a mid, vivid green. Relative luminance 0.126; OKLCH L 48.8% C 0.146 H 142.1°. Best body text is #FFFFFF at 5.95:1 contrast (WCAG AA passes).

Color values

HEX#20731A
RGBrgb(32, 115, 26)
HSLhsl(116, 63%, 28%)
HSVhsv(116, 77%, 45%)
CMYKcmyk(72.2%, 0%, 77.4%, 54.9%)
CIE-LABlab(42.22, -42.24, 39.62)
CIE-LCHlch(42.22, 57.91, 136.83°)
OKLaboklab(48.8% -0.115 0.0895)
OKLCHoklch(48.8% 0.146 142.1)
XYZxyz(6.9125, 12.6424, 3.0530)
Luminance0.1264 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20731A #6D1A73
analogous
#4C731A #20731A #1A7340
triadic
#20731A #1A2073 #731A20
tetradic
#20731A #1A4C73 #6D1A73 #73401A
square
#20731A #1A4C73 #6D1A73 #73401A
split-complementary
#20731A #401A73 #731A4C
monochromatic
#071906 #12410F #20731A #2EA525 #40D236

Accessibility & contrast

On white

5.95
#20731A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.53
#20731A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #20731A
5.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##20731A#FFFFFF#000000##FFFFFF
##20731A1.005.953.535.95
#FFFFFF5.951.0021.001.00
#0000003.5321.001.0021.00
##FFFFFF5.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#766808
Deuteranopia (green-blind)
#6C6123
Tritanopia (blue-blind)
#0A6F62
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #20731a;
/* rgb */ color: rgb(32, 115, 26);
/* oklch */ color: oklch(48.8% 0.146 142.1);
Tailwind
colors: {
  custom: {
    50: '#699c5d',
    500: '#20731a',
    950: '#000000',
  },
}
SCSS
$custom: #20731a;
$custom-light: #699c5d;
$custom-dark: #000000;
JSON
{
  "hex": "#20731a",
  "rgb": {
    "r": 32,
    "g": 115,
    "b": 26
  },
  "hsl": {
    "h": 115.955,
    "s": 63.121,
    "l": 27.647
  },
  "oklch": {
    "l": 0.488,
    "c": 0.1457,
    "h": 142.1
  },
  "luminance": 0.12643
}

Semantic roles & 50–950 ramp

primary
#20731A
secondary
#A141A8
accent
#42E6DB
background
#F6F9F5
surface
#ECF2E9
border
#C7CCC5
text
#070E04
muted
#7A7E79

Preview Lab

Preview with #20731A

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

Preview Lab → · Contrast checker → · Palette generator →

#20731A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva