#202818#202818

#202818 is a dark, muted yellow-green. Relative luminance 0.019; OKLCH L 26.4% C 0.031 H 129.9°. Best body text is #FFFFFF at 15.24:1 contrast (WCAG AA passes).

Color values

HEX#202818
RGBrgb(32, 40, 24)
HSLhsl(90, 25%, 13%)
HSVhsv(90, 40%, 16%)
CMYKcmyk(20%, 0%, 40%, 84.3%)
CIE-LABlab(14.90, -7.25, 9.41)
CIE-LCHlch(14.90, 11.88, 127.60°)
OKLaboklab(26.38% -0.0197 0.0236)
OKLCHoklch(26.38% 0.031 129.9)
XYZxyz(1.5193, 1.8906, 1.1489)
Luminance0.0189 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#202818 #201828
analogous
#282818 #202818 #182818
triadic
#202818 #182028 #281820
tetradic
#202818 #182828 #201828 #281818
square
#202818 #182828 #201828 #281818
split-complementary
#202818 #181828 #281828
monochromatic
#0F130B #0F130B #202818 #3F4E2F #5D7446

Accessibility & contrast

On white

15.24
#202818 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.38
#202818 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #202818
15.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##202818#FFFFFF#000000##FFFFFF
##2028181.0015.241.3815.24
#FFFFFF15.241.0021.001.00
#0000001.3821.001.0021.00
##FFFFFF15.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A2617
Deuteranopia (green-blind)
#282519
Tritanopia (blue-blind)
#212724
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #202818;
/* rgb */ color: rgb(32, 40, 24);
/* oklch */ color: oklch(26.4% 0.031 129.9);
Tailwind
colors: {
  custom: {
    50: '#5b6154',
    500: '#202818',
    950: '#000000',
  },
}
SCSS
$custom: #202818;
$custom-light: #5b6154;
$custom-dark: #000000;
JSON
{
  "hex": "#202818",
  "rgb": {
    "r": 32,
    "g": 40,
    "b": 24
  },
  "hsl": {
    "h": 90,
    "s": 25,
    "l": 12.549
  },
  "oklch": {
    "l": 0.26384,
    "c": 0.03068,
    "h": 129.9
  },
  "luminance": 0.01891
}

Semantic roles & 50–950 ramp

primary
#202818
secondary
#4E405C
accent
#66C194
background
#F5F5F4
surface
#E9E9E7
border
#C5C5C3
text
#040502
muted
#797978

Preview Lab

Preview with #202818

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

Preview Lab → · Contrast checker → · Palette generator →

#202818 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva