#282210#282210

#282210 is a dark, muted yellow. Relative luminance 0.016; OKLCH L 25.4% C 0.032 H 91.6°. Best body text is #FFFFFF at 15.83:1 contrast (WCAG AA passes).

Color values

HEX#282210
RGBrgb(40, 34, 16)
HSLhsl(45, 43%, 11%)
HSVhsv(45, 60%, 16%)
CMYKcmyk(0%, 15%, 60%, 84.3%)
CIE-LABlab(13.43, -0.30, 12.79)
CIE-LCHlch(13.43, 12.80, 91.35°)
OKLaboklab(25.36% -0.0009 0.0316)
OKLCHoklch(25.36% 0.032 91.6)
XYZxyz(1.5407, 1.6326, 0.7241)
Luminance0.0163 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#282210 #101628
analogous
#281610 #282210 #222810
triadic
#282210 #102822 #221028
tetradic
#282210 #102816 #101628 #281022
square
#282210 #102816 #101628 #281022
split-complementary
#282210 #102228 #161028
monochromatic
#161309 #161309 #282210 #544721 #7F6C33

Accessibility & contrast

On white

15.83
#282210 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.33
#282210 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #282210
15.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##282210#FFFFFF#000000##FFFFFF
##2822101.0015.831.3315.83
#FFFFFF15.831.0021.001.00
#0000001.3321.001.0021.00
##FFFFFF15.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#26210F
Deuteranopia (green-blind)
#272311
Tritanopia (blue-blind)
#2B1F1E
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #282210;
/* rgb */ color: rgb(40, 34, 16);
/* oklch */ color: oklch(25.4% 0.032 91.6);
Tailwind
colors: {
  custom: {
    50: '#625c4e',
    500: '#282210',
    950: '#000000',
  },
}
SCSS
$custom: #282210;
$custom-light: #625c4e;
$custom-dark: #000000;
JSON
{
  "hex": "#282210",
  "rgb": {
    "r": 40,
    "g": 34,
    "b": 16
  },
  "hsl": {
    "h": 45,
    "s": 42.857,
    "l": 10.98
  },
  "oklch": {
    "l": 0.2536,
    "c": 0.03162,
    "h": 91.6
  },
  "luminance": 0.01633
}

Semantic roles & 50–950 ramp

primary
#282210
secondary
#343F60
accent
#75D355
background
#F5F5F4
surface
#EAE9E7
border
#C6C5C3
text
#050401
muted
#797977

Preview Lab

Preview with #282210

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

Preview Lab → · Contrast checker → · Palette generator →

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