#20741D#20741D

#20741D is a mid, vivid green. Relative luminance 0.129; OKLCH L 49.1% C 0.145 H 142.5°. Best body text is #FFFFFF at 5.87:1 contrast (WCAG AA passes).

Color values

HEX#20741D
RGBrgb(32, 116, 29)
HSLhsl(118, 60%, 28%)
HSVhsv(118, 75%, 45%)
CMYKcmyk(72.4%, 0%, 75%, 54.5%)
CIE-LABlab(42.59, -42.34, 38.81)
CIE-LCHlch(42.59, 57.43, 137.50°)
OKLaboklab(49.11% -0.1151 0.0882)
OKLCHoklch(49.11% 0.145 142.5)
XYZxyz(7.0624, 12.8858, 3.2772)
Luminance0.1289 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20741D #711D74
analogous
#4B741D #20741D #1D7445
triadic
#20741D #1D2074 #741D20
tetradic
#20741D #1D4B74 #711D74 #74451D
square
#20741D #1D4B74 #711D74 #74451D
split-complementary
#20741D #451D74 #741D4B
monochromatic
#071806 #124311 #20741D #2EA529 #42CE3D

Accessibility & contrast

On white

5.87
#20741D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.58
#20741D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #20741D
5.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##20741D#FFFFFF#000000##FFFFFF
##20741D1.005.873.585.87
#FFFFFF5.871.0021.001.00
#0000003.5821.001.0021.00
##FFFFFF5.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#77690E
Deuteranopia (green-blind)
#6D6226
Tritanopia (blue-blind)
#087063
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #20741d;
/* rgb */ color: rgb(32, 116, 29);
/* oklch */ color: oklch(49.1% 0.145 142.5);
Tailwind
colors: {
  custom: {
    50: '#699d5f',
    500: '#20741d',
    950: '#000000',
  },
}
SCSS
$custom: #20741d;
$custom-light: #699d5f;
$custom-dark: #000000;
JSON
{
  "hex": "#20741d",
  "rgb": {
    "r": 32,
    "g": 116,
    "b": 29
  },
  "hsl": {
    "h": 117.931,
    "s": 60,
    "l": 28.431
  },
  "oklch": {
    "l": 0.49115,
    "c": 0.14501,
    "h": 142.5
  },
  "luminance": 0.12887
}

Semantic roles & 50–950 ramp

primary
#20741D
secondary
#A545A8
accent
#45E3DE
background
#F6F9F5
surface
#ECF2E9
border
#C7CCC5
text
#070E05
muted
#7A7E79

Preview Lab

Preview with #20741D

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

Preview Lab → · Contrast checker → · Palette generator →

#20741D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva