#DFD8AB#DFD8AB

#DFD8AB is a very light, muted yellow. Relative luminance 0.677; OKLCH L 87.7% C 0.060 H 100.1°. Best body text is #000000 at 14.55:1 contrast (WCAG AA passes).

Color values

HEX#DFD8AB
RGBrgb(223, 216, 171)
HSLhsl(52, 45%, 77%)
HSVhsv(52, 23%, 87%)
CMYKcmyk(0%, 3.1%, 23.3%, 12.5%)
CIE-LABlab(85.88, -4.71, 23.11)
CIE-LCHlch(85.88, 23.58, 101.51°)
OKLaboklab(87.66% -0.0105 0.0588)
OKLCHoklch(87.66% 0.06 100.1)
XYZxyz(62.3380, 67.7411, 48.3116)
Luminance0.6774 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFD8AB #ABB2DF
analogous
#DFBEAB #DFD8AB #CCDFAB
triadic
#DFD8AB #ABDFD8 #D8ABDF
tetradic
#DFD8AB #ABDFBE #ABB2DF #DFABCC
square
#DFD8AB #ABDFBE #ABB2DF #DFABCC
split-complementary
#DFD8AB #ABCCDF #BEABDF
monochromatic
#BDAF52 #CEC37F #DFD8AB #F0EDD7 #F7F5E9

Accessibility & contrast

On white

1.44
#DFD8AB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.55
#DFD8AB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DFD8AB
14.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DFD8AB#FFFFFF#000000##000000
##DFD8AB1.001.4414.5514.55
#FFFFFF1.441.0021.0021.00
#00000014.5521.001.001.00
##00000014.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#E1D5A8
Deuteranopia (green-blind)
#E3D8AD
Tritanopia (blue-blind)
#E7D2CC
Achromatopsia (no color)
#D7D7D7

Design tokens & code

CSS
--color: #dfd8ab;
/* rgb */ color: rgb(223, 216, 171);
/* oklch */ color: oklch(87.7% 0.060 100.1);
Tailwind
colors: {
  custom: {
    50: '#e9e4c4',
    500: '#dfd8ab',
    950: '#000000',
  },
}
SCSS
$custom: #dfd8ab;
$custom-light: #e9e4c4;
$custom-dark: #000000;
JSON
{
  "hex": "#dfd8ab",
  "rgb": {
    "r": 223,
    "g": 216,
    "b": 171
  },
  "hsl": {
    "h": 51.923,
    "s": 44.828,
    "l": 77.255
  },
  "oklch": {
    "l": 0.8766,
    "c": 0.0597,
    "h": 100.1
  },
  "luminance": 0.6774
}

Semantic roles & 50–950 ramp

primary
#DFD8AB
secondary
#767FB8
accent
#40B82E
background
#FEFEFD
surface
#FDFCF9
border
#D5D5D2
text
#161512
muted
#848482

Preview Lab

Preview with #DFD8AB

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

Preview Lab → · Contrast checker → · Palette generator →

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