#20742B#20742B

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

Color values

HEX#20742B
RGBrgb(32, 116, 43)
HSLhsl(128, 57%, 29%)
HSVhsv(128, 72%, 45%)
CMYKcmyk(72.4%, 0%, 62.9%, 54.5%)
CIE-LABlab(42.72, -40.80, 32.58)
CIE-LCHlch(42.72, 52.21, 141.39°)
OKLaboklab(49.26% -0.1102 0.0767)
OKLCHoklch(49.26% 0.134 145.2)
XYZxyz(7.2766, 12.9715, 4.4053)
Luminance0.1297 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20742B #742069
analogous
#3F7420 #20742B #207455
triadic
#20742B #2B2074 #742B20
tetradic
#20742B #203F74 #742069 #745520
square
#20742B #203F74 #742069 #745520
split-complementary
#20742B #552074 #74203F
monochromatic
#071809 #134419 #20742B #2DA43D #43CB55

Accessibility & contrast

On white

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

On black

3.59
#20742B on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##20742B#FFFFFF#000000##FFFFFF
##20742B1.005.843.595.84
#FFFFFF5.841.0021.001.00
#0000003.5921.001.0021.00
##FFFFFF5.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#766923
Deuteranopia (green-blind)
#6C6231
Tritanopia (blue-blind)
#017164
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #20742b;
/* rgb */ color: rgb(32, 116, 43);
/* oklch */ color: oklch(49.3% 0.134 145.2);
Tailwind
colors: {
  custom: {
    50: '#689d67',
    500: '#20742b',
    950: '#000000',
  },
}
SCSS
$custom: #20742b;
$custom-light: #689d67;
$custom-dark: #000000;
JSON
{
  "hex": "#20742b",
  "rgb": {
    "r": 32,
    "g": 116,
    "b": 43
  },
  "hsl": {
    "h": 127.857,
    "s": 56.757,
    "l": 29.02
  },
  "oklch": {
    "l": 0.49264,
    "c": 0.13427,
    "h": 145.2
  },
  "luminance": 0.12972
}

Semantic roles & 50–950 ramp

primary
#20742B
secondary
#A8489B
accent
#48CCE0
background
#F6F9F6
surface
#EBF2EB
border
#C6CCC6
text
#070E06
muted
#7A7E7A

Preview Lab

Preview with #20742B

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

Preview Lab → · Contrast checker → · Palette generator →

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