#DFD79F#DFD79F

#DFD79F is a very light, moderate yellow. Relative luminance 0.668; OKLCH L 87.2% C 0.073 H 100.9°. Best body text is #000000 at 14.36:1 contrast (WCAG AA passes).

Color values

HEX#DFD79F
RGBrgb(223, 215, 159)
HSLhsl(53, 50%, 75%)
HSVhsv(53, 29%, 87%)
CMYKcmyk(0%, 3.6%, 28.7%, 12.5%)
CIE-LABlab(85.40, -5.80, 28.69)
CIE-LCHlch(85.40, 29.27, 101.43°)
OKLaboklab(87.21% -0.0139 0.0721)
OKLCHoklch(87.21% 0.073 100.9)
XYZxyz(60.9902, 66.7933, 42.4737)
Luminance0.6679 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFD79F #9FA7DF
analogous
#DFB79F #DFD79F #C7DF9F
triadic
#DFD79F #9FDFD7 #D79FDF
tetradic
#DFD79F #9FDFB7 #9FA7DF #DF9FC7
square
#DFD79F #9FDFB7 #9FA7DF #DF9FC7
split-complementary
#DFD79F #9FC7DF #B79FDF
monochromatic
#C0B143 #D0C471 #DFD79F #EEEACD #F7F5E8

Accessibility & contrast

On white

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

On black

14.36
#DFD79F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DFD79F
14.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DFD79F#FFFFFF#000000##000000
##DFD79F1.001.4614.3614.36
#FFFFFF1.461.0021.0021.00
#00000014.3621.001.001.00
##00000014.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#E1D39B
Deuteranopia (green-blind)
#E4D7A1
Tritanopia (blue-blind)
#E9CFC8
Achromatopsia (no color)
#D5D5D5

Design tokens & code

CSS
--color: #dfd79f;
/* rgb */ color: rgb(223, 215, 159);
/* oklch */ color: oklch(87.2% 0.073 100.9);
Tailwind
colors: {
  custom: {
    50: '#e9e3bb',
    500: '#dfd79f',
    950: '#000000',
  },
}
SCSS
$custom: #dfd79f;
$custom-light: #e9e3bb;
$custom-dark: #000000;
JSON
{
  "hex": "#dfd79f",
  "rgb": {
    "r": 223,
    "g": 215,
    "b": 159
  },
  "hsl": {
    "h": 52.5,
    "s": 50,
    "l": 74.902
  },
  "oklch": {
    "l": 0.8721,
    "c": 0.07341,
    "h": 100.9
  },
  "luminance": 0.66792
}

Semantic roles & 50–950 ramp

primary
#DFD79F
secondary
#6B74B8
accent
#3BBD28
background
#FEFEFD
surface
#FDFCF8
border
#D5D5D1
text
#161512
muted
#848482

Preview Lab

Preview with #DFD79F

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

Preview Lab → · Contrast checker → · Palette generator →

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