#20731F#20731F

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

Color values

HEX#20731F
RGBrgb(32, 115, 31)
HSLhsl(119, 58%, 29%)
HSVhsv(119, 73%, 45%)
CMYKcmyk(72.2%, 0%, 73%, 54.9%)
CIE-LABlab(42.26, -41.79, 37.63)
CIE-LCHlch(42.26, 56.23, 138.00°)
OKLaboklab(48.84% -0.1135 0.086)
OKLCHoklch(48.84% 0.142 142.9)
XYZxyz(6.9733, 12.6667, 3.3735)
Luminance0.1267 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20731F #721F73
analogous
#4A731F #20731F #1F7348
triadic
#20731F #1F2073 #731F20
tetradic
#20731F #1F4A73 #721F73 #73481F
square
#20731F #1F4A73 #721F73 #73481F
split-complementary
#20731F #481F73 #731F4A
monochromatic
#071806 #134312 #20731F #2DA32C #42CC41

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##20731F#FFFFFF#000000##FFFFFF
##20731F1.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)
#766812
Deuteranopia (green-blind)
#6C6127
Tritanopia (blue-blind)
#086F62
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #20731f;
/* rgb */ color: rgb(32, 115, 31);
/* oklch */ color: oklch(48.8% 0.142 142.9);
Tailwind
colors: {
  custom: {
    50: '#699c60',
    500: '#20731f',
    950: '#000000',
  },
}
SCSS
$custom: #20731f;
$custom-light: #699c60;
$custom-dark: #000000;
JSON
{
  "hex": "#20731f",
  "rgb": {
    "r": 32,
    "g": 115,
    "b": 31
  },
  "hsl": {
    "h": 119.286,
    "s": 57.534,
    "l": 28.627
  },
  "oklch": {
    "l": 0.48843,
    "c": 0.14241,
    "h": 142.9
  },
  "luminance": 0.12667
}

Semantic roles & 50–950 ramp

primary
#20731F
secondary
#A647A7
accent
#47E1DF
background
#F6F9F5
surface
#ECF2EA
border
#C7CCC6
text
#070E05
muted
#7A7E79

Preview Lab

Preview with #20731F

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

Preview Lab → · Contrast checker → · Palette generator →

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