#20742C#20742C

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

Color values

HEX#20742C
RGBrgb(32, 116, 44)
HSLhsl(129, 57%, 29%)
HSVhsv(129, 72%, 45%)
CMYKcmyk(72.4%, 0%, 62.1%, 54.5%)
CIE-LABlab(42.73, -40.66, 32.10)
CIE-LCHlch(42.73, 51.80, 141.72°)
OKLaboklab(49.28% -0.1098 0.0757)
OKLCHoklch(49.28% 0.133 145.4)
XYZxyz(7.2952, 12.9789, 4.5031)
Luminance0.1298 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20742C #742068
analogous
#3E7420 #20742C #207456
triadic
#20742C #2C2074 #742C20
tetradic
#20742C #203E74 #742068 #745620
square
#20742C #203E74 #742068 #745620
split-complementary
#20742C #562074 #74203E
monochromatic
#071809 #13441A #20742C #2DA43E #43CB57

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##20742C#FFFFFF#000000##FFFFFF
##20742C1.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)
#766924
Deuteranopia (green-blind)
#6C6232
Tritanopia (blue-blind)
#017164
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #20742c;
/* rgb */ color: rgb(32, 116, 44);
/* oklch */ color: oklch(49.3% 0.133 145.4);
Tailwind
colors: {
  custom: {
    50: '#689d68',
    500: '#20742c',
    950: '#000000',
  },
}
SCSS
$custom: #20742c;
$custom-light: #689d68;
$custom-dark: #000000;
JSON
{
  "hex": "#20742c",
  "rgb": {
    "r": 32,
    "g": 116,
    "b": 44
  },
  "hsl": {
    "h": 128.571,
    "s": 56.757,
    "l": 29.02
  },
  "oklch": {
    "l": 0.49277,
    "c": 0.1334,
    "h": 145.4
  },
  "luminance": 0.1298
}

Semantic roles & 50–950 ramp

primary
#20742C
secondary
#A8489A
accent
#48CAE0
background
#F6F9F6
surface
#EBF2EB
border
#C6CCC6
text
#070E06
muted
#7A7E7A

Preview Lab

Preview with #20742C

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

Preview Lab → · Contrast checker → · Palette generator →

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