#20731E#20731E

#20731E is a mid, vivid green. Relative luminance 0.127; OKLCH L 48.8% C 0.143 H 142.7°. Best body text is #FFFFFF at 5.94:1 contrast (WCAG AA passes).

Color values

HEX#20731E
RGBrgb(32, 115, 30)
HSLhsl(119, 59%, 28%)
HSVhsv(119, 74%, 45%)
CMYKcmyk(72.2%, 0%, 73.9%, 54.9%)
CIE-LABlab(42.25, -41.89, 38.04)
CIE-LCHlch(42.25, 56.58, 137.75°)
OKLaboklab(48.83% -0.1138 0.0867)
OKLCHoklch(48.83% 0.143 142.7)
XYZxyz(6.9603, 12.6615, 3.3051)
Luminance0.1266 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20731E #711E73
analogous
#4A731E #20731E #1E7346
triadic
#20731E #1E2073 #731E20
tetradic
#20731E #1E4A73 #711E73 #73461E
square
#20731E #1E4A73 #711E73 #73461E
split-complementary
#20731E #461E73 #731E4A
monochromatic
#071806 #124211 #20731E #2EA42B #42CD3F

Accessibility & contrast

On white

5.94
#20731E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #20731E
5.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##20731E#FFFFFF#000000##FFFFFF
##20731E1.005.943.535.94
#FFFFFF5.941.0021.001.00
#0000003.5321.001.0021.00
##FFFFFF5.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#766810
Deuteranopia (green-blind)
#6C6126
Tritanopia (blue-blind)
#096F62
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #20731e;
/* rgb */ color: rgb(32, 115, 30);
/* oklch */ color: oklch(48.8% 0.143 142.7);
Tailwind
colors: {
  custom: {
    50: '#699c5f',
    500: '#20731e',
    950: '#000000',
  },
}
SCSS
$custom: #20731e;
$custom-light: #699c5f;
$custom-dark: #000000;
JSON
{
  "hex": "#20731e",
  "rgb": {
    "r": 32,
    "g": 115,
    "b": 30
  },
  "hsl": {
    "h": 118.588,
    "s": 58.621,
    "l": 28.431
  },
  "oklch": {
    "l": 0.48834,
    "c": 0.14309,
    "h": 142.7
  },
  "luminance": 0.12662
}

Semantic roles & 50–950 ramp

primary
#20731E
secondary
#A546A7
accent
#46E2DE
background
#F6F9F5
surface
#ECF2E9
border
#C7CCC5
text
#070E05
muted
#7A7E79

Preview Lab

Preview with #20731E

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

Preview Lab → · Contrast checker → · Palette generator →

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