#20331F#20331F

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

Color values

HEX#20331F
RGBrgb(32, 51, 31)
HSLhsl(117, 24%, 16%)
HSVhsv(117, 39%, 20%)
CMYKcmyk(37.3%, 0%, 39.2%, 80%)
CIE-LABlab(19.11, -12.70, 10.31)
CIE-LCHlch(19.11, 16.36, 140.92°)
OKLaboklab(29.82% -0.0346 0.0259)
OKLCHoklch(29.82% 0.043 143.2)
XYZxyz(2.0267, 2.7736, 1.7246)
Luminance0.0277 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20331F #321F33
analogous
#2A331F #20331F #1F3328
triadic
#20331F #1F2033 #331F20
tetradic
#20331F #1F2A33 #321F33 #33281F
square
#20331F #1F2A33 #321F33 #33281F
split-complementary
#20331F #281F33 #331F2A
monochromatic
#0C130C #0C130C #20331F #385936 #507F4D

Accessibility & contrast

On white

13.51
#20331F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #20331F
13.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##20331F#FFFFFF#000000##FFFFFF
##20331F1.0013.511.5513.51
#FFFFFF13.511.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#34301E
Deuteranopia (green-blind)
#312E20
Tritanopia (blue-blind)
#1E322E
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #20331f;
/* rgb */ color: rgb(32, 51, 31);
/* oklch */ color: oklch(29.8% 0.043 143.2);
Tailwind
colors: {
  custom: {
    50: '#5c6a5a',
    500: '#20331f',
    950: '#000000',
  },
}
SCSS
$custom: #20331f;
$custom-light: #5c6a5a;
$custom-dark: #000000;
JSON
{
  "hex": "#20331f",
  "rgb": {
    "r": 32,
    "g": 51,
    "b": 31
  },
  "hsl": {
    "h": 117,
    "s": 24.39,
    "l": 16.078
  },
  "oklch": {
    "l": 0.29824,
    "c": 0.04323,
    "h": 143.2
  },
  "luminance": 0.02774
}

Semantic roles & 50–950 ramp

primary
#20331F
secondary
#644866
accent
#67C1BC
background
#F5F6F5
surface
#E9EBE9
border
#C5C6C5
text
#040604
muted
#797A79

Preview Lab

Preview with #20331F

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

Preview Lab → · Contrast checker → · Palette generator →

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