#DCD168#DCD168

#DCD168 is a very light, vivid yellow. Relative luminance 0.618; OKLCH L 84.9% C 0.127 H 103.3°. Best body text is #000000 at 13.36:1 contrast (WCAG AA passes).

Color values

HEX#DCD168
RGBrgb(220, 209, 104)
HSLhsl(54, 62%, 64%)
HSVhsv(54, 53%, 86%)
CMYKcmyk(0%, 5%, 52.7%, 13.7%)
CIE-LABlab(82.82, -9.74, 52.77)
CIE-LCHlch(82.82, 53.66, 100.46°)
OKLaboklab(84.85% -0.0293 0.1239)
OKLCHoklch(84.85% 0.127 103.3)
XYZxyz(54.8160, 61.8179, 22.1386)
Luminance0.6182 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCD168 #6873DC
analogous
#DC9768 #DCD168 #ADDC68
triadic
#DCD168 #68DCD1 #D168DC
tetradic
#DCD168 #68DC97 #6873DC #DC68AD
square
#DCD168 #68DC97 #6873DC #DC68AD
split-complementary
#DCD168 #68ADDC #9768DC
monochromatic
#A49826 #D0C236 #DCD168 #E8E09A #F3EFCB

Accessibility & contrast

On white

1.57
#DCD168 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.36
#DCD168 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCD168
13.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCD168#FFFFFF#000000##000000
##DCD1681.001.5713.3613.36
#FFFFFF1.571.0021.0021.00
#00000013.3621.001.001.00
##00000013.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#E1CB5E
Deuteranopia (green-blind)
#E5D16D
Tritanopia (blue-blind)
#EAC5B9
Achromatopsia (no color)
#CECECE

Design tokens & code

CSS
--color: #dcd168;
/* rgb */ color: rgb(220, 209, 104);
/* oklch */ color: oklch(84.9% 0.127 103.3);
Tailwind
colors: {
  custom: {
    50: '#e9de96',
    500: '#dcd168',
    950: '#000000',
  },
}
SCSS
$custom: #dcd168;
$custom-light: #e9de96;
$custom-dark: #000000;
JSON
{
  "hex": "#dcd168",
  "rgb": {
    "r": 220,
    "g": 209,
    "b": 104
  },
  "hsl": {
    "h": 54.31,
    "s": 62.366,
    "l": 63.529
  },
  "oklch": {
    "l": 0.8485,
    "c": 0.12737,
    "h": 103.3
  },
  "luminance": 0.61816
}

Semantic roles & 50–950 ramp

primary
#DCD168
secondary
#414BA7
accent
#2CCA1B
background
#FFFEFC
surface
#FEFCF5
border
#D6D5CF
text
#16150D
muted
#85847F

Preview Lab

Preview with #DCD168

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

Preview Lab → · Contrast checker → · Palette generator →

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