#DFD578#DFD578

#DFD578 is a very light, moderate yellow. Relative luminance 0.646; OKLCH L 86.1% C 0.115 H 103.1°. Best body text is #000000 at 13.93:1 contrast (WCAG AA passes).

Color values

HEX#DFD578
RGBrgb(223, 213, 120)
HSLhsl(54, 62%, 67%)
HSVhsv(54, 46%, 87%)
CMYKcmyk(0%, 4.5%, 46.2%, 12.5%)
CIE-LABlab(84.29, -9.14, 46.95)
CIE-LCHlch(84.29, 47.83, 101.02°)
OKLaboklab(86.14% -0.0262 0.1125)
OKLCHoklch(86.14% 0.115 103.1)
XYZxyz(57.6172, 64.6343, 27.2062)
Luminance0.6463 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFD578 #7882DF
analogous
#DFA278 #DFD578 #B5DF78
triadic
#DFD578 #78DFD5 #D578DF
tetradic
#DFD578 #78DFA2 #7882DF #DF78B5
square
#DFD578 #78DFA2 #7882DF #DF78B5
split-complementary
#DFD578 #78B5DF #A278DF
monochromatic
#B2A52A #D3C647 #DFD578 #EBE4A9 #F6F4DB

Accessibility & contrast

On white

1.51
#DFD578 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.93
#DFD578 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DFD578
13.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DFD578#FFFFFF#000000##000000
##DFD5781.001.5113.9313.93
#FFFFFF1.511.0021.0021.00
#00000013.9321.001.001.00
##00000013.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#E4CF70
Deuteranopia (green-blind)
#E7D57C
Tritanopia (blue-blind)
#ECCABF
Achromatopsia (no color)
#D2D2D2

Design tokens & code

CSS
--color: #dfd578;
/* rgb */ color: rgb(223, 213, 120);
/* oklch */ color: oklch(86.1% 0.115 103.1);
Tailwind
colors: {
  custom: {
    50: '#ebe1a1',
    500: '#dfd578',
    950: '#000000',
  },
}
SCSS
$custom: #dfd578;
$custom-light: #ebe1a1;
$custom-dark: #000000;
JSON
{
  "hex": "#dfd578",
  "rgb": {
    "r": 223,
    "g": 213,
    "b": 120
  },
  "hsl": {
    "h": 54.175,
    "s": 61.677,
    "l": 67.255
  },
  "oklch": {
    "l": 0.86144,
    "c": 0.11548,
    "h": 103.1
  },
  "luminance": 0.64633
}

Semantic roles & 50–950 ramp

primary
#DFD578
secondary
#4752B4
accent
#2DC91C
background
#FFFEFC
surface
#FEFCF5
border
#D6D5CF
text
#16150F
muted
#858480

Preview Lab

Preview with #DFD578

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

Preview Lab → · Contrast checker → · Palette generator →

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