#DCD064#DCD064

#DCD064 is a very light, vivid yellow. Relative luminance 0.612; OKLCH L 84.6% C 0.130 H 103.0°. Best body text is #000000 at 13.25:1 contrast (WCAG AA passes).

Color values

HEX#DCD064
RGBrgb(220, 208, 100)
HSLhsl(54, 63%, 63%)
HSVhsv(54, 55%, 86%)
CMYKcmyk(0%, 5.5%, 54.5%, 13.7%)
CIE-LABlab(82.51, -9.56, 54.27)
CIE-LCHlch(82.51, 55.11, 99.99°)
OKLaboklab(84.6% -0.0292 0.1268)
OKLCHoklch(84.6% 0.13 103)
XYZxyz(54.3731, 61.2494, 21.0123)
Luminance0.6125 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCD064 #6470DC
analogous
#DC9464 #DCD064 #ACDC64
triadic
#DCD064 #64DCD0 #D064DC
tetradic
#DCD064 #64DC94 #6470DC #DC64AC
square
#DCD064 #64DC94 #6470DC #DC64AC
split-complementary
#DCD064 #64ACDC #9464DC
monochromatic
#A19524 #D1C132 #DCD064 #E7DF96 #F3EEC8

Accessibility & contrast

On white

1.58
#DCD064 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.25
#DCD064 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCD064
13.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCD064#FFFFFF#000000##000000
##DCD0641.001.5813.2513.25
#FFFFFF1.581.0021.0021.00
#00000013.2521.001.001.00
##00000013.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#E0CA59
Deuteranopia (green-blind)
#E4D069
Tritanopia (blue-blind)
#EBC4B8
Achromatopsia (no color)
#CDCDCD

Design tokens & code

CSS
--color: #dcd064;
/* rgb */ color: rgb(220, 208, 100);
/* oklch */ color: oklch(84.6% 0.130 103.0);
Tailwind
colors: {
  custom: {
    50: '#e9de93',
    500: '#dcd064',
    950: '#000000',
  },
}
SCSS
$custom: #dcd064;
$custom-light: #e9de93;
$custom-dark: #000000;
JSON
{
  "hex": "#dcd064",
  "rgb": {
    "r": 220,
    "g": 208,
    "b": 100
  },
  "hsl": {
    "h": 54,
    "s": 63.158,
    "l": 62.745
  },
  "oklch": {
    "l": 0.84595,
    "c": 0.13011,
    "h": 103
  },
  "luminance": 0.61247
}

Semantic roles & 50–950 ramp

primary
#DCD064
secondary
#404AA5
accent
#2CCB1B
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#16150D
muted
#85847F

Preview Lab

Preview with #DCD064

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

Preview Lab → · Contrast checker → · Palette generator →

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