#DFDA78#DFDA78

#DFDA78 is a very light, vivid yellow. Relative luminance 0.672; OKLCH L 87.2% C 0.121 H 106.1°. Best body text is #000000 at 14.44:1 contrast (WCAG AA passes).

Color values

HEX#DFDA78
RGBrgb(223, 218, 120)
HSLhsl(57, 62%, 67%)
HSVhsv(57, 46%, 87%)
CMYKcmyk(0%, 2.2%, 46.2%, 12.5%)
CIE-LABlab(85.60, -11.66, 48.55)
CIE-LCHlch(85.60, 49.93, 103.51°)
OKLaboklab(87.18% -0.0334 0.116)
OKLCHoklch(87.18% 0.121 106.1)
XYZxyz(58.8943, 67.1884, 27.6319)
Luminance0.6719 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFDA78 #787DDF
analogous
#DFA678 #DFDA78 #B1DF78
triadic
#DFDA78 #78DFDA #DA78DF
tetradic
#DFDA78 #78DFA6 #787DDF #DF78B1
square
#DFDA78 #78DFA6 #787DDF #DF78B1
split-complementary
#DFDA78 #78B1DF #A678DF
monochromatic
#B2AC2A #D3CC47 #DFDA78 #EBE8A9 #F6F5DB

Accessibility & contrast

On white

1.45
#DFDA78 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.44
#DFDA78 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DFDA78
14.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DFDA78#FFFFFF#000000##000000
##DFDA781.001.4514.4414.44
#FFFFFF1.451.0021.0021.00
#00000014.4421.001.001.00
##00000014.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#E9D370
Deuteranopia (green-blind)
#EBD87D
Tritanopia (blue-blind)
#ECCFC3
Achromatopsia (no color)
#D6D6D6

Design tokens & code

CSS
--color: #dfda78;
/* rgb */ color: rgb(223, 218, 120);
/* oklch */ color: oklch(87.2% 0.121 106.1);
Tailwind
colors: {
  custom: {
    50: '#ebe5a1',
    500: '#dfda78',
    950: '#000000',
  },
}
SCSS
$custom: #dfda78;
$custom-light: #ebe5a1;
$custom-dark: #000000;
JSON
{
  "hex": "#dfda78",
  "rgb": {
    "r": 223,
    "g": 218,
    "b": 120
  },
  "hsl": {
    "h": 57.087,
    "s": 61.677,
    "l": 67.255
  },
  "oklch": {
    "l": 0.8718,
    "c": 0.12073,
    "h": 106.1
  },
  "luminance": 0.67187
}

Semantic roles & 50–950 ramp

primary
#DFDA78
secondary
#474DB4
accent
#25C91C
background
#FFFEFC
surface
#FEFCF5
border
#D6D5CF
text
#16150F
muted
#858480

Preview Lab

Preview with #DFDA78

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

Preview Lab → · Contrast checker → · Palette generator →

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