#DCD868#DCD868

#DCD868 is a very light, vivid yellow. Relative luminance 0.653; OKLCH L 86.3% C 0.134 H 107.0°. Best body text is #000000 at 14.07:1 contrast (WCAG AA passes).

Color values

HEX#DCD868
RGBrgb(220, 216, 104)
HSLhsl(58, 62%, 64%)
HSVhsv(58, 53%, 86%)
CMYKcmyk(0%, 1.8%, 52.7%, 13.7%)
CIE-LABlab(84.65, -13.26, 54.91)
CIE-LCHlch(84.65, 56.49, 103.58°)
OKLaboklab(86.31% -0.0394 0.1286)
OKLCHoklch(86.31% 0.134 107)
XYZxyz(56.5713, 65.3284, 22.7237)
Luminance0.6533 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCD868 #686CDC
analogous
#DC9E68 #DCD868 #A6DC68
triadic
#DCD868 #68DCD8 #D868DC
tetradic
#DCD868 #68DC9E #686CDC #DC68A6
square
#DCD868 #68DC9E #686CDC #DC68A6
split-complementary
#DCD868 #68A6DC #9E68DC
monochromatic
#A49F26 #D0CB36 #DCD868 #E8E59A #F3F2CB

Accessibility & contrast

On white

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

On black

14.07
#DCD868 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCD868
14.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCD868#FFFFFF#000000##000000
##DCD8681.001.4914.0714.07
#FFFFFF1.491.0021.0021.00
#00000014.0721.001.001.00
##00000014.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#E8D15D
Deuteranopia (green-blind)
#EAD56E
Tritanopia (blue-blind)
#EACCBF
Achromatopsia (no color)
#D3D3D3

Design tokens & code

CSS
--color: #dcd868;
/* rgb */ color: rgb(220, 216, 104);
/* oklch */ color: oklch(86.3% 0.134 107.0);
Tailwind
colors: {
  custom: {
    50: '#e9e396',
    500: '#dcd868',
    950: '#000000',
  },
}
SCSS
$custom: #dcd868;
$custom-light: #e9e396;
$custom-dark: #000000;
JSON
{
  "hex": "#dcd868",
  "rgb": {
    "r": 220,
    "g": 216,
    "b": 104
  },
  "hsl": {
    "h": 57.931,
    "s": 62.366,
    "l": 63.529
  },
  "oklch": {
    "l": 0.8631,
    "c": 0.13447,
    "h": 107
  },
  "luminance": 0.65327
}

Semantic roles & 50–950 ramp

primary
#DCD868
secondary
#4145A7
accent
#21CA1B
background
#FFFEFC
surface
#FEFCF5
border
#D6D5CF
text
#16150E
muted
#85847F

Preview Lab

Preview with #DCD868

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

Preview Lab → · Contrast checker → · Palette generator →

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