#DCD166#DCD166

#DCD166 is a very light, vivid yellow. Relative luminance 0.618; OKLCH L 84.8% C 0.129 H 103.4°. Best body text is #000000 at 13.36:1 contrast (WCAG AA passes).

Color values

HEX#DCD166
RGBrgb(220, 209, 102)
HSLhsl(54, 63%, 63%)
HSVhsv(54, 54%, 86%)
CMYKcmyk(0%, 5%, 53.6%, 13.7%)
CIE-LABlab(82.80, -9.90, 53.67)
CIE-LCHlch(82.80, 54.58, 100.45°)
OKLaboklab(84.83% -0.03 0.1257)
OKLCHoklch(84.83% 0.129 103.4)
XYZxyz(54.7156, 61.7777, 21.6099)
Luminance0.6178 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCD166 #6671DC
analogous
#DC9666 #DCD166 #ACDC66
triadic
#DCD166 #66DCD1 #D166DC
tetradic
#DCD166 #66DC96 #6671DC #DC66AC
square
#DCD166 #66DC96 #6671DC #DC66AC
split-complementary
#DCD166 #66ACDC #9666DC
monochromatic
#A29725 #D1C234 #DCD166 #E7E098 #F3EFCA

Accessibility & contrast

On white

1.57
#DCD166 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.36
#DCD166 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCD166
13.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCD166#FFFFFF#000000##000000
##DCD1661.001.5713.3613.36
#FFFFFF1.571.0021.0021.00
#00000013.3621.001.001.00
##00000013.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#E1CB5C
Deuteranopia (green-blind)
#E5D16B
Tritanopia (blue-blind)
#EAC5B9
Achromatopsia (no color)
#CECECE

Design tokens & code

CSS
--color: #dcd166;
/* rgb */ color: rgb(220, 209, 102);
/* oklch */ color: oklch(84.8% 0.129 103.4);
Tailwind
colors: {
  custom: {
    50: '#e9de95',
    500: '#dcd166',
    950: '#000000',
  },
}
SCSS
$custom: #dcd166;
$custom-light: #e9de95;
$custom-dark: #000000;
JSON
{
  "hex": "#dcd166",
  "rgb": {
    "r": 220,
    "g": 209,
    "b": 102
  },
  "hsl": {
    "h": 54.407,
    "s": 62.766,
    "l": 63.137
  },
  "oklch": {
    "l": 0.84826,
    "c": 0.12924,
    "h": 103.4
  },
  "luminance": 0.61776
}

Semantic roles & 50–950 ramp

primary
#DCD166
secondary
#414AA6
accent
#2BCB1B
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#16150D
muted
#85847F

Preview Lab

Preview with #DCD166

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

Preview Lab → · Contrast checker → · Palette generator →

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