#DFD996#DFD996

#DFD996 is a very light, moderate yellow. Relative luminance 0.675; OKLCH L 87.5% C 0.086 H 103.7°. Best body text is #000000 at 14.50:1 contrast (WCAG AA passes).

Color values

HEX#DFD996
RGBrgb(223, 217, 150)
HSLhsl(55, 53%, 73%)
HSVhsv(55, 33%, 87%)
CMYKcmyk(0%, 2.7%, 32.7%, 12.5%)
CIE-LABlab(85.76, -7.94, 33.81)
CIE-LCHlch(85.76, 34.73, 103.22°)
OKLaboklab(87.45% -0.0204 0.084)
OKLCHoklch(87.45% 0.086 103.7)
XYZxyz(60.7499, 67.5170, 38.6801)
Luminance0.6752 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFD996 #969CDF
analogous
#DFB496 #DFD996 #C1DF96
triadic
#DFD996 #96DFD9 #D996DF
tetradic
#DFD996 #96DFB4 #969CDF #DF96C1
square
#DFD996 #96DFB4 #969CDF #DF96C1
split-complementary
#DFD996 #96C1DF #B496DF
monochromatic
#C0B53B #D1C867 #DFD996 #EDEAC5 #F8F7E8

Accessibility & contrast

On white

1.45
#DFD996 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.50
#DFD996 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DFD996
14.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DFD996#FFFFFF#000000##000000
##DFD9961.001.4514.5014.50
#FFFFFF1.451.0021.0021.00
#00000014.5021.001.001.00
##00000014.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#E5D491
Deuteranopia (green-blind)
#E7D899
Tritanopia (blue-blind)
#E9D0C8
Achromatopsia (no color)
#D6D6D6

Design tokens & code

CSS
--color: #dfd996;
/* rgb */ color: rgb(223, 217, 150);
/* oklch */ color: oklch(87.5% 0.086 103.7);
Tailwind
colors: {
  custom: {
    50: '#eae4b5',
    500: '#dfd996',
    950: '#000000',
  },
}
SCSS
$custom: #dfd996;
$custom-light: #eae4b5;
$custom-dark: #000000;
JSON
{
  "hex": "#dfd996",
  "rgb": {
    "r": 223,
    "g": 217,
    "b": 150
  },
  "hsl": {
    "h": 55.068,
    "s": 53.285,
    "l": 73.137
  },
  "oklch": {
    "l": 0.8745,
    "c": 0.08642,
    "h": 103.7
  },
  "luminance": 0.67516
}

Semantic roles & 50–950 ramp

primary
#DFD996
secondary
#6269B7
accent
#32C125
background
#FEFEFD
surface
#FDFCF8
border
#D5D5D1
text
#161511
muted
#848481

Preview Lab

Preview with #DFD996

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

Preview Lab → · Contrast checker → · Palette generator →

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