#20642C#20642C

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

Color values

HEX#20642C
RGBrgb(32, 100, 44)
HSLhsl(131, 52%, 26%)
HSVhsv(131, 68%, 39%)
CMYKcmyk(68%, 0%, 56%, 60.8%)
CIE-LABlab(37.12, -34.32, 25.43)
CIE-LCHlch(37.12, 42.72, 143.46°)
OKLaboklab(44.64% -0.0927 0.0611)
OKLCHoklch(44.64% 0.111 146.6)
XYZxyz(5.6071, 9.6027, 3.9404)
Luminance0.0960 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20642C #642058
analogous
#366420 #20642C #20644E
triadic
#20642C #2C2064 #642C20
tetradic
#20642C #203664 #642058 #644E20
square
#20642C #203664 #642058 #644E20
split-complementary
#20642C #4E2064 #642036
monochromatic
#07170A #113618 #20642C #2F9240 #3EC155

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##20642C#FFFFFF#000000##FFFFFF
##20642C1.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)
#655B27
Deuteranopia (green-blind)
#5D5530
Tritanopia (blue-blind)
#0D6257
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #20642c;
/* rgb */ color: rgb(32, 100, 44);
/* oklch */ color: oklch(44.6% 0.111 146.6);
Tailwind
colors: {
  custom: {
    50: '#659166',
    500: '#20642c',
    950: '#000000',
  },
}
SCSS
$custom: #20642c;
$custom-light: #659166;
$custom-dark: #000000;
JSON
{
  "hex": "#20642c",
  "rgb": {
    "r": 32,
    "g": 100,
    "b": 44
  },
  "hsl": {
    "h": 130.588,
    "s": 51.515,
    "l": 25.882
  },
  "oklch": {
    "l": 0.44639,
    "c": 0.11105,
    "h": 146.6
  },
  "luminance": 0.09603
}

Semantic roles & 50–950 ramp

primary
#20642C
secondary
#98488A
accent
#4DC2DB
background
#F6F8F6
surface
#EBF0EB
border
#C6CBC6
text
#060D06
muted
#7A7D7A

Preview Lab

Preview with #20642C

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

Preview Lab → · Contrast checker → · Palette generator →

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