#282820#282820

#282820 is a dark, near-neutral yellow. Relative luminance 0.021; OKLCH L 27.4% C 0.014 H 107.3°. Best body text is #FFFFFF at 14.85:1 contrast (WCAG AA passes).

Color values

HEX#282820
RGBrgb(40, 40, 32)
HSLhsl(60, 11%, 14%)
HSVhsv(60, 20%, 16%)
CMYKcmyk(0%, 0%, 20%, 84.3%)
CIE-LABlab(15.87, -1.78, 5.28)
CIE-LCHlch(15.87, 5.58, 108.64°)
OKLaboklab(27.41% -0.0042 0.0136)
OKLCHoklch(27.41% 0.014 107.3)
XYZxyz(1.8946, 2.0730, 1.6665)
Luminance0.0207 (WCAG relative)
Temperatureneutral
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#282820 #202028
analogous
#282420 #282820 #242820
triadic
#282820 #202828 #282028
tetradic
#282820 #202824 #202028 #282024
square
#282820 #202824 #202028 #282024
split-complementary
#282820 #202428 #242028
monochromatic
#11110E #11110E #282820 #4A4A3B #6C6C56

Accessibility & contrast

On white

14.85
#282820 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.41
#282820 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #282820
14.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##282820#FFFFFF#000000##FFFFFF
##2828201.0014.851.4114.85
#FFFFFF14.851.0021.001.00
#0000001.4121.001.0021.00
##FFFFFF14.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#292720
Deuteranopia (green-blind)
#2A2820
Tritanopia (blue-blind)
#292726
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #282820;
/* rgb */ color: rgb(40, 40, 32);
/* oklch */ color: oklch(27.4% 0.014 107.3);
Tailwind
colors: {
  custom: {
    50: '#61615b',
    500: '#282820',
    950: '#000000',
  },
}
SCSS
$custom: #282820;
$custom-light: #61615b;
$custom-dark: #000000;
JSON
{
  "hex": "#282820",
  "rgb": {
    "r": 40,
    "g": 40,
    "b": 32
  },
  "hsl": {
    "h": 60,
    "s": 11.111,
    "l": 14.118
  },
  "oklch": {
    "l": 0.27407,
    "c": 0.01425,
    "h": 107.3
  },
  "luminance": 0.02073
}

Semantic roles & 50–950 ramp

primary
#282820
secondary
#4C4C58
accent
#74B474
background
#F5F5F5
surface
#EAE9E9
border
#C6C5C5
text
#050504
muted
#797979

Preview Lab

Preview with #282820

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

Preview Lab → · Contrast checker → · Palette generator →

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