#DFD79B#DFD79B

#DFD79B is a very light, moderate yellow. Relative luminance 0.667; OKLCH L 87.1% C 0.078 H 101.4°. Best body text is #000000 at 14.33:1 contrast (WCAG AA passes).

Color values

HEX#DFD79B
RGBrgb(223, 215, 155)
HSLhsl(53, 52%, 74%)
HSVhsv(53, 30%, 87%)
CMYKcmyk(0%, 3.6%, 30.5%, 12.5%)
CIE-LABlab(85.33, -6.31, 30.67)
CIE-LCHlch(85.33, 31.31, 101.63°)
OKLaboklab(87.13% -0.0155 0.0767)
OKLCHoklch(87.13% 0.078 101.4)
XYZxyz(60.6487, 66.6567, 40.6752)
Luminance0.6665 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFD79B #9BA3DF
analogous
#DFB59B #DFD79B #C5DF9B
triadic
#DFD79B #9BDFD7 #D79BDF
tetradic
#DFD79B #9BDFB5 #9BA3DF #DF9BC5
square
#DFD79B #9BDFB5 #9BA3DF #DF9BC5
split-complementary
#DFD79B #9BC5DF #B59BDF
monochromatic
#C1B23E #D0C46D #DFD79B #EEEAC9 #F8F6E8

Accessibility & contrast

On white

1.47
#DFD79B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.33
#DFD79B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DFD79B
14.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DFD79B#FFFFFF#000000##000000
##DFD79B1.001.4714.3314.33
#FFFFFF1.471.0021.0021.00
#00000014.3321.001.001.00
##00000014.3321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #dfd79b;
/* rgb */ color: rgb(223, 215, 155);
/* oklch */ color: oklch(87.1% 0.078 101.4);
Tailwind
colors: {
  custom: {
    50: '#eae3b9',
    500: '#dfd79b',
    950: '#000000',
  },
}
SCSS
$custom: #dfd79b;
$custom-light: #eae3b9;
$custom-dark: #000000;
JSON
{
  "hex": "#dfd79b",
  "rgb": {
    "r": 223,
    "g": 215,
    "b": 155
  },
  "hsl": {
    "h": 52.941,
    "s": 51.515,
    "l": 74.118
  },
  "oklch": {
    "l": 0.87133,
    "c": 0.07824,
    "h": 101.4
  },
  "luminance": 0.66655
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #DFD79B

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

Preview Lab → · Contrast checker → · Palette generator →

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