#20381C#20381C

#20381C is a dark, muted green. Relative luminance 0.032; OKLCH L 31.3% C 0.057 H 140.9°. Best body text is #FFFFFF at 12.78:1 contrast (WCAG AA passes).

Color values

HEX#20381C
RGBrgb(32, 56, 28)
HSLhsl(111, 33%, 16%)
HSVhsv(111, 50%, 22%)
CMYKcmyk(42.9%, 0%, 50%, 78%)
CIE-LABlab(20.90, -16.14, 14.61)
CIE-LCHlch(20.90, 21.77, 137.86°)
OKLaboklab(31.25% -0.0441 0.0358)
OKLCHoklch(31.25% 0.057 140.9)
XYZxyz(2.2194, 3.2192, 1.6028)
Luminance0.0322 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20381C #341C38
analogous
#2E381C #20381C #1C3826
triadic
#20381C #1C2038 #381C20
tetradic
#20381C #1C2E38 #341C38 #38261C
square
#20381C #1C2E38 #341C38 #38261C
split-complementary
#20381C #261C38 #381C2E
monochromatic
#0C140A #0C140A #20381C #376130 #4F8A45

Accessibility & contrast

On white

12.78
#20381C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.64
#20381C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #20381C
12.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##20381C#FFFFFF#000000##FFFFFF
##20381C1.0012.781.6412.78
#FFFFFF12.781.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#39341A
Deuteranopia (green-blind)
#36311E
Tritanopia (blue-blind)
#1E3631
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #20381c;
/* rgb */ color: rgb(32, 56, 28);
/* oklch */ color: oklch(31.3% 0.057 140.9);
Tailwind
colors: {
  custom: {
    50: '#5d6e58',
    500: '#20381c',
    950: '#000000',
  },
}
SCSS
$custom: #20381c;
$custom-light: #5d6e58;
$custom-dark: #000000;
JSON
{
  "hex": "#20381c",
  "rgb": {
    "r": 32,
    "g": 56,
    "b": 28
  },
  "hsl": {
    "h": 111.429,
    "s": 33.333,
    "l": 16.471
  },
  "oklch": {
    "l": 0.31254,
    "c": 0.0568,
    "h": 140.9
  },
  "luminance": 0.03219
}

Semantic roles & 50–950 ramp

primary
#20381C
secondary
#67436C
accent
#5EC9BA
background
#F5F6F5
surface
#E9ECE9
border
#C5C7C5
text
#040703
muted
#797A78

Preview Lab

Preview with #20381C

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

Preview Lab → · Contrast checker → · Palette generator →

#20381C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva