#20742D#20742D

#20742D is a mid, vivid green. Relative luminance 0.130; OKLCH L 49.3% C 0.133 H 145.7°. Best body text is #FFFFFF at 5.84:1 contrast (WCAG AA passes).

Color values

HEX#20742D
RGBrgb(32, 116, 45)
HSLhsl(129, 57%, 29%)
HSVhsv(129, 72%, 45%)
CMYKcmyk(72.4%, 0%, 61.2%, 54.5%)
CIE-LABlab(42.74, -40.53, 31.61)
CIE-LCHlch(42.74, 51.40, 142.05°)
OKLaboklab(49.29% -0.1094 0.0747)
OKLCHoklch(49.29% 0.133 145.7)
XYZxyz(7.3142, 12.9865, 4.6033)
Luminance0.1299 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20742D #742067
analogous
#3D7420 #20742D #207457
triadic
#20742D #2D2074 #742D20
tetradic
#20742D #203D74 #742067 #745720
square
#20742D #203D74 #742067 #745720
split-complementary
#20742D #572074 #74203D
monochromatic
#071809 #13441A #20742D #2DA440 #43CB58

Accessibility & contrast

On white

5.84
#20742D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.60
#20742D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #20742D
5.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##20742D#FFFFFF#000000##FFFFFF
##20742D1.005.843.605.84
#FFFFFF5.841.0021.001.00
#0000003.6021.001.0021.00
##FFFFFF5.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#766926
Deuteranopia (green-blind)
#6C6233
Tritanopia (blue-blind)
#007165
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #20742d;
/* rgb */ color: rgb(32, 116, 45);
/* oklch */ color: oklch(49.3% 0.133 145.7);
Tailwind
colors: {
  custom: {
    50: '#689d68',
    500: '#20742d',
    950: '#000000',
  },
}
SCSS
$custom: #20742d;
$custom-light: #689d68;
$custom-dark: #000000;
JSON
{
  "hex": "#20742d",
  "rgb": {
    "r": 32,
    "g": 116,
    "b": 45
  },
  "hsl": {
    "h": 129.286,
    "s": 56.757,
    "l": 29.02
  },
  "oklch": {
    "l": 0.4929,
    "c": 0.13252,
    "h": 145.7
  },
  "luminance": 0.12987
}

Semantic roles & 50–950 ramp

primary
#20742D
secondary
#A84899
accent
#48C8E0
background
#F6F9F6
surface
#EBF2EB
border
#C6CCC6
text
#070E06
muted
#7A7E7A

Preview Lab

Preview with #20742D

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

Preview Lab → · Contrast checker → · Palette generator →

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