#20331C#20331C

#20331C is a dark, muted green. Relative luminance 0.028; OKLCH L 29.8% C 0.047 H 140.2°. Best body text is #FFFFFF at 13.53:1 contrast (WCAG AA passes).

Color values

HEX#20331C
RGBrgb(32, 51, 28)
HSLhsl(110, 29%, 15%)
HSVhsv(110, 45%, 20%)
CMYKcmyk(37.3%, 0%, 45.1%, 80%)
CIE-LABlab(19.05, -13.29, 12.21)
CIE-LCHlch(19.05, 18.05, 137.43°)
OKLaboklab(29.75% -0.0363 0.0303)
OKLCHoklch(29.75% 0.047 140.2)
XYZxyz(1.9890, 2.7585, 1.5260)
Luminance0.0276 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20331C #2F1C33
analogous
#2B331C #20331C #1C3323
triadic
#20331C #1C2033 #331C20
tetradic
#20331C #1C2B33 #2F1C33 #33231C
square
#20331C #1C2B33 #2F1C33 #33231C
split-complementary
#20331C #231C33 #331C2B
monochromatic
#0C140B #0C140B #20331C #395B32 #528247

Accessibility & contrast

On white

13.53
#20331C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.55
#20331C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #20331C
13.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##20331C#FFFFFF#000000##FFFFFF
##20331C1.0013.531.5513.53
#FFFFFF13.531.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#342F1A
Deuteranopia (green-blind)
#312E1D
Tritanopia (blue-blind)
#1F322D
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #20331c;
/* rgb */ color: rgb(32, 51, 28);
/* oklch */ color: oklch(29.8% 0.047 140.2);
Tailwind
colors: {
  custom: {
    50: '#5c6a58',
    500: '#20331c',
    950: '#000000',
  },
}
SCSS
$custom: #20331c;
$custom-light: #5c6a58;
$custom-dark: #000000;
JSON
{
  "hex": "#20331c",
  "rgb": {
    "r": 32,
    "g": 51,
    "b": 28
  },
  "hsl": {
    "h": 109.565,
    "s": 29.114,
    "l": 15.49
  },
  "oklch": {
    "l": 0.29752,
    "c": 0.04725,
    "h": 140.2
  },
  "luminance": 0.02759
}

Semantic roles & 50–950 ramp

primary
#20331C
secondary
#614467
accent
#62C5B4
background
#F5F6F5
surface
#E9EBE9
border
#C5C6C5
text
#040603
muted
#797A78

Preview Lab

Preview with #20331C

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

Preview Lab → · Contrast checker → · Palette generator →

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