#DCD968#DCD968

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

Color values

HEX#DCD968
RGBrgb(220, 217, 104)
HSLhsl(58, 62%, 64%)
HSVhsv(58, 53%, 86%)
CMYKcmyk(0%, 1.4%, 52.7%, 13.7%)
CIE-LABlab(84.92, -13.76, 55.21)
CIE-LCHlch(84.92, 56.90, 103.99°)
OKLaboklab(86.52% -0.0408 0.1292)
OKLCHoklch(86.52% 0.136 107.5)
XYZxyz(56.8283, 65.8424, 22.8093)
Luminance0.6584 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCD968 #686BDC
analogous
#DC9F68 #DCD968 #A5DC68
triadic
#DCD968 #68DCD9 #D968DC
tetradic
#DCD968 #68DC9F #686BDC #DC68A5
square
#DCD968 #68DC9F #686BDC #DC68A5
split-complementary
#DCD968 #68A5DC #9F68DC
monochromatic
#A4A026 #D0CC36 #DCD968 #E8E69A #F3F2CB

Accessibility & contrast

On white

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

On black

14.17
#DCD968 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCD968
14.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCD968#FFFFFF#000000##000000
##DCD9681.001.4814.1714.17
#FFFFFF1.481.0021.0021.00
#00000014.1721.001.001.00
##00000014.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#E9D25D
Deuteranopia (green-blind)
#EBD66E
Tritanopia (blue-blind)
#EACDC0
Achromatopsia (no color)
#D4D4D4

Design tokens & code

CSS
--color: #dcd968;
/* rgb */ color: rgb(220, 217, 104);
/* oklch */ color: oklch(86.5% 0.136 107.5);
Tailwind
colors: {
  custom: {
    50: '#e9e496',
    500: '#dcd968',
    950: '#000000',
  },
}
SCSS
$custom: #dcd968;
$custom-light: #e9e496;
$custom-dark: #000000;
JSON
{
  "hex": "#dcd968",
  "rgb": {
    "r": 220,
    "g": 217,
    "b": 104
  },
  "hsl": {
    "h": 58.448,
    "s": 62.366,
    "l": 63.529
  },
  "oklch": {
    "l": 0.8652,
    "c": 0.13553,
    "h": 107.5
  },
  "luminance": 0.65841
}

Semantic roles & 50–950 ramp

primary
#DCD968
secondary
#4144A7
accent
#20CA1B
background
#FFFEFC
surface
#FEFCF5
border
#D6D5CF
text
#16150E
muted
#85847F

Preview Lab

Preview with #DCD968

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

Preview Lab → · Contrast checker → · Palette generator →

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