#20742A#20742A

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

Color values

HEX#20742A
RGBrgb(32, 116, 42)
HSLhsl(127, 57%, 29%)
HSVhsv(127, 72%, 45%)
CMYKcmyk(72.4%, 0%, 63.8%, 54.5%)
CIE-LABlab(42.71, -40.93, 33.06)
CIE-LCHlch(42.71, 52.61, 141.07°)
OKLaboklab(49.25% -0.1106 0.0776)
OKLCHoklch(49.25% 0.135 145)
XYZxyz(7.2585, 12.9642, 4.3099)
Luminance0.1296 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20742A #74206A
analogous
#407420 #20742A #207454
triadic
#20742A #2A2074 #742A20
tetradic
#20742A #204074 #74206A #745420
square
#20742A #204074 #74206A #745420
split-complementary
#20742A #542074 #742040
monochromatic
#071809 #134419 #20742A #2DA43B #43CB53

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##20742A#FFFFFF#000000##FFFFFF
##20742A1.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)
#766922
Deuteranopia (green-blind)
#6C6230
Tritanopia (blue-blind)
#027164
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #20742a;
/* rgb */ color: rgb(32, 116, 42);
/* oklch */ color: oklch(49.3% 0.135 145.0);
Tailwind
colors: {
  custom: {
    50: '#699d66',
    500: '#20742a',
    950: '#000000',
  },
}
SCSS
$custom: #20742a;
$custom-light: #699d66;
$custom-dark: #000000;
JSON
{
  "hex": "#20742a",
  "rgb": {
    "r": 32,
    "g": 116,
    "b": 42
  },
  "hsl": {
    "h": 127.143,
    "s": 56.757,
    "l": 29.02
  },
  "oklch": {
    "l": 0.49252,
    "c": 0.13513,
    "h": 145
  },
  "luminance": 0.12965
}

Semantic roles & 50–950 ramp

primary
#20742A
secondary
#A8489C
accent
#48CEE0
background
#F6F9F6
surface
#EBF2EB
border
#C6CCC6
text
#070E06
muted
#7A7E7A

Preview Lab

Preview with #20742A

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

Preview Lab → · Contrast checker → · Palette generator →

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