#202816#202816

#202816 is a dark, muted yellow-green. Relative luminance 0.019; OKLCH L 26.3% C 0.034 H 128.0°. Best body text is #FFFFFF at 15.25:1 contrast (WCAG AA passes).

Color values

HEX#202816
RGBrgb(32, 40, 22)
HSLhsl(87, 29%, 12%)
HSVhsv(87, 45%, 16%)
CMYKcmyk(20%, 0%, 45%, 84.3%)
CIE-LABlab(14.86, -7.61, 10.73)
CIE-LCHlch(14.86, 13.15, 125.37°)
OKLaboklab(26.33% -0.0208 0.0266)
OKLCHoklch(26.33% 0.034 128)
XYZxyz(1.4993, 1.8826, 1.0433)
Luminance0.0188 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#202816 #1E1628
analogous
#282716 #202816 #172816
triadic
#202816 #162028 #281620
tetradic
#202816 #162827 #1E1628 #281617
square
#202816 #162827 #1E1628 #281617
split-complementary
#202816 #161728 #271628
monochromatic
#10140B #10140B #202816 #404F2C #5F7741

Accessibility & contrast

On white

15.25
#202816 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #202816
15.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##202816#FFFFFF#000000##FFFFFF
##2028161.0015.251.3815.25
#FFFFFF15.251.0021.001.00
#0000001.3821.001.0021.00
##FFFFFF15.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A2615
Deuteranopia (green-blind)
#292517
Tritanopia (blue-blind)
#212623
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #202816;
/* rgb */ color: rgb(32, 40, 22);
/* oklch */ color: oklch(26.3% 0.034 128.0);
Tailwind
colors: {
  custom: {
    50: '#5b6153',
    500: '#202816',
    950: '#000000',
  },
}
SCSS
$custom: #202816;
$custom-light: #5b6153;
$custom-dark: #000000;
JSON
{
  "hex": "#202816",
  "rgb": {
    "r": 32,
    "g": 40,
    "b": 22
  },
  "hsl": {
    "h": 86.667,
    "s": 29.032,
    "l": 12.157
  },
  "oklch": {
    "l": 0.26334,
    "c": 0.03373,
    "h": 128
  },
  "luminance": 0.01883
}

Semantic roles & 50–950 ramp

primary
#202816
secondary
#4B3D5D
accent
#62C58E
background
#F5F5F4
surface
#E9E9E7
border
#C5C5C3
text
#040502
muted
#797978

Preview Lab

Preview with #202816

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

Preview Lab → · Contrast checker → · Palette generator →

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