#DCD86C#DCD86C

#DCD86C is a very light, vivid yellow. Relative luminance 0.654; OKLCH L 86.4% C 0.131 H 106.9°. Best body text is #000000 at 14.08:1 contrast (WCAG AA passes).

Color values

HEX#DCD86C
RGBrgb(220, 216, 108)
HSLhsl(58, 62%, 64%)
HSVhsv(58, 51%, 86%)
CMYKcmyk(0%, 1.8%, 50.9%, 13.7%)
CIE-LABlab(84.70, -12.93, 53.10)
CIE-LCHlch(84.70, 54.66, 103.68°)
OKLaboklab(86.36% -0.038 0.1251)
OKLCHoklch(86.36% 0.131 106.9)
XYZxyz(56.7793, 65.4116, 23.8192)
Luminance0.6541 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCD86C #6C70DC
analogous
#DCA06C #DCD86C #A8DC6C
triadic
#DCD86C #6CDCD8 #D86CDC
tetradic
#DCD86C #6CDCA0 #6C70DC #DC6CA8
square
#DCD86C #6CDCA0 #6C70DC #DC6CA8
split-complementary
#DCD86C #6CA8DC #A06CDC
monochromatic
#A6A228 #D0CB3B #DCD86C #E8E59D #F4F2CF

Accessibility & contrast

On white

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

On black

14.08
#DCD86C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCD86C
14.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCD86C#FFFFFF#000000##000000
##DCD86C1.001.4914.0814.08
#FFFFFF1.491.0021.0021.00
#00000014.0821.001.001.00
##00000014.0821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #dcd86c;
/* rgb */ color: rgb(220, 216, 108);
/* oklch */ color: oklch(86.4% 0.131 106.9);
Tailwind
colors: {
  custom: {
    50: '#e9e399',
    500: '#dcd86c',
    950: '#000000',
  },
}
SCSS
$custom: #dcd86c;
$custom-light: #e9e399;
$custom-dark: #000000;
JSON
{
  "hex": "#dcd86c",
  "rgb": {
    "r": 220,
    "g": 216,
    "b": 108
  },
  "hsl": {
    "h": 57.857,
    "s": 61.538,
    "l": 64.314
  },
  "oklch": {
    "l": 0.86358,
    "c": 0.13071,
    "h": 106.9
  },
  "luminance": 0.6541
}

Semantic roles & 50–950 ramp

primary
#DCD86C
secondary
#4347A9
accent
#22C91C
background
#FFFEFC
surface
#FEFCF5
border
#D6D5CF
text
#16150E
muted
#85847F

Preview Lab

Preview with #DCD86C

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

Preview Lab → · Contrast checker → · Palette generator →

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