#DCD864#DCD864

#DCD864 is a very light, vivid yellow. Relative luminance 0.652; OKLCH L 86.3% C 0.138 H 107.2°. Best body text is #000000 at 14.05:1 contrast (WCAG AA passes).

Color values

HEX#DCD864
RGBrgb(220, 216, 100)
HSLhsl(58, 63%, 63%)
HSVhsv(58, 55%, 86%)
CMYKcmyk(0%, 1.8%, 54.5%, 13.7%)
CIE-LABlab(84.61, -13.58, 56.68)
CIE-LCHlch(84.61, 58.29, 103.47°)
OKLaboklab(86.26% -0.0407 0.132)
OKLCHoklch(86.26% 0.138 107.2)
XYZxyz(56.3729, 65.2491, 21.6789)
Luminance0.6525 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCD864 #6468DC
analogous
#DC9C64 #DCD864 #A4DC64
triadic
#DCD864 #64DCD8 #D864DC
tetradic
#DCD864 #64DC9C #6468DC #DC64A4
square
#DCD864 #64DC9C #6468DC #DC64A4
split-complementary
#DCD864 #64A4DC #9C64DC
monochromatic
#A19D24 #D1CB32 #DCD864 #E7E596 #F3F1C8

Accessibility & contrast

On white

1.49
#DCD864 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.05
#DCD864 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCD864
14.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCD864#FFFFFF#000000##000000
##DCD8641.001.4914.0514.05
#FFFFFF1.491.0021.0021.00
#00000014.0521.001.001.00
##00000014.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#E8D158
Deuteranopia (green-blind)
#EAD56A
Tritanopia (blue-blind)
#EACCBE
Achromatopsia (no color)
#D3D3D3

Design tokens & code

CSS
--color: #dcd864;
/* rgb */ color: rgb(220, 216, 100);
/* oklch */ color: oklch(86.3% 0.138 107.2);
Tailwind
colors: {
  custom: {
    50: '#e9e394',
    500: '#dcd864',
    950: '#000000',
  },
}
SCSS
$custom: #dcd864;
$custom-light: #e9e394;
$custom-dark: #000000;
JSON
{
  "hex": "#dcd864",
  "rgb": {
    "r": 220,
    "g": 216,
    "b": 100
  },
  "hsl": {
    "h": 58,
    "s": 63.158,
    "l": 62.745
  },
  "oklch": {
    "l": 0.86264,
    "c": 0.13812,
    "h": 107.2
  },
  "luminance": 0.65247
}

Semantic roles & 50–950 ramp

primary
#DCD864
secondary
#4043A5
accent
#20CB1B
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#16150D
muted
#85847F

Preview Lab

Preview with #DCD864

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

Preview Lab → · Contrast checker → · Palette generator →

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