#DCD651#DCD651

#DCD651 is a very light, vivid yellow. Relative luminance 0.639; OKLCH L 85.7% C 0.152 H 106.7°. Best body text is #000000 at 13.78:1 contrast (WCAG AA passes).

Color values

HEX#DCD651
RGBrgb(220, 214, 81)
HSLhsl(57, 67%, 59%)
HSVhsv(57, 63%, 86%)
CMYKcmyk(0%, 2.7%, 63.2%, 13.7%)
CIE-LABlab(83.92, -13.89, 64.12)
CIE-LCHlch(83.92, 65.60, 102.23°)
OKLaboklab(85.66% -0.0437 0.1454)
OKLCHoklch(85.66% 0.152 106.7)
XYZxyz(55.0489, 63.9047, 17.2181)
Luminance0.6390 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCD651 #5157DC
analogous
#DC9151 #DCD651 #9DDC51
triadic
#DCD651 #51DCD6 #D651DC
tetradic
#DCD651 #51DC91 #5157DC #DC519D
square
#DCD651 #51DC91 #5157DC #DC519D
split-complementary
#DCD651 #519DDC #9151DC
monochromatic
#95901E #C8C128 #DCD651 #E6E284 #F0EEB7

Accessibility & contrast

On white

1.52
#DCD651 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.78
#DCD651 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCD651
13.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCD651#FFFFFF#000000##000000
##DCD6511.001.5213.7813.78
#FFFFFF1.521.0021.0021.00
#00000013.7821.001.001.00
##00000013.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#E7CE40
Deuteranopia (green-blind)
#EAD459
Tritanopia (blue-blind)
#EBC9BA
Achromatopsia (no color)
#D1D1D1

Design tokens & code

CSS
--color: #dcd651;
/* rgb */ color: rgb(220, 214, 81);
/* oklch */ color: oklch(85.7% 0.152 106.7);
Tailwind
colors: {
  custom: {
    50: '#eae288',
    500: '#dcd651',
    950: '#000000',
  },
}
SCSS
$custom: #dcd651;
$custom-light: #eae288;
$custom-dark: #000000;
JSON
{
  "hex": "#dcd651",
  "rgb": {
    "r": 220,
    "g": 214,
    "b": 81
  },
  "hsl": {
    "h": 57.41,
    "s": 66.507,
    "l": 59.02
  },
  "oklch": {
    "l": 0.85656,
    "c": 0.15177,
    "h": 106.7
  },
  "luminance": 0.63903
}

Semantic roles & 50–950 ramp

primary
#DCD651
secondary
#383C99
accent
#46E93E
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#17150C
muted
#85847F

Preview Lab

Preview with #DCD651

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

Preview Lab → · Contrast checker → · Palette generator →

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