#DFD478#DFD478

#DFD478 is a very light, moderate yellow. Relative luminance 0.641; OKLCH L 85.9% C 0.114 H 102.5°. Best body text is #000000 at 13.83:1 contrast (WCAG AA passes).

Color values

HEX#DFD478
RGBrgb(223, 212, 120)
HSLhsl(54, 62%, 67%)
HSVhsv(54, 46%, 87%)
CMYKcmyk(0%, 4.9%, 46.2%, 12.5%)
CIE-LABlab(84.03, -8.64, 46.63)
CIE-LCHlch(84.03, 47.43, 100.49°)
OKLaboklab(85.94% -0.0247 0.1118)
OKLCHoklch(85.94% 0.114 102.5)
XYZxyz(57.3665, 64.1328, 27.1227)
Luminance0.6413 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFD478 #7883DF
analogous
#DFA078 #DFD478 #B7DF78
triadic
#DFD478 #78DFD4 #D478DF
tetradic
#DFD478 #78DFA0 #7883DF #DF78B7
square
#DFD478 #78DFA0 #7883DF #DF78B7
split-complementary
#DFD478 #78B7DF #A078DF
monochromatic
#B2A42A #D3C447 #DFD478 #EBE4A9 #F6F4DB

Accessibility & contrast

On white

1.52
#DFD478 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.83
#DFD478 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DFD478
13.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DFD478#FFFFFF#000000##000000
##DFD4781.001.5213.8313.83
#FFFFFF1.521.0021.0021.00
#00000013.8321.001.001.00
##00000013.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#E3CF70
Deuteranopia (green-blind)
#E6D47C
Tritanopia (blue-blind)
#ECC9BE
Achromatopsia (no color)
#D2D2D2

Design tokens & code

CSS
--color: #dfd478;
/* rgb */ color: rgb(223, 212, 120);
/* oklch */ color: oklch(85.9% 0.114 102.5);
Tailwind
colors: {
  custom: {
    50: '#ebe1a1',
    500: '#dfd478',
    950: '#000000',
  },
}
SCSS
$custom: #dfd478;
$custom-light: #ebe1a1;
$custom-dark: #000000;
JSON
{
  "hex": "#dfd478",
  "rgb": {
    "r": 223,
    "g": 212,
    "b": 120
  },
  "hsl": {
    "h": 53.592,
    "s": 61.677,
    "l": 67.255
  },
  "oklch": {
    "l": 0.85938,
    "c": 0.11448,
    "h": 102.5
  },
  "luminance": 0.64131
}

Semantic roles & 50–950 ramp

primary
#DFD478
secondary
#4753B4
accent
#2FC91C
background
#FFFEFC
surface
#FEFCF5
border
#D6D5CF
text
#16150F
muted
#858480

Preview Lab

Preview with #DFD478

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

Preview Lab → · Contrast checker → · Palette generator →

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