#DFD79C#DFD79C

#DFD79C is a very light, moderate yellow. Relative luminance 0.667; OKLCH L 87.2% C 0.077 H 101.3°. Best body text is #000000 at 14.34:1 contrast (WCAG AA passes).

Color values

HEX#DFD79C
RGBrgb(223, 215, 156)
HSLhsl(53, 51%, 74%)
HSVhsv(53, 30%, 87%)
CMYKcmyk(0%, 3.6%, 30%, 12.5%)
CIE-LABlab(85.35, -6.18, 30.17)
CIE-LCHlch(85.35, 30.80, 101.58°)
OKLaboklab(87.15% -0.0151 0.0756)
OKLCHoklch(87.15% 0.077 101.3)
XYZxyz(60.7331, 66.6905, 41.1193)
Luminance0.6669 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFD79C #9CA4DF
analogous
#DFB69C #DFD79C #C6DF9C
triadic
#DFD79C #9CDFD7 #D79CDF
tetradic
#DFD79C #9CDFB6 #9CA4DF #DF9CC6
square
#DFD79C #9CDFB6 #9CA4DF #DF9CC6
split-complementary
#DFD79C #9CC6DF #B69CDF
monochromatic
#C1B240 #D0C46E #DFD79C #EEEACA #F8F6E8

Accessibility & contrast

On white

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

On black

14.34
#DFD79C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DFD79C
14.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DFD79C#FFFFFF#000000##000000
##DFD79C1.001.4614.3414.34
#FFFFFF1.461.0021.0021.00
#00000014.3421.001.001.00
##00000014.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#E2D398
Deuteranopia (green-blind)
#E5D79E
Tritanopia (blue-blind)
#E9CFC7
Achromatopsia (no color)
#D5D5D5

Design tokens & code

CSS
--color: #dfd79c;
/* rgb */ color: rgb(223, 215, 156);
/* oklch */ color: oklch(87.2% 0.077 101.3);
Tailwind
colors: {
  custom: {
    50: '#e9e3b9',
    500: '#dfd79c',
    950: '#000000',
  },
}
SCSS
$custom: #dfd79c;
$custom-light: #e9e3b9;
$custom-dark: #000000;
JSON
{
  "hex": "#dfd79c",
  "rgb": {
    "r": 223,
    "g": 215,
    "b": 156
  },
  "hsl": {
    "h": 52.836,
    "s": 51.145,
    "l": 74.314
  },
  "oklch": {
    "l": 0.87152,
    "c": 0.07705,
    "h": 101.3
  },
  "luminance": 0.66689
}

Semantic roles & 50–950 ramp

primary
#DFD79C
secondary
#6871B7
accent
#39BF27
background
#FEFEFD
surface
#FDFCF8
border
#D5D5D1
text
#161511
muted
#848481

Preview Lab

Preview with #DFD79C

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

Preview Lab → · Contrast checker → · Palette generator →

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