#DFDD78#DFDD78

#DFDD78 is a very light, vivid yellow. Relative luminance 0.688; OKLCH L 87.8% C 0.124 H 107.7°. Best body text is #000000 at 14.75:1 contrast (WCAG AA passes).

Color values

HEX#DFDD78
RGBrgb(223, 221, 120)
HSLhsl(59, 62%, 67%)
HSVhsv(59, 46%, 87%)
CMYKcmyk(0%, 0.9%, 46.2%, 12.5%)
CIE-LABlab(86.38, -13.16, 49.50)
CIE-LCHlch(86.38, 51.22, 104.89°)
OKLaboklab(87.8% -0.0377 0.1181)
OKLCHoklch(87.8% 0.124 107.7)
XYZxyz(59.6793, 68.7584, 27.8936)
Luminance0.6876 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFDD78 #787ADF
analogous
#DFAA78 #DFDD78 #AEDF78
triadic
#DFDD78 #78DFDD #DD78DF
tetradic
#DFDD78 #78DFAA #787ADF #DF78AE
square
#DFDD78 #78DFAA #787ADF #DF78AE
split-complementary
#DFDD78 #78AEDF #AA78DF
monochromatic
#B2B02A #D3D147 #DFDD78 #EBE9A9 #F6F6DB

Accessibility & contrast

On white

1.42
#DFDD78 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.75
#DFDD78 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DFDD78
14.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DFDD78#FFFFFF#000000##000000
##DFDD781.001.4214.7514.75
#FFFFFF1.421.0021.0021.00
#00000014.7521.001.001.00
##00000014.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#ECD66F
Deuteranopia (green-blind)
#EDDA7D
Tritanopia (blue-blind)
#ECD2C5
Achromatopsia (no color)
#D8D8D8

Design tokens & code

CSS
--color: #dfdd78;
/* rgb */ color: rgb(223, 221, 120);
/* oklch */ color: oklch(87.8% 0.124 107.7);
Tailwind
colors: {
  custom: {
    50: '#ebe7a1',
    500: '#dfdd78',
    950: '#000000',
  },
}
SCSS
$custom: #dfdd78;
$custom-light: #ebe7a1;
$custom-dark: #000000;
JSON
{
  "hex": "#dfdd78",
  "rgb": {
    "r": 223,
    "g": 221,
    "b": 120
  },
  "hsl": {
    "h": 58.835,
    "s": 61.677,
    "l": 67.255
  },
  "oklch": {
    "l": 0.87804,
    "c": 0.124,
    "h": 107.7
  },
  "luminance": 0.68757
}

Semantic roles & 50–950 ramp

primary
#DFDD78
secondary
#4749B4
accent
#1FC91C
background
#FFFEFC
surface
#FEFCF5
border
#D6D5CF
text
#16160F
muted
#858480

Preview Lab

Preview with #DFDD78

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

Preview Lab → · Contrast checker → · Palette generator →

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