#20331A#20331A

#20331A is a dark, muted green. Relative luminance 0.027; OKLCH L 29.7% C 0.050 H 138.5°. Best body text is #FFFFFF at 13.55:1 contrast (WCAG AA passes).

Color values

HEX#20331A
RGBrgb(32, 51, 26)
HSLhsl(106, 32%, 15%)
HSVhsv(106, 49%, 20%)
CMYKcmyk(37.3%, 0%, 49%, 80%)
CIE-LABlab(19.01, -13.66, 13.46)
CIE-LCHlch(19.01, 19.18, 135.41°)
OKLaboklab(29.71% -0.0373 0.0331)
OKLCHoklch(29.71% 0.05 138.5)
XYZxyz(1.9659, 2.7492, 1.4042)
Luminance0.0275 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20331A #2D1A33
analogous
#2C331A #20331A #1A3320
triadic
#20331A #1A2033 #331A20
tetradic
#20331A #1A2C33 #2D1A33 #33201A
square
#20331A #1A2C33 #2D1A33 #33201A
split-complementary
#20331A #201A33 #331A2C
monochromatic
#0D140A #0D140A #20331A #395C2F #538443

Accessibility & contrast

On white

13.55
#20331A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #20331A
13.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##20331A#FFFFFF#000000##FFFFFF
##20331A1.0013.551.5513.55
#FFFFFF13.551.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#342F18
Deuteranopia (green-blind)
#322E1B
Tritanopia (blue-blind)
#1F312D
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #20331a;
/* rgb */ color: rgb(32, 51, 26);
/* oklch */ color: oklch(29.7% 0.050 138.5);
Tailwind
colors: {
  custom: {
    50: '#5c6a56',
    500: '#20331a',
    950: '#000000',
  },
}
SCSS
$custom: #20331a;
$custom-light: #5c6a56;
$custom-dark: #000000;
JSON
{
  "hex": "#20331a",
  "rgb": {
    "r": 32,
    "g": 51,
    "b": 26
  },
  "hsl": {
    "h": 105.6,
    "s": 32.468,
    "l": 15.098
  },
  "oklch": {
    "l": 0.29707,
    "c": 0.0499,
    "h": 138.5
  },
  "luminance": 0.02749
}

Semantic roles & 50–950 ramp

primary
#20331A
secondary
#5E4168
accent
#5FC9AF
background
#F5F6F5
surface
#E9EBE9
border
#C5C6C5
text
#040603
muted
#797A78

Preview Lab

Preview with #20331A

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

Preview Lab → · Contrast checker → · Palette generator →

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