#20742F#20742F

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

Color values

HEX#20742F
RGBrgb(32, 116, 47)
HSLhsl(131, 57%, 29%)
HSVhsv(131, 72%, 45%)
CMYKcmyk(72.4%, 0%, 59.5%, 54.5%)
CIE-LABlab(42.77, -40.25, 30.62)
CIE-LCHlch(42.77, 50.57, 142.74°)
OKLaboklab(49.32% -0.1086 0.0728)
OKLCHoklch(49.32% 0.131 146.2)
XYZxyz(7.3536, 13.0023, 4.8109)
Luminance0.1300 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20742F #742065
analogous
#3B7420 #20742F #207459
triadic
#20742F #2F2074 #742F20
tetradic
#20742F #203B74 #742065 #745920
square
#20742F #203B74 #742065 #745920
split-complementary
#20742F #592074 #74203B
monochromatic
#07180A #13441C #20742F #2DA442 #43CB5B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##20742F#FFFFFF#000000##FFFFFF
##20742F1.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)
#766928
Deuteranopia (green-blind)
#6C6234
Tritanopia (blue-blind)
#007165
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #20742f;
/* rgb */ color: rgb(32, 116, 47);
/* oklch */ color: oklch(49.3% 0.131 146.2);
Tailwind
colors: {
  custom: {
    50: '#689d6a',
    500: '#20742f',
    950: '#000000',
  },
}
SCSS
$custom: #20742f;
$custom-light: #689d6a;
$custom-dark: #000000;
JSON
{
  "hex": "#20742f",
  "rgb": {
    "r": 32,
    "g": 116,
    "b": 47
  },
  "hsl": {
    "h": 130.714,
    "s": 56.757,
    "l": 29.02
  },
  "oklch": {
    "l": 0.49318,
    "c": 0.13072,
    "h": 146.2
  },
  "luminance": 0.13003
}

Semantic roles & 50–950 ramp

primary
#20742F
secondary
#A84897
accent
#48C5E0
background
#F6F9F6
surface
#EBF2EB
border
#C6CCC6
text
#070E06
muted
#7A7E7A

Preview Lab

Preview with #20742F

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

Preview Lab → · Contrast checker → · Palette generator →

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