#20331E#20331E

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

Color values

HEX#20331E
RGBrgb(32, 51, 30)
HSLhsl(114, 26%, 16%)
HSVhsv(114, 41%, 20%)
CMYKcmyk(37.3%, 0%, 41.2%, 80%)
CIE-LABlab(19.09, -12.90, 10.95)
CIE-LCHlch(19.09, 16.92, 139.68°)
OKLaboklab(29.8% -0.0352 0.0274)
OKLCHoklch(29.8% 0.045 142.1)
XYZxyz(2.0138, 2.7684, 1.6563)
Luminance0.0277 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20331E #311E33
analogous
#2A331E #20331E #1E3326
triadic
#20331E #1E2033 #331E20
tetradic
#20331E #1E2A33 #311E33 #33261E
square
#20331E #1E2A33 #311E33 #33261E
split-complementary
#20331E #261E33 #331E2A
monochromatic
#0C130B #0C130B #20331E #385A35 #50804B

Accessibility & contrast

On white

13.52
#20331E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #20331E
13.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##20331E#FFFFFF#000000##FFFFFF
##20331E1.0013.521.5513.52
#FFFFFF13.521.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#342F1D
Deuteranopia (green-blind)
#312E1F
Tritanopia (blue-blind)
#1E322E
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #20331e;
/* rgb */ color: rgb(32, 51, 30);
/* oklch */ color: oklch(29.8% 0.045 142.1);
Tailwind
colors: {
  custom: {
    50: '#5c6a5a',
    500: '#20331e',
    950: '#000000',
  },
}
SCSS
$custom: #20331e;
$custom-light: #5c6a5a;
$custom-dark: #000000;
JSON
{
  "hex": "#20331e",
  "rgb": {
    "r": 32,
    "g": 51,
    "b": 30
  },
  "hsl": {
    "h": 114.286,
    "s": 25.926,
    "l": 15.882
  },
  "oklch": {
    "l": 0.29799,
    "c": 0.04457,
    "h": 142.1
  },
  "luminance": 0.02768
}

Semantic roles & 50–950 ramp

primary
#20331E
secondary
#634766
accent
#65C2B9
background
#F5F6F5
surface
#E9EBE9
border
#C5C6C5
text
#040603
muted
#797A78

Preview Lab

Preview with #20331E

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

Preview Lab → · Contrast checker → · Palette generator →

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