#DCC964#DCC964

#DCC964 is a very light, vivid yellow. Relative luminance 0.579; OKLCH L 83.1% C 0.124 H 98.8°. Best body text is #000000 at 12.58:1 contrast (WCAG AA passes).

Color values

HEX#DCC964
RGBrgb(220, 201, 100)
HSLhsl(51, 63%, 63%)
HSVhsv(51, 55%, 86%)
CMYKcmyk(0%, 8.6%, 54.5%, 13.7%)
CIE-LABlab(80.69, -5.99, 52.16)
CIE-LCHlch(80.69, 52.50, 96.55°)
OKLaboklab(83.15% -0.019 0.1222)
OKLCHoklch(83.15% 0.124 98.8)
XYZxyz(52.7039, 57.9111, 20.4559)
Luminance0.5791 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCC964 #6477DC
analogous
#DC8D64 #DCC964 #B3DC64
triadic
#DCC964 #64DCC9 #C964DC
tetradic
#DCC964 #64DC8D #6477DC #DC64B3
square
#DCC964 #64DC8D #6477DC #DC64B3
split-complementary
#DCC964 #64B3DC #8D64DC
monochromatic
#A18D24 #D1B832 #DCC964 #E7DA96 #F3ECC8

Accessibility & contrast

On white

1.67
#DCC964 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.58
#DCC964 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCC964
12.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCC964#FFFFFF#000000##000000
##DCC9641.001.6712.5812.58
#FFFFFF1.671.0021.0021.00
#00000012.5821.001.001.00
##00000012.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#DAC45A
Deuteranopia (green-blind)
#DFCB69
Tritanopia (blue-blind)
#EBBDB2
Achromatopsia (no color)
#C8C8C8

Design tokens & code

CSS
--color: #dcc964;
/* rgb */ color: rgb(220, 201, 100);
/* oklch */ color: oklch(83.1% 0.124 98.8);
Tailwind
colors: {
  custom: {
    50: '#e9d993',
    500: '#dcc964',
    950: '#000000',
  },
}
SCSS
$custom: #dcc964;
$custom-light: #e9d993;
$custom-dark: #000000;
JSON
{
  "hex": "#dcc964",
  "rgb": {
    "r": 220,
    "g": 201,
    "b": 100
  },
  "hsl": {
    "h": 50.5,
    "s": 63.158,
    "l": 62.745
  },
  "oklch": {
    "l": 0.83149,
    "c": 0.12368,
    "h": 98.8
  },
  "luminance": 0.57909
}

Semantic roles & 50–950 ramp

primary
#DCC964
secondary
#4050A5
accent
#36CB1B
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#16140D
muted
#85837F

Preview Lab

Preview with #DCC964

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

Preview Lab → · Contrast checker → · Palette generator →

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