#DFD7A8#DFD7A8

#DFD7A8 is a very light, moderate yellow. Relative luminance 0.671; OKLCH L 87.4% C 0.062 H 99.5°. Best body text is #000000 at 14.42:1 contrast (WCAG AA passes).

Color values

HEX#DFD7A8
RGBrgb(223, 215, 168)
HSLhsl(51, 46%, 77%)
HSVhsv(51, 25%, 87%)
CMYKcmyk(0%, 3.6%, 24.7%, 12.5%)
CIE-LABlab(85.56, -4.61, 24.24)
CIE-LCHlch(85.56, 24.67, 100.76°)
OKLaboklab(87.39% -0.0103 0.0615)
OKLCHoklch(87.39% 0.062 99.5)
XYZxyz(61.7998, 67.1172, 46.7376)
Luminance0.6712 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFD7A8 #A8B0DF
analogous
#DFBCA8 #DFD7A8 #CCDFA8
triadic
#DFD7A8 #A8DFD7 #D7A8DF
tetradic
#DFD7A8 #A8DFBC #A8B0DF #DFA8CC
square
#DFD7A8 #A8DFBC #A8B0DF #DFA8CC
split-complementary
#DFD7A8 #A8CCDF #BCA8DF
monochromatic
#BEAE4F #CFC27B #DFD7A8 #EFECD5 #F7F5E9

Accessibility & contrast

On white

1.46
#DFD7A8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.42
#DFD7A8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DFD7A8
14.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DFD7A8#FFFFFF#000000##000000
##DFD7A81.001.4614.4214.42
#FFFFFF1.461.0021.0021.00
#00000014.4221.001.001.00
##00000014.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#E0D4A5
Deuteranopia (green-blind)
#E3D7AA
Tritanopia (blue-blind)
#E8D0CA
Achromatopsia (no color)
#D6D6D6

Design tokens & code

CSS
--color: #dfd7a8;
/* rgb */ color: rgb(223, 215, 168);
/* oklch */ color: oklch(87.4% 0.062 99.5);
Tailwind
colors: {
  custom: {
    50: '#e9e3c2',
    500: '#dfd7a8',
    950: '#000000',
  },
}
SCSS
$custom: #dfd7a8;
$custom-light: #e9e3c2;
$custom-dark: #000000;
JSON
{
  "hex": "#dfd7a8",
  "rgb": {
    "r": 223,
    "g": 215,
    "b": 168
  },
  "hsl": {
    "h": 51.273,
    "s": 46.218,
    "l": 76.667
  },
  "oklch": {
    "l": 0.87393,
    "c": 0.06234,
    "h": 99.5
  },
  "luminance": 0.67116
}

Semantic roles & 50–950 ramp

primary
#DFD7A8
secondary
#747DB8
accent
#41B92C
background
#FEFEFD
surface
#FDFCF9
border
#D5D5D2
text
#161512
muted
#848482

Preview Lab

Preview with #DFD7A8

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

Preview Lab → · Contrast checker → · Palette generator →

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