#DCD666#DCD666

#DCD666 is a very light, vivid yellow. Relative luminance 0.643; OKLCH L 85.9% C 0.134 H 106.1°. Best body text is #000000 at 13.85:1 contrast (WCAG AA passes).

Color values

HEX#DCD666
RGBrgb(220, 214, 102)
HSLhsl(57, 63%, 63%)
HSVhsv(57, 54%, 86%)
CMYKcmyk(0%, 2.7%, 53.6%, 13.7%)
CIE-LABlab(84.11, -12.42, 55.19)
CIE-LCHlch(84.11, 56.57, 102.68°)
OKLaboklab(85.87% -0.0372 0.129)
OKLCHoklch(85.87% 0.134 106.1)
XYZxyz(55.9616, 64.2698, 22.0252)
Luminance0.6427 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCD666 #666CDC
analogous
#DC9B66 #DCD666 #A7DC66
triadic
#DCD666 #66DCD6 #D666DC
tetradic
#DCD666 #66DC9B #666CDC #DC66A7
square
#DCD666 #66DC9B #666CDC #DC66A7
split-complementary
#DCD666 #66A7DC #9B66DC
monochromatic
#A29C25 #D1C934 #DCD666 #E7E398 #F3F1CA

Accessibility & contrast

On white

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

On black

13.85
#DCD666 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCD666
13.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCD666#FFFFFF#000000##000000
##DCD6661.001.5213.8513.85
#FFFFFF1.521.0021.0021.00
#00000013.8521.001.001.00
##00000013.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#E6CF5B
Deuteranopia (green-blind)
#E9D46C
Tritanopia (blue-blind)
#EACABD
Achromatopsia (no color)
#D2D2D2

Design tokens & code

CSS
--color: #dcd666;
/* rgb */ color: rgb(220, 214, 102);
/* oklch */ color: oklch(85.9% 0.134 106.1);
Tailwind
colors: {
  custom: {
    50: '#e9e295',
    500: '#dcd666',
    950: '#000000',
  },
}
SCSS
$custom: #dcd666;
$custom-light: #e9e295;
$custom-dark: #000000;
JSON
{
  "hex": "#dcd666",
  "rgb": {
    "r": 220,
    "g": 214,
    "b": 102
  },
  "hsl": {
    "h": 56.949,
    "s": 62.766,
    "l": 63.137
  },
  "oklch": {
    "l": 0.85868,
    "c": 0.13425,
    "h": 106.1
  },
  "luminance": 0.64268
}

Semantic roles & 50–950 ramp

primary
#DCD666
secondary
#4146A6
accent
#24CB1B
background
#FFFEFC
surface
#FEFCF5
border
#D6D5CF
text
#16150D
muted
#85847F

Preview Lab

Preview with #DCD666

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

Preview Lab → · Contrast checker → · Palette generator →

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