#DFD78A#DFD78A

#DFD78A is a very light, moderate yellow. Relative luminance 0.661; OKLCH L 86.8% C 0.098 H 103.1°. Best body text is #000000 at 14.22:1 contrast (WCAG AA passes).

Color values

HEX#DFD78A
RGBrgb(223, 215, 138)
HSLhsl(54, 57%, 71%)
HSVhsv(54, 38%, 87%)
CMYKcmyk(0%, 3.6%, 38.1%, 12.5%)
CIE-LABlab(85.06, -8.31, 38.98)
CIE-LCHlch(85.06, 39.86, 102.04°)
OKLaboklab(86.83% -0.0222 0.0955)
OKLCHoklch(86.83% 0.098 103.1)
XYZxyz(59.3203, 66.1253, 33.6784)
Luminance0.6612 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFD78A #8A92DF
analogous
#DFAC8A #DFD78A #BCDF8A
triadic
#DFD78A #8ADFD7 #D78ADF
tetradic
#DFD78A #8ADFAC #8A92DF #DF8ABC
square
#DFD78A #8ADFAC #8A92DF #DF8ABC
split-complementary
#DFD78A #8ABCDF #AC8ADF
monochromatic
#BBAF33 #D2C75A #DFD78A #ECE7BA #F8F7E7

Accessibility & contrast

On white

1.48
#DFD78A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.22
#DFD78A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DFD78A
14.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DFD78A#FFFFFF#000000##000000
##DFD78A1.001.4814.2214.22
#FFFFFF1.481.0021.0021.00
#00000014.2221.001.001.00
##00000014.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#E4D284
Deuteranopia (green-blind)
#E7D68D
Tritanopia (blue-blind)
#EBCDC4
Achromatopsia (no color)
#D4D4D4

Design tokens & code

CSS
--color: #dfd78a;
/* rgb */ color: rgb(223, 215, 138);
/* oklch */ color: oklch(86.8% 0.098 103.1);
Tailwind
colors: {
  custom: {
    50: '#eae3ad',
    500: '#dfd78a',
    950: '#000000',
  },
}
SCSS
$custom: #dfd78a;
$custom-light: #eae3ad;
$custom-dark: #000000;
JSON
{
  "hex": "#dfd78a",
  "rgb": {
    "r": 223,
    "g": 215,
    "b": 138
  },
  "hsl": {
    "h": 54.353,
    "s": 57.047,
    "l": 70.784
  },
  "oklch": {
    "l": 0.86831,
    "c": 0.09809,
    "h": 103.1
  },
  "luminance": 0.66124
}

Semantic roles & 50–950 ramp

primary
#DFD78A
secondary
#5760B7
accent
#30C521
background
#FEFEFD
surface
#FDFCF7
border
#D5D5D0
text
#161510
muted
#848481

Preview Lab

Preview with #DFD78A

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

Preview Lab → · Contrast checker → · Palette generator →

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