#20642D#20642D

#20642D is a dark, moderate green. Relative luminance 0.096; OKLCH L 44.7% C 0.110 H 147.0°. Best body text is #FFFFFF at 7.19:1 contrast (WCAG AA passes).

Color values

HEX#20642D
RGBrgb(32, 100, 45)
HSLhsl(131, 52%, 26%)
HSVhsv(131, 68%, 39%)
CMYKcmyk(68%, 0%, 55%, 60.8%)
CIE-LABlab(37.13, -34.16, 24.90)
CIE-LCHlch(37.13, 42.27, 143.91°)
OKLaboklab(44.66% -0.0923 0.06)
OKLCHoklch(44.66% 0.11 147)
XYZxyz(5.6261, 9.6103, 4.0406)
Luminance0.0961 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20642D #642057
analogous
#356420 #20642D #20644F
triadic
#20642D #2D2064 #642D20
tetradic
#20642D #203564 #642057 #644F20
square
#20642D #203564 #642057 #644F20
split-complementary
#20642D #4F2064 #642035
monochromatic
#07170A #113618 #20642D #2F9242 #3EC157

Accessibility & contrast

On white

7.19
#20642D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.92
#20642D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #20642D
7.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##20642D#FFFFFF#000000##FFFFFF
##20642D1.007.192.927.19
#FFFFFF7.191.0021.001.00
#0000002.9221.001.0021.00
##FFFFFF7.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#655B28
Deuteranopia (green-blind)
#5D5531
Tritanopia (blue-blind)
#0C6257
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #20642d;
/* rgb */ color: rgb(32, 100, 45);
/* oklch */ color: oklch(44.7% 0.110 147.0);
Tailwind
colors: {
  custom: {
    50: '#659167',
    500: '#20642d',
    950: '#000000',
  },
}
SCSS
$custom: #20642d;
$custom-light: #659167;
$custom-dark: #000000;
JSON
{
  "hex": "#20642d",
  "rgb": {
    "r": 32,
    "g": 100,
    "b": 45
  },
  "hsl": {
    "h": 131.471,
    "s": 51.515,
    "l": 25.882
  },
  "oklch": {
    "l": 0.44655,
    "c": 0.11007,
    "h": 147
  },
  "luminance": 0.09611
}

Semantic roles & 50–950 ramp

primary
#20642D
secondary
#984889
accent
#4DC0DB
background
#F6F8F6
surface
#EBF0EB
border
#C6CBC6
text
#060D06
muted
#7A7D7A

Preview Lab

Preview with #20642D

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

Preview Lab → · Contrast checker → · Palette generator →

#20642D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva