#DFD778#DFD778

#DFD778 is a very light, moderate yellow. Relative luminance 0.656; OKLCH L 86.6% C 0.118 H 104.3°. Best body text is #000000 at 14.13:1 contrast (WCAG AA passes).

Color values

HEX#DFD778
RGBrgb(223, 215, 120)
HSLhsl(55, 62%, 67%)
HSVhsv(55, 46%, 87%)
CMYKcmyk(0%, 3.6%, 46.2%, 12.5%)
CIE-LABlab(84.82, -10.15, 47.59)
CIE-LCHlch(84.82, 48.66, 102.04°)
OKLaboklab(86.56% -0.0291 0.1139)
OKLCHoklch(86.56% 0.118 104.3)
XYZxyz(58.1234, 65.6466, 27.3750)
Luminance0.6564 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFD778 #7880DF
analogous
#DFA478 #DFD778 #B3DF78
triadic
#DFD778 #78DFD7 #D778DF
tetradic
#DFD778 #78DFA4 #7880DF #DF78B3
square
#DFD778 #78DFA4 #7880DF #DF78B3
split-complementary
#DFD778 #78B3DF #A478DF
monochromatic
#B2A82A #D3C847 #DFD778 #EBE6A9 #F6F4DB

Accessibility & contrast

On white

1.49
#DFD778 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.13
#DFD778 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DFD778
14.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DFD778#FFFFFF#000000##000000
##DFD7781.001.4914.1314.13
#FFFFFF1.491.0021.0021.00
#00000014.1321.001.001.00
##00000014.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#E6D170
Deuteranopia (green-blind)
#E9D67C
Tritanopia (blue-blind)
#ECCCC1
Achromatopsia (no color)
#D4D4D4

Design tokens & code

CSS
--color: #dfd778;
/* rgb */ color: rgb(223, 215, 120);
/* oklch */ color: oklch(86.6% 0.118 104.3);
Tailwind
colors: {
  custom: {
    50: '#ebe3a1',
    500: '#dfd778',
    950: '#000000',
  },
}
SCSS
$custom: #dfd778;
$custom-light: #ebe3a1;
$custom-dark: #000000;
JSON
{
  "hex": "#dfd778",
  "rgb": {
    "r": 223,
    "g": 215,
    "b": 120
  },
  "hsl": {
    "h": 55.34,
    "s": 61.677,
    "l": 67.255
  },
  "oklch": {
    "l": 0.86558,
    "c": 0.11755,
    "h": 104.3
  },
  "luminance": 0.65645
}

Semantic roles & 50–950 ramp

primary
#DFD778
secondary
#4750B4
accent
#2AC91C
background
#FFFEFC
surface
#FEFCF5
border
#D6D5CF
text
#16150F
muted
#858480

Preview Lab

Preview with #DFD778

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

Preview Lab → · Contrast checker → · Palette generator →

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