#20642E#20642E

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

Color values

HEX#20642E
RGBrgb(32, 100, 46)
HSLhsl(132, 52%, 26%)
HSVhsv(132, 68%, 39%)
CMYKcmyk(68%, 0%, 54%, 60.8%)
CIE-LABlab(37.15, -34.00, 24.36)
CIE-LCHlch(37.15, 41.83, 144.37°)
OKLaboklab(44.67% -0.0918 0.0589)
OKLCHoklch(44.67% 0.109 147.3)
XYZxyz(5.6456, 9.6181, 4.1432)
Luminance0.0962 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20642E #642056
analogous
#346420 #20642E #206450
triadic
#20642E #2E2064 #642E20
tetradic
#20642E #203464 #642056 #645020
square
#20642E #203464 #642056 #645020
split-complementary
#20642E #502064 #642034
monochromatic
#07170B #113619 #20642E #2F9243 #3EC159

Accessibility & contrast

On white

7.18
#20642E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #20642E
7.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##20642E#FFFFFF#000000##FFFFFF
##20642E1.007.182.927.18
#FFFFFF7.181.0021.001.00
#0000002.9221.001.0021.00
##FFFFFF7.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#655B29
Deuteranopia (green-blind)
#5D5532
Tritanopia (blue-blind)
#0B6258
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #20642e;
/* rgb */ color: rgb(32, 100, 46);
/* oklch */ color: oklch(44.7% 0.109 147.3);
Tailwind
colors: {
  custom: {
    50: '#659168',
    500: '#20642e',
    950: '#000000',
  },
}
SCSS
$custom: #20642e;
$custom-light: #659168;
$custom-dark: #000000;
JSON
{
  "hex": "#20642e",
  "rgb": {
    "r": 32,
    "g": 100,
    "b": 46
  },
  "hsl": {
    "h": 132.353,
    "s": 51.515,
    "l": 25.882
  },
  "oklch": {
    "l": 0.44672,
    "c": 0.10906,
    "h": 147.3
  },
  "luminance": 0.09619
}

Semantic roles & 50–950 ramp

primary
#20642E
secondary
#984888
accent
#4DBEDB
background
#F6F8F6
surface
#EBF0EB
border
#C6CBC6
text
#060D06
muted
#7A7D7A

Preview Lab

Preview with #20642E

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

Preview Lab → · Contrast checker → · Palette generator →

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