#DFDC78#DFDC78

#DFDC78 is a very light, vivid yellow. Relative luminance 0.682; OKLCH L 87.6% C 0.123 H 107.2°. Best body text is #000000 at 14.65:1 contrast (WCAG AA passes).

Color values

HEX#DFDC78
RGBrgb(223, 220, 120)
HSLhsl(58, 62%, 67%)
HSVhsv(58, 46%, 87%)
CMYKcmyk(0%, 1.3%, 46.2%, 12.5%)
CIE-LABlab(86.12, -12.66, 49.18)
CIE-LCHlch(86.12, 50.79, 104.43°)
OKLaboklab(87.6% -0.0363 0.1174)
OKLCHoklch(87.6% 0.123 107.2)
XYZxyz(59.4161, 68.2319, 27.8058)
Luminance0.6823 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFDC78 #787BDF
analogous
#DFA878 #DFDC78 #AFDF78
triadic
#DFDC78 #78DFDC #DC78DF
tetradic
#DFDC78 #78DFA8 #787BDF #DF78AF
square
#DFDC78 #78DFA8 #787BDF #DF78AF
split-complementary
#DFDC78 #78AFDF #A878DF
monochromatic
#B2AE2A #D3CF47 #DFDC78 #EBE9A9 #F6F6DB

Accessibility & contrast

On white

1.43
#DFDC78 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.65
#DFDC78 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DFDC78
14.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DFDC78#FFFFFF#000000##000000
##DFDC781.001.4314.6514.65
#FFFFFF1.431.0021.0021.00
#00000014.6521.001.001.00
##00000014.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#EBD56F
Deuteranopia (green-blind)
#EDD97D
Tritanopia (blue-blind)
#ECD1C5
Achromatopsia (no color)
#D7D7D7

Design tokens & code

CSS
--color: #dfdc78;
/* rgb */ color: rgb(223, 220, 120);
/* oklch */ color: oklch(87.6% 0.123 107.2);
Tailwind
colors: {
  custom: {
    50: '#ebe6a1',
    500: '#dfdc78',
    950: '#000000',
  },
}
SCSS
$custom: #dfdc78;
$custom-light: #ebe6a1;
$custom-dark: #000000;
JSON
{
  "hex": "#dfdc78",
  "rgb": {
    "r": 223,
    "g": 220,
    "b": 120
  },
  "hsl": {
    "h": 58.252,
    "s": 61.677,
    "l": 67.255
  },
  "oklch": {
    "l": 0.87596,
    "c": 0.1229,
    "h": 107.2
  },
  "luminance": 0.6823
}

Semantic roles & 50–950 ramp

primary
#DFDC78
secondary
#474BB4
accent
#21C91C
background
#FFFEFC
surface
#FEFCF5
border
#D6D5CF
text
#16150F
muted
#858480

Preview Lab

Preview with #DFDC78

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

Preview Lab → · Contrast checker → · Palette generator →

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