#DCD368#DCD368

#DCD368 is a very light, vivid yellow. Relative luminance 0.628; OKLCH L 85.3% C 0.129 H 104.4°. Best body text is #000000 at 13.56:1 contrast (WCAG AA passes).

Color values

HEX#DCD368
RGBrgb(220, 211, 104)
HSLhsl(55, 62%, 64%)
HSVhsv(55, 53%, 86%)
CMYKcmyk(0%, 4.1%, 52.7%, 13.7%)
CIE-LABlab(83.34, -10.75, 53.38)
CIE-LCHlch(83.34, 54.45, 101.39°)
OKLaboklab(85.27% -0.0322 0.1253)
OKLCHoklch(85.27% 0.129 104.4)
XYZxyz(55.3098, 62.8054, 22.3032)
Luminance0.6280 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCD368 #6871DC
analogous
#DC9968 #DCD368 #ABDC68
triadic
#DCD368 #68DCD3 #D368DC
tetradic
#DCD368 #68DC99 #6871DC #DC68AB
square
#DCD368 #68DC99 #6871DC #DC68AB
split-complementary
#DCD368 #68ABDC #9968DC
monochromatic
#A49A26 #D0C536 #DCD368 #E8E19A #F3F0CB

Accessibility & contrast

On white

1.55
#DCD368 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.56
#DCD368 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCD368
13.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCD368#FFFFFF#000000##000000
##DCD3681.001.5513.5613.56
#FFFFFF1.551.0021.0021.00
#00000013.5621.001.001.00
##00000013.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#E3CD5E
Deuteranopia (green-blind)
#E6D26D
Tritanopia (blue-blind)
#EAC7BB
Achromatopsia (no color)
#D0D0D0

Design tokens & code

CSS
--color: #dcd368;
/* rgb */ color: rgb(220, 211, 104);
/* oklch */ color: oklch(85.3% 0.129 104.4);
Tailwind
colors: {
  custom: {
    50: '#e9e096',
    500: '#dcd368',
    950: '#000000',
  },
}
SCSS
$custom: #dcd368;
$custom-light: #e9e096;
$custom-dark: #000000;
JSON
{
  "hex": "#dcd368",
  "rgb": {
    "r": 220,
    "g": 211,
    "b": 104
  },
  "hsl": {
    "h": 55.345,
    "s": 62.366,
    "l": 63.529
  },
  "oklch": {
    "l": 0.85266,
    "c": 0.12934,
    "h": 104.4
  },
  "luminance": 0.62804
}

Semantic roles & 50–950 ramp

primary
#DCD368
secondary
#4149A7
accent
#29CA1B
background
#FFFEFC
surface
#FEFCF5
border
#D6D5CF
text
#16150E
muted
#85847F

Preview Lab

Preview with #DCD368

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

Preview Lab → · Contrast checker → · Palette generator →

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