#DCDB78#DCDB78

#DCDB78 is a very light, vivid yellow. Relative luminance 0.672; OKLCH L 87.1% C 0.122 H 108.2°. Best body text is #000000 at 14.45:1 contrast (WCAG AA passes).

Color values

HEX#DCDB78
RGBrgb(220, 219, 120)
HSLhsl(59, 59%, 67%)
HSVhsv(59, 45%, 86%)
CMYKcmyk(0%, 0.5%, 45.5%, 13.7%)
CIE-LABlab(85.62, -13.35, 48.52)
CIE-LCHlch(85.62, 50.33, 105.39°)
OKLaboklab(87.14% -0.0381 0.116)
OKLCHoklch(87.14% 0.122 108.2)
XYZxyz(58.2381, 67.2361, 27.6757)
Luminance0.6724 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCDB78 #7879DC
analogous
#DCA978 #DCDB78 #ABDC78
triadic
#DCDB78 #78DCDB #DB78DC
tetradic
#DCDB78 #78DCA9 #7879DC #DC78AB
square
#DCDB78 #78DCA9 #7879DC #DC78AB
split-complementary
#DCDB78 #78ABDC #A978DC
monochromatic
#ADAC2D #CFCE47 #DCDB78 #E9E8A9 #F5F5D9

Accessibility & contrast

On white

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

On black

14.45
#DCDB78 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCDB78
14.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCDB78#FFFFFF#000000##000000
##DCDB781.001.4514.4514.45
#FFFFFF1.451.0021.0021.00
#00000014.4521.001.001.00
##00000014.4521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #dcdb78;
/* rgb */ color: rgb(220, 219, 120);
/* oklch */ color: oklch(87.1% 0.122 108.2);
Tailwind
colors: {
  custom: {
    50: '#e9e6a1',
    500: '#dcdb78',
    950: '#000000',
  },
}
SCSS
$custom: #dcdb78;
$custom-light: #e9e6a1;
$custom-dark: #000000;
JSON
{
  "hex": "#dcdb78",
  "rgb": {
    "r": 220,
    "g": 219,
    "b": 120
  },
  "hsl": {
    "h": 59.4,
    "s": 58.824,
    "l": 66.667
  },
  "oklch": {
    "l": 0.87141,
    "c": 0.12209,
    "h": 108.2
  },
  "luminance": 0.67235
}

Semantic roles & 50–950 ramp

primary
#DCDB78
secondary
#494AAF
accent
#21C61F
background
#FEFEFC
surface
#FDFCF5
border
#D5D5CF
text
#16150F
muted
#848480

Preview Lab

Preview with #DCDB78

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

Preview Lab → · Contrast checker → · Palette generator →

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