#D8D2BA#D8D2BA

#D8D2BA is a very light, muted yellow. Relative luminance 0.642; OKLCH L 86.2% C 0.033 H 95.4°. Best body text is #000000 at 13.85:1 contrast (WCAG AA passes).

Color values

HEX#D8D2BA
RGBrgb(216, 210, 186)
HSLhsl(48, 28%, 79%)
HSVhsv(48, 14%, 85%)
CMYKcmyk(0%, 2.8%, 13.9%, 15.3%)
CIE-LABlab(84.09, -1.96, 12.64)
CIE-LCHlch(84.09, 12.79, 98.82°)
OKLaboklab(86.22% -0.0031 0.0328)
OKLCHoklch(86.22% 0.033 95.4)
XYZxyz(60.2277, 64.2380, 55.6712)
Luminance0.6424 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8D2BA #BAC0D8
analogous
#D8C3BA #D8D2BA #CFD8BA
triadic
#D8D2BA #BAD8D2 #D2BAD8
tetradic
#D8D2BA #BAD8C3 #BAC0D8 #D8BACF
square
#D8D2BA #BAD8C3 #BAC0D8 #D8BACF
split-complementary
#D8D2BA #BACFD8 #C3BAD8
monochromatic
#AC9F6C #C2B993 #D8D2BA #EEECE1 #F4F2EB

Accessibility & contrast

On white

1.52
#D8D2BA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.85
#D8D2BA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D8D2BA
13.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8D2BA#FFFFFF#000000##000000
##D8D2BA1.001.5213.8513.85
#FFFFFF1.521.0021.0021.00
#00000013.8521.001.001.00
##00000013.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#D7D0B9
Deuteranopia (green-blind)
#D9D3BB
Tritanopia (blue-blind)
#DDCECB
Achromatopsia (no color)
#D2D2D2

Design tokens & code

CSS
--color: #d8d2ba;
/* rgb */ color: rgb(216, 210, 186);
/* oklch */ color: oklch(86.2% 0.033 95.4);
Tailwind
colors: {
  custom: {
    50: '#e4dfce',
    500: '#d8d2ba',
    950: '#000000',
  },
}
SCSS
$custom: #d8d2ba;
$custom-light: #e4dfce;
$custom-dark: #000000;
JSON
{
  "hex": "#d8d2ba",
  "rgb": {
    "r": 216,
    "g": 210,
    "b": 186
  },
  "hsl": {
    "h": 48,
    "s": 27.778,
    "l": 78.824
  },
  "oklch": {
    "l": 0.86216,
    "c": 0.03295,
    "h": 95.4
  },
  "luminance": 0.64237
}

Semantic roles & 50–950 ramp

primary
#D8D2BA
secondary
#888FAF
accent
#54A63F
background
#FEFEFE
surface
#FCFCFB
border
#D5D5D4
text
#151513
muted
#848483

Preview Lab

Preview with #D8D2BA

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

Preview Lab → · Contrast checker → · Palette generator →

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