#20542E#20542E

#20542E is a dark, moderate green. Relative luminance 0.068; OKLCH L 40.0% C 0.084 H 149.8°. Best body text is #FFFFFF at 8.86:1 contrast (WCAG AA passes).

Color values

HEX#20542E
RGBrgb(32, 84, 46)
HSLhsl(136, 45%, 23%)
HSVhsv(136, 62%, 33%)
CMYKcmyk(61.9%, 0%, 45.2%, 67.1%)
CIE-LABlab(31.45, -26.94, 17.14)
CIE-LCHlch(31.45, 31.93, 147.53°)
OKLaboklab(39.98% -0.0729 0.0424)
OKLCHoklch(39.98% 0.084 149.8)
XYZxyz(4.2588, 6.8446, 3.6809)
Luminance0.0684 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20542E #542046
analogous
#2C5420 #20542E #205448
triadic
#20542E #2E2054 #542E20
tetradic
#20542E #202C54 #542046 #544820
square
#20542E #202C54 #542046 #544820
split-complementary
#20542E #482054 #54202C
monochromatic
#08160C #0F2816 #20542E #318046 #42AD5F

Accessibility & contrast

On white

8.86
#20542E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#20542E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #20542E
8.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##20542E#FFFFFF#000000##FFFFFF
##20542E1.008.862.378.86
#FFFFFF8.861.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#554D2B
Deuteranopia (green-blind)
#4E4830
Tritanopia (blue-blind)
#13524B
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #20542e;
/* rgb */ color: rgb(32, 84, 46);
/* oklch */ color: oklch(40.0% 0.084 149.8);
Tailwind
colors: {
  custom: {
    50: '#618467',
    500: '#20542e',
    950: '#000000',
  },
}
SCSS
$custom: #20542e;
$custom-light: #618467;
$custom-dark: #000000;
JSON
{
  "hex": "#20542e",
  "rgb": {
    "r": 32,
    "g": 84,
    "b": 46
  },
  "hsl": {
    "h": 136.154,
    "s": 44.828,
    "l": 22.745
  },
  "oklch": {
    "l": 0.39983,
    "c": 0.08435,
    "h": 149.8
  },
  "luminance": 0.06845
}

Semantic roles & 50–950 ramp

primary
#20542E
secondary
#894777
accent
#53B2D5
background
#F5F8F6
surface
#EAEFEB
border
#C6CAC6
text
#050B06
muted
#797C7A

Preview Lab

Preview with #20542E

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

Preview Lab → · Contrast checker → · Palette generator →

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