#DCD351#DCD351

#DCD351 is a very light, vivid yellow. Relative luminance 0.624; OKLCH L 85.0% C 0.149 H 105.4°. Best body text is #000000 at 13.48:1 contrast (WCAG AA passes).

Color values

HEX#DCD351
RGBrgb(220, 211, 81)
HSLhsl(56, 67%, 59%)
HSVhsv(56, 63%, 86%)
CMYKcmyk(0%, 4.1%, 63.2%, 13.7%)
CIE-LABlab(83.13, -12.39, 63.28)
CIE-LCHlch(83.13, 64.48, 101.08°)
OKLaboklab(85.03% -0.0394 0.1436)
OKLCHoklch(85.03% 0.149 105.4)
XYZxyz(54.2966, 62.4002, 16.9673)
Luminance0.6240 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCD351 #515ADC
analogous
#DC8E51 #DCD351 #A0DC51
triadic
#DCD351 #51DCD3 #D351DC
tetradic
#DCD351 #51DC8E #515ADC #DC51A0
square
#DCD351 #51DC8E #515ADC #DC51A0
split-complementary
#DCD351 #51A0DC #8E51DC
monochromatic
#958D1E #C8BD28 #DCD351 #E6E084 #F0EDB7

Accessibility & contrast

On white

1.56
#DCD351 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.48
#DCD351 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCD351
13.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCD351#FFFFFF#000000##000000
##DCD3511.001.5613.4813.48
#FFFFFF1.561.0021.0021.00
#00000013.4821.001.001.00
##00000013.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#E4CC41
Deuteranopia (green-blind)
#E8D259
Tritanopia (blue-blind)
#EBC6B8
Achromatopsia (no color)
#CFCFCF

Design tokens & code

CSS
--color: #dcd351;
/* rgb */ color: rgb(220, 211, 81);
/* oklch */ color: oklch(85.0% 0.149 105.4);
Tailwind
colors: {
  custom: {
    50: '#eae088',
    500: '#dcd351',
    950: '#000000',
  },
}
SCSS
$custom: #dcd351;
$custom-light: #eae088;
$custom-dark: #000000;
JSON
{
  "hex": "#dcd351",
  "rgb": {
    "r": 220,
    "g": 211,
    "b": 81
  },
  "hsl": {
    "h": 56.115,
    "s": 66.507,
    "l": 59.02
  },
  "oklch": {
    "l": 0.85027,
    "c": 0.1489,
    "h": 105.4
  },
  "luminance": 0.62398
}

Semantic roles & 50–950 ramp

primary
#DCD351
secondary
#383E99
accent
#49E93E
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#17150C
muted
#85847F

Preview Lab

Preview with #DCD351

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

Preview Lab → · Contrast checker → · Palette generator →

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