#DCD951#DCD951

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

Color values

HEX#DCD951
RGBrgb(220, 217, 81)
HSLhsl(59, 67%, 59%)
HSVhsv(59, 63%, 86%)
CMYKcmyk(0%, 1.4%, 63.2%, 13.7%)
CIE-LABlab(84.71, -15.38, 64.95)
CIE-LCHlch(84.71, 66.75, 103.33°)
OKLaboklab(86.29% -0.0479 0.1471)
OKLCHoklch(86.29% 0.155 108)
XYZxyz(55.8151, 65.4371, 17.4735)
Luminance0.6543 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCD951 #5154DC
analogous
#DC9451 #DCD951 #9ADC51
triadic
#DCD951 #51DCD9 #D951DC
tetradic
#DCD951 #51DC94 #5154DC #DC519A
square
#DCD951 #51DC94 #5154DC #DC519A
split-complementary
#DCD951 #519ADC #9451DC
monochromatic
#95921E #C8C428 #DCD951 #E6E484 #F0EFB7

Accessibility & contrast

On white

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

On black

14.09
#DCD951 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCD951
14.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCD951#FFFFFF#000000##000000
##DCD9511.001.4914.0914.09
#FFFFFF1.491.0021.0021.00
#00000014.0921.001.001.00
##00000014.0921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #dcd951;
/* rgb */ color: rgb(220, 217, 81);
/* oklch */ color: oklch(86.3% 0.155 108.0);
Tailwind
colors: {
  custom: {
    50: '#eae488',
    500: '#dcd951',
    950: '#000000',
  },
}
SCSS
$custom: #dcd951;
$custom-light: #eae488;
$custom-dark: #000000;
JSON
{
  "hex": "#dcd951",
  "rgb": {
    "r": 220,
    "g": 217,
    "b": 81
  },
  "hsl": {
    "h": 58.705,
    "s": 66.507,
    "l": 59.02
  },
  "oklch": {
    "l": 0.86288,
    "c": 0.15472,
    "h": 108
  },
  "luminance": 0.65435
}

Semantic roles & 50–950 ramp

primary
#DCD951
secondary
#383A99
accent
#42E93E
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#17150C
muted
#85847F

Preview Lab

Preview with #DCD951

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

Preview Lab → · Contrast checker → · Palette generator →

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