#20562E#20562E

#20562E is a dark, moderate green. Relative luminance 0.072; OKLCH L 40.6% C 0.088 H 149.4°. Best body text is #FFFFFF at 8.63:1 contrast (WCAG AA passes).

Color values

HEX#20562E
RGBrgb(32, 86, 46)
HSLhsl(136, 46%, 23%)
HSVhsv(136, 63%, 34%)
CMYKcmyk(62.8%, 0%, 46.5%, 66.3%)
CIE-LABlab(32.17, -27.86, 18.07)
CIE-LCHlch(32.17, 33.21, 147.03°)
OKLaboklab(40.57% -0.0754 0.0446)
OKLCHoklch(40.57% 0.088 149.4)
XYZxyz(4.4163, 7.1595, 3.7334)
Luminance0.0716 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20562E #562048
analogous
#2D5620 #20562E #205649
triadic
#20562E #2E2056 #562E20
tetradic
#20562E #202D56 #562048 #564920
square
#20562E #202D56 #562048 #564920
split-complementary
#20562E #492056 #56202D
monochromatic
#08160C #0F2916 #20562E #318346 #41AF5E

Accessibility & contrast

On white

8.63
#20562E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.43
#20562E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #20562E
8.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##20562E#FFFFFF#000000##FFFFFF
##20562E1.008.632.438.63
#FFFFFF8.631.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#574F2B
Deuteranopia (green-blind)
#4F4A31
Tritanopia (blue-blind)
#12544C
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #20562e;
/* rgb */ color: rgb(32, 86, 46);
/* oklch */ color: oklch(40.6% 0.088 149.4);
Tailwind
colors: {
  custom: {
    50: '#618667',
    500: '#20562e',
    950: '#000000',
  },
}
SCSS
$custom: #20562e;
$custom-light: #618667;
$custom-dark: #000000;
JSON
{
  "hex": "#20562e",
  "rgb": {
    "r": 32,
    "g": 86,
    "b": 46
  },
  "hsl": {
    "h": 135.556,
    "s": 45.763,
    "l": 23.137
  },
  "oklch": {
    "l": 0.40572,
    "c": 0.08757,
    "h": 149.4
  },
  "luminance": 0.0716
}

Semantic roles & 50–950 ramp

primary
#20562E
secondary
#8B4779
accent
#52B3D5
background
#F6F8F6
surface
#EBEFEB
border
#C6CAC6
text
#050B06
muted
#7A7C7A

Preview Lab

Preview with #20562E

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

Preview Lab → · Contrast checker → · Palette generator →

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