#DCDA78#DCDA78

#DCDA78 is a very light, vivid yellow. Relative luminance 0.667; OKLCH L 86.9% C 0.121 H 107.6°. Best body text is #000000 at 14.34:1 contrast (WCAG AA passes).

Color values

HEX#DCDA78
RGBrgb(220, 218, 120)
HSLhsl(59, 59%, 67%)
HSVhsv(59, 45%, 86%)
CMYKcmyk(0%, 0.9%, 45.5%, 13.7%)
CIE-LABlab(85.36, -12.85, 48.20)
CIE-LCHlch(85.36, 49.89, 104.93°)
OKLaboklab(86.93% -0.0366 0.1153)
OKLCHoklch(86.93% 0.121 107.6)
XYZxyz(57.9780, 66.7159, 27.5890)
Luminance0.6672 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCDA78 #787ADC
analogous
#DCA878 #DCDA78 #ACDC78
triadic
#DCDA78 #78DCDA #DA78DC
tetradic
#DCDA78 #78DCA8 #787ADC #DC78AC
square
#DCDA78 #78DCA8 #787ADC #DC78AC
split-complementary
#DCDA78 #78ACDC #A878DC
monochromatic
#ADAA2D #CFCD47 #DCDA78 #E9E7A9 #F5F5D9

Accessibility & contrast

On white

1.46
#DCDA78 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.34
#DCDA78 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCDA78
14.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCDA78#FFFFFF#000000##000000
##DCDA781.001.4614.3414.34
#FFFFFF1.461.0021.0021.00
#00000014.3421.001.001.00
##00000014.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#E8D370
Deuteranopia (green-blind)
#EAD77D
Tritanopia (blue-blind)
#E9CFC3
Achromatopsia (no color)
#D5D5D5

Design tokens & code

CSS
--color: #dcda78;
/* rgb */ color: rgb(220, 218, 120);
/* oklch */ color: oklch(86.9% 0.121 107.6);
Tailwind
colors: {
  custom: {
    50: '#e9e5a1',
    500: '#dcda78',
    950: '#000000',
  },
}
SCSS
$custom: #dcda78;
$custom-light: #e9e5a1;
$custom-dark: #000000;
JSON
{
  "hex": "#dcda78",
  "rgb": {
    "r": 220,
    "g": 218,
    "b": 120
  },
  "hsl": {
    "h": 58.8,
    "s": 58.824,
    "l": 66.667
  },
  "oklch": {
    "l": 0.86932,
    "c": 0.12098,
    "h": 107.6
  },
  "luminance": 0.66715
}

Semantic roles & 50–950 ramp

primary
#DCDA78
secondary
#494BAF
accent
#22C61F
background
#FEFEFC
surface
#FDFCF5
border
#D5D5CF
text
#16150F
muted
#848480

Preview Lab

Preview with #DCDA78

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

Preview Lab → · Contrast checker → · Palette generator →

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