#DCD96F#DCD96F

#DCD96F is a very light, vivid yellow. Relative luminance 0.660; OKLCH L 86.6% C 0.129 H 107.4°. Best body text is #000000 at 14.20:1 contrast (WCAG AA passes).

Color values

HEX#DCD96F
RGBrgb(220, 217, 111)
HSLhsl(58, 61%, 65%)
HSVhsv(58, 50%, 86%)
CMYKcmyk(0%, 1.4%, 49.5%, 13.7%)
CIE-LABlab(84.99, -13.17, 52.05)
CIE-LCHlch(84.99, 53.69, 104.20°)
OKLaboklab(86.6% -0.0384 0.123)
OKLCHoklch(86.6% 0.129 107.4)
XYZxyz(57.1987, 65.9906, 24.7602)
Luminance0.6599 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCD96F #6F72DC
analogous
#DCA36F #DCD96F #A8DC6F
triadic
#DCD96F #6FDCD9 #D96FDC
tetradic
#DCD96F #6FDCA3 #6F72DC #DC6FA8
square
#DCD96F #6FDCA3 #6F72DC #DC6FA8
split-complementary
#DCD96F #6FA8DC #A36FDC
monochromatic
#A8A429 #D0CC3E #DCD96F #E8E6A0 #F4F3D1

Accessibility & contrast

On white

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

On black

14.20
#DCD96F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCD96F
14.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCD96F#FFFFFF#000000##000000
##DCD96F1.001.4814.2014.20
#FFFFFF1.481.0021.0021.00
#00000014.2021.001.001.00
##00000014.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#E8D265
Deuteranopia (green-blind)
#EAD674
Tritanopia (blue-blind)
#E9CDC1
Achromatopsia (no color)
#D4D4D4

Design tokens & code

CSS
--color: #dcd96f;
/* rgb */ color: rgb(220, 217, 111);
/* oklch */ color: oklch(86.6% 0.129 107.4);
Tailwind
colors: {
  custom: {
    50: '#e9e49b',
    500: '#dcd96f',
    950: '#000000',
  },
}
SCSS
$custom: #dcd96f;
$custom-light: #e9e49b;
$custom-dark: #000000;
JSON
{
  "hex": "#dcd96f",
  "rgb": {
    "r": 220,
    "g": 217,
    "b": 111
  },
  "hsl": {
    "h": 58.349,
    "s": 60.894,
    "l": 64.902
  },
  "oklch": {
    "l": 0.86604,
    "c": 0.12889,
    "h": 107.4
  },
  "luminance": 0.65989
}

Semantic roles & 50–950 ramp

primary
#DCD96F
secondary
#4547AB
accent
#22C91D
background
#FFFEFC
surface
#FEFCF5
border
#D6D5CF
text
#16150E
muted
#85847F

Preview Lab

Preview with #DCD96F

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

Preview Lab → · Contrast checker → · Palette generator →

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