#DCD966#DCD966

#DCD966 is a very light, vivid yellow. Relative luminance 0.658; OKLCH L 86.5% C 0.137 H 107.6°. Best body text is #000000 at 14.16:1 contrast (WCAG AA passes).

Color values

HEX#DCD966
RGBrgb(220, 217, 102)
HSLhsl(58, 63%, 63%)
HSVhsv(58, 54%, 86%)
CMYKcmyk(0%, 1.4%, 53.6%, 13.7%)
CIE-LABlab(84.90, -13.92, 56.10)
CIE-LCHlch(84.90, 57.80, 103.93°)
OKLaboklab(86.5% -0.0415 0.1309)
OKLCHoklch(86.5% 0.137 107.6)
XYZxyz(56.7279, 65.8022, 22.2806)
Luminance0.6580 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCD966 #6669DC
analogous
#DC9E66 #DCD966 #A4DC66
triadic
#DCD966 #66DCD9 #D966DC
tetradic
#DCD966 #66DC9E #6669DC #DC66A4
square
#DCD966 #66DC9E #6669DC #DC66A4
split-complementary
#DCD966 #66A4DC #9E66DC
monochromatic
#A29F25 #D1CD34 #DCD966 #E7E598 #F3F2CA

Accessibility & contrast

On white

1.48
#DCD966 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.16
#DCD966 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCD966
14.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCD966#FFFFFF#000000##000000
##DCD9661.001.4814.1614.16
#FFFFFF1.481.0021.0021.00
#00000014.1621.001.001.00
##00000014.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#E9D15B
Deuteranopia (green-blind)
#EBD66C
Tritanopia (blue-blind)
#EACDBF
Achromatopsia (no color)
#D4D4D4

Design tokens & code

CSS
--color: #dcd966;
/* rgb */ color: rgb(220, 217, 102);
/* oklch */ color: oklch(86.5% 0.137 107.6);
Tailwind
colors: {
  custom: {
    50: '#e9e495',
    500: '#dcd966',
    950: '#000000',
  },
}
SCSS
$custom: #dcd966;
$custom-light: #e9e495;
$custom-dark: #000000;
JSON
{
  "hex": "#dcd966",
  "rgb": {
    "r": 220,
    "g": 217,
    "b": 102
  },
  "hsl": {
    "h": 58.475,
    "s": 62.766,
    "l": 63.137
  },
  "oklch": {
    "l": 0.86497,
    "c": 0.13736,
    "h": 107.6
  },
  "luminance": 0.65801
}

Semantic roles & 50–950 ramp

primary
#DCD966
secondary
#4143A6
accent
#1FCB1B
background
#FFFEFC
surface
#FEFCF5
border
#D6D5CF
text
#16150D
muted
#85847F

Preview Lab

Preview with #DCD966

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

Preview Lab → · Contrast checker → · Palette generator →

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