#20382A#20382A

#20382A is a dark, muted green. Relative luminance 0.033; OKLCH L 31.6% C 0.039 H 157.6°. Best body text is #FFFFFF at 12.65:1 contrast (WCAG AA passes).

Color values

HEX#20382A
RGBrgb(32, 56, 42)
HSLhsl(145, 27%, 17%)
HSVhsv(145, 43%, 22%)
CMYKcmyk(42.9%, 0%, 25%, 78%)
CIE-LABlab(21.22, -13.17, 5.85)
CIE-LCHlch(21.22, 14.41, 156.06°)
OKLaboklab(31.61% -0.0364 0.015)
OKLCHoklch(31.61% 0.039 157.6)
XYZxyz(2.4276, 3.3024, 2.6996)
Luminance0.0330 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20382A #38202E
analogous
#223820 #20382A #203836
triadic
#20382A #2A2038 #382A20
tetradic
#20382A #202238 #38202E #383620
square
#20382A #202238 #38202E #383620
split-complementary
#20382A #362038 #382022
monochromatic
#0B130F #0B130F #20382A #365F47 #4D8664

Accessibility & contrast

On white

12.65
#20382A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.66
#20382A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #20382A
12.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##20382A#FFFFFF#000000##FFFFFF
##20382A1.0012.651.6612.65
#FFFFFF12.651.0021.001.00
#0000001.6621.001.0021.00
##FFFFFF12.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#383529
Deuteranopia (green-blind)
#34322B
Tritanopia (blue-blind)
#1B3834
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #20382a;
/* rgb */ color: rgb(32, 56, 42);
/* oklch */ color: oklch(31.6% 0.039 157.6);
Tailwind
colors: {
  custom: {
    50: '#5c6e63',
    500: '#20382a',
    950: '#000000',
  },
}
SCSS
$custom: #20382a;
$custom-light: #5c6e63;
$custom-dark: #000000;
JSON
{
  "hex": "#20382a",
  "rgb": {
    "r": 32,
    "g": 56,
    "b": 42
  },
  "hsl": {
    "h": 145,
    "s": 27.273,
    "l": 17.255
  },
  "oklch": {
    "l": 0.31613,
    "c": 0.03938,
    "h": 157.6
  },
  "luminance": 0.03303
}

Semantic roles & 50–950 ramp

primary
#20382A
secondary
#6B495D
accent
#649CC4
background
#F5F6F5
surface
#E9ECEA
border
#C5C7C6
text
#040705
muted
#797A79

Preview Lab

Preview with #20382A

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

Preview Lab → · Contrast checker → · Palette generator →

#20382A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva