#DCD954#DCD954

#DCD954 is a very light, vivid yellow. Relative luminance 0.655; OKLCH L 86.3% C 0.152 H 108.0°. Best body text is #000000 at 14.10:1 contrast (WCAG AA passes).

Color values

HEX#DCD954
RGBrgb(220, 217, 84)
HSLhsl(59, 66%, 60%)
HSVhsv(59, 62%, 86%)
CMYKcmyk(0%, 1.4%, 61.8%, 13.7%)
CIE-LABlab(84.73, -15.20, 63.75)
CIE-LCHlch(84.73, 65.54, 103.41°)
OKLaboklab(86.31% -0.047 0.145)
OKLCHoklch(86.31% 0.152 108)
XYZxyz(55.9301, 65.4831, 18.0791)
Luminance0.6548 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCD954 #5457DC
analogous
#DC9554 #DCD954 #9BDC54
triadic
#DCD954 #54DCD9 #D954DC
tetradic
#DCD954 #54DC95 #5457DC #DC549B
square
#DCD954 #54DC95 #5457DC #DC549B
split-complementary
#DCD954 #549BDC #9554DC
monochromatic
#97941F #CAC629 #DCD954 #E6E487 #F1F0BA

Accessibility & contrast

On white

1.49
#DCD954 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.10
#DCD954 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCD954
14.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCD954#FFFFFF#000000##000000
##DCD9541.001.4914.1014.10
#FFFFFF1.491.0021.0021.00
#00000014.1021.001.001.00
##00000014.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#EAD144
Deuteranopia (green-blind)
#ECD65C
Tritanopia (blue-blind)
#EBCCBD
Achromatopsia (no color)
#D3D3D3

Design tokens & code

CSS
--color: #dcd954;
/* rgb */ color: rgb(220, 217, 84);
/* oklch */ color: oklch(86.3% 0.152 108.0);
Tailwind
colors: {
  custom: {
    50: '#eae48a',
    500: '#dcd954',
    950: '#000000',
  },
}
SCSS
$custom: #dcd954;
$custom-light: #eae48a;
$custom-dark: #000000;
JSON
{
  "hex": "#dcd954",
  "rgb": {
    "r": 220,
    "g": 217,
    "b": 84
  },
  "hsl": {
    "h": 58.676,
    "s": 66.019,
    "l": 59.608
  },
  "oklch": {
    "l": 0.86314,
    "c": 0.15245,
    "h": 108
  },
  "luminance": 0.65481
}

Semantic roles & 50–950 ramp

primary
#DCD954
secondary
#393B9B
accent
#43E93F
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#17150C
muted
#85847F

Preview Lab

Preview with #DCD954

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

Preview Lab → · Contrast checker → · Palette generator →

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