#20742E#20742E

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

Color values

HEX#20742E
RGBrgb(32, 116, 46)
HSLhsl(130, 57%, 29%)
HSVhsv(130, 72%, 45%)
CMYKcmyk(72.4%, 0%, 60.3%, 54.5%)
CIE-LABlab(42.75, -40.39, 31.11)
CIE-LCHlch(42.75, 50.99, 142.39°)
OKLaboklab(49.3% -0.109 0.0738)
OKLCHoklch(49.3% 0.132 145.9)
XYZxyz(7.3337, 12.9943, 4.7059)
Luminance0.1300 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20742E #742066
analogous
#3C7420 #20742E #207458
triadic
#20742E #2E2074 #742E20
tetradic
#20742E #203C74 #742066 #745820
square
#20742E #203C74 #742066 #745820
split-complementary
#20742E #582074 #74203C
monochromatic
#07180A #13441B #20742E #2DA441 #43CB5A

Accessibility & contrast

On white

5.83
#20742E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #20742E
5.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##20742E#FFFFFF#000000##FFFFFF
##20742E1.005.833.605.83
#FFFFFF5.831.0021.001.00
#0000003.6021.001.0021.00
##FFFFFF5.831.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #20742e;
/* rgb */ color: rgb(32, 116, 46);
/* oklch */ color: oklch(49.3% 0.132 145.9);
Tailwind
colors: {
  custom: {
    50: '#689d69',
    500: '#20742e',
    950: '#000000',
  },
}
SCSS
$custom: #20742e;
$custom-light: #689d69;
$custom-dark: #000000;
JSON
{
  "hex": "#20742e",
  "rgb": {
    "r": 32,
    "g": 116,
    "b": 46
  },
  "hsl": {
    "h": 130,
    "s": 56.757,
    "l": 29.02
  },
  "oklch": {
    "l": 0.49304,
    "c": 0.13162,
    "h": 145.9
  },
  "luminance": 0.12995
}

Semantic roles & 50–950 ramp

primary
#20742E
secondary
#A84898
accent
#48C7E0
background
#F6F9F6
surface
#EBF2EB
border
#C6CCC6
text
#070E06
muted
#7A7E7A

Preview Lab

Preview with #20742E

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

Preview Lab → · Contrast checker → · Palette generator →

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