#20331B#20331B

#20331B is a dark, muted green. Relative luminance 0.028; OKLCH L 29.7% C 0.049 H 139.3°. Best body text is #FFFFFF at 13.54:1 contrast (WCAG AA passes).

Color values

HEX#20331B
RGBrgb(32, 51, 27)
HSLhsl(108, 31%, 15%)
HSVhsv(108, 47%, 20%)
CMYKcmyk(37.3%, 0%, 47.1%, 80%)
CIE-LABlab(19.03, -13.48, 12.84)
CIE-LCHlch(19.03, 18.61, 136.39°)
OKLaboklab(29.73% -0.0368 0.0317)
OKLCHoklch(29.73% 0.049 139.3)
XYZxyz(1.9773, 2.7538, 1.4641)
Luminance0.0275 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20331B #2E1B33
analogous
#2C331B #20331B #1B3322
triadic
#20331B #1B2033 #331B20
tetradic
#20331B #1B2C33 #2E1B33 #33221B
square
#20331B #1B2C33 #2E1B33 #33221B
split-complementary
#20331B #221B33 #331B2C
monochromatic
#0D140B #0D140B #20331B #395B30 #528345

Accessibility & contrast

On white

13.54
#20331B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #20331B
13.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##20331B#FFFFFF#000000##FFFFFF
##20331B1.0013.541.5513.54
#FFFFFF13.541.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#342F19
Deuteranopia (green-blind)
#312E1C
Tritanopia (blue-blind)
#1F312D
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #20331b;
/* rgb */ color: rgb(32, 51, 27);
/* oklch */ color: oklch(29.7% 0.049 139.3);
Tailwind
colors: {
  custom: {
    50: '#5c6a57',
    500: '#20331b',
    950: '#000000',
  },
}
SCSS
$custom: #20331b;
$custom-light: #5c6a57;
$custom-dark: #000000;
JSON
{
  "hex": "#20331b",
  "rgb": {
    "r": 32,
    "g": 51,
    "b": 27
  },
  "hsl": {
    "h": 107.5,
    "s": 30.769,
    "l": 15.294
  },
  "oklch": {
    "l": 0.29729,
    "c": 0.04857,
    "h": 139.3
  },
  "luminance": 0.02754
}

Semantic roles & 50–950 ramp

primary
#20331B
secondary
#604367
accent
#61C7B2
background
#F5F6F5
surface
#E9EBE9
border
#C5C6C5
text
#040603
muted
#797A78

Preview Lab

Preview with #20331B

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

Preview Lab → · Contrast checker → · Palette generator →

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