#DCCD51#DCCD51

#DCCD51 is a very light, vivid yellow. Relative luminance 0.595; OKLCH L 83.8% C 0.143 H 102.4°. Best body text is #000000 at 12.89:1 contrast (WCAG AA passes).

Color values

HEX#DCCD51
RGBrgb(220, 205, 81)
HSLhsl(54, 67%, 59%)
HSVhsv(54, 63%, 86%)
CMYKcmyk(0%, 6.8%, 63.2%, 13.7%)
CIE-LABlab(81.55, -9.37, 61.61)
CIE-LCHlch(81.55, 62.32, 98.65°)
OKLaboklab(83.78% -0.0308 0.1401)
OKLCHoklch(83.78% 0.143 102.4)
XYZxyz(52.8338, 59.4745, 16.4797)
Luminance0.5947 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCCD51 #5160DC
analogous
#DC8851 #DCCD51 #A6DC51
triadic
#DCCD51 #51DCCD #CD51DC
tetradic
#DCCD51 #51DC88 #5160DC #DC51A6
square
#DCCD51 #51DC88 #5160DC #DC51A6
split-complementary
#DCCD51 #51A6DC #8851DC
monochromatic
#95881E #C8B628 #DCCD51 #E6DC84 #F0EAB7

Accessibility & contrast

On white

1.63
#DCCD51 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.89
#DCCD51 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCCD51
12.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCCD51#FFFFFF#000000##000000
##DCCD511.001.6312.8912.89
#FFFFFF1.631.0021.0021.00
#00000012.8921.001.001.00
##00000012.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#DFC742
Deuteranopia (green-blind)
#E3CE58
Tritanopia (blue-blind)
#ECC0B3
Achromatopsia (no color)
#CBCBCB

Design tokens & code

CSS
--color: #dccd51;
/* rgb */ color: rgb(220, 205, 81);
/* oklch */ color: oklch(83.8% 0.143 102.4);
Tailwind
colors: {
  custom: {
    50: '#eadc87',
    500: '#dccd51',
    950: '#000000',
  },
}
SCSS
$custom: #dccd51;
$custom-light: #eadc87;
$custom-dark: #000000;
JSON
{
  "hex": "#dccd51",
  "rgb": {
    "r": 220,
    "g": 205,
    "b": 81
  },
  "hsl": {
    "h": 53.525,
    "s": 66.507,
    "l": 59.02
  },
  "oklch": {
    "l": 0.83775,
    "c": 0.1434,
    "h": 102.4
  },
  "luminance": 0.59472
}

Semantic roles & 50–950 ramp

primary
#DCCD51
secondary
#384299
accent
#51E93E
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#17150C
muted
#85847F

Preview Lab

Preview with #DCCD51

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

Preview Lab → · Contrast checker → · Palette generator →

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