#20281C#20281C

#20281C is a dark, muted green. Relative luminance 0.019; OKLCH L 26.5% C 0.025 H 135.3°. Best body text is #FFFFFF at 15.20:1 contrast (WCAG AA passes).

Color values

HEX#20281C
RGBrgb(32, 40, 28)
HSLhsl(100, 18%, 13%)
HSVhsv(100, 30%, 16%)
CMYKcmyk(20%, 0%, 30%, 84.3%)
CIE-LABlab(15.00, -6.44, 6.77)
CIE-LCHlch(15.00, 9.34, 133.59°)
OKLaboklab(26.49% -0.0174 0.0172)
OKLCHoklch(26.49% 0.025 135.3)
XYZxyz(1.5640, 1.9085, 1.3844)
Luminance0.0191 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20281C #241C28
analogous
#26281C #20281C #1C281E
triadic
#20281C #1C2028 #281C20
tetradic
#20281C #1C2628 #241C28 #281E1C
square
#20281C #1C2628 #241C28 #281E1C
split-complementary
#20281C #1E1C28 #281C26
monochromatic
#0E120D #0E120D #20281C #3D4C35 #5A704E

Accessibility & contrast

On white

15.20
#20281C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.38
#20281C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #20281C
15.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##20281C#FFFFFF#000000##FFFFFF
##20281C1.0015.201.3815.20
#FFFFFF15.201.0021.001.00
#0000001.3821.001.0021.00
##FFFFFF15.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#29261B
Deuteranopia (green-blind)
#28251D
Tritanopia (blue-blind)
#202725
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #20281c;
/* rgb */ color: rgb(32, 40, 28);
/* oklch */ color: oklch(26.5% 0.025 135.3);
Tailwind
colors: {
  custom: {
    50: '#5b6158',
    500: '#20281c',
    950: '#000000',
  },
}
SCSS
$custom: #20281c;
$custom-light: #5b6158;
$custom-dark: #000000;
JSON
{
  "hex": "#20281c",
  "rgb": {
    "r": 32,
    "g": 40,
    "b": 28
  },
  "hsl": {
    "h": 100,
    "s": 17.647,
    "l": 13.333
  },
  "oklch": {
    "l": 0.26493,
    "c": 0.02451,
    "h": 135.3
  },
  "luminance": 0.01909
}

Semantic roles & 50–950 ramp

primary
#20281C
secondary
#53465A
accent
#6DBAA1
background
#F5F5F5
surface
#E9E9E9
border
#C5C5C5
text
#040503
muted
#797978

Preview Lab

Preview with #20281C

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

Preview Lab → · Contrast checker → · Palette generator →

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