#DCD866#DCD866

#DCD866 is a very light, vivid yellow. Relative luminance 0.653; OKLCH L 86.3% C 0.136 H 107.1°. Best body text is #000000 at 14.06:1 contrast (WCAG AA passes).

Color values

HEX#DCD866
RGBrgb(220, 216, 102)
HSLhsl(58, 63%, 63%)
HSVhsv(58, 54%, 86%)
CMYKcmyk(0%, 1.8%, 53.6%, 13.7%)
CIE-LABlab(84.63, -13.42, 55.80)
CIE-LCHlch(84.63, 57.39, 103.52°)
OKLaboklab(86.29% -0.0401 0.1303)
OKLCHoklch(86.29% 0.136 107.1)
XYZxyz(56.4709, 65.2883, 22.1950)
Luminance0.6529 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCD866 #666ADC
analogous
#DC9D66 #DCD866 #A5DC66
triadic
#DCD866 #66DCD8 #D866DC
tetradic
#DCD866 #66DC9D #666ADC #DC66A5
square
#DCD866 #66DC9D #666ADC #DC66A5
split-complementary
#DCD866 #66A5DC #9D66DC
monochromatic
#A29E25 #D1CB34 #DCD866 #E7E598 #F3F1CA

Accessibility & contrast

On white

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

On black

14.06
#DCD866 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCD866
14.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCD866#FFFFFF#000000##000000
##DCD8661.001.4914.0614.06
#FFFFFF1.491.0021.0021.00
#00000014.0621.001.001.00
##00000014.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#E8D15B
Deuteranopia (green-blind)
#EAD56C
Tritanopia (blue-blind)
#EACCBF
Achromatopsia (no color)
#D3D3D3

Design tokens & code

CSS
--color: #dcd866;
/* rgb */ color: rgb(220, 216, 102);
/* oklch */ color: oklch(86.3% 0.136 107.1);
Tailwind
colors: {
  custom: {
    50: '#e9e395',
    500: '#dcd866',
    950: '#000000',
  },
}
SCSS
$custom: #dcd866;
$custom-light: #e9e395;
$custom-dark: #000000;
JSON
{
  "hex": "#dcd866",
  "rgb": {
    "r": 220,
    "g": 216,
    "b": 102
  },
  "hsl": {
    "h": 57.966,
    "s": 62.766,
    "l": 63.137
  },
  "oklch": {
    "l": 0.86287,
    "c": 0.13631,
    "h": 107.1
  },
  "luminance": 0.65287
}

Semantic roles & 50–950 ramp

primary
#DCD866
secondary
#4144A6
accent
#21CB1B
background
#FFFEFC
surface
#FEFCF5
border
#D6D5CF
text
#16150D
muted
#85847F

Preview Lab

Preview with #DCD866

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

Preview Lab → · Contrast checker → · Palette generator →

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