#20412E#20412E

#20412E is a dark, muted green. Relative luminance 0.043; OKLCH L 34.4% C 0.052 H 157.0°. Best body text is #FFFFFF at 11.31:1 contrast (WCAG AA passes).

Color values

HEX#20412E
RGBrgb(32, 65, 46)
HSLhsl(145, 34%, 19%)
HSVhsv(145, 51%, 25%)
CMYKcmyk(50.8%, 0%, 29.2%, 74.5%)
CIE-LABlab(24.59, -17.32, 7.92)
CIE-LCHlch(24.59, 19.04, 155.43°)
OKLaboklab(34.38% -0.0476 0.0202)
OKLCHoklch(34.38% 0.052 157)
XYZxyz(2.9789, 4.2847, 3.2543)
Luminance0.0428 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20412E #412033
analogous
#234120 #20412E #20413F
triadic
#20412E #2E2041 #412E20
tetradic
#20412E #202341 #412033 #413F20
square
#20412E #202341 #412033 #413F20
split-complementary
#20412E #3F2041 #412023
monochromatic
#0A150F #0C1811 #20412E #346A4B #489368

Accessibility & contrast

On white

11.31
#20412E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.86
#20412E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #20412E
11.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##20412E#FFFFFF#000000##FFFFFF
##20412E1.0011.311.8611.31
#FFFFFF11.311.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#413D2D
Deuteranopia (green-blind)
#3C392F
Tritanopia (blue-blind)
#18413C
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #20412e;
/* rgb */ color: rgb(32, 65, 46);
/* oklch */ color: oklch(34.4% 0.052 157.0);
Tailwind
colors: {
  custom: {
    50: '#5e7666',
    500: '#20412e',
    950: '#000000',
  },
}
SCSS
$custom: #20412e;
$custom-light: #5e7666;
$custom-dark: #000000;
JSON
{
  "hex": "#20412e",
  "rgb": {
    "r": 32,
    "g": 65,
    "b": 46
  },
  "hsl": {
    "h": 145.455,
    "s": 34.021,
    "l": 19.02
  },
  "oklch": {
    "l": 0.34381,
    "c": 0.0517,
    "h": 157
  },
  "luminance": 0.04285
}

Semantic roles & 50–950 ramp

primary
#20412E
secondary
#754862
accent
#5E9CCA
background
#F5F7F6
surface
#E9EDEB
border
#C5C8C6
text
#040806
muted
#797B7A

Preview Lab

Preview with #20412E

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

Preview Lab → · Contrast checker → · Palette generator →

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