#DCD86B#DCD86B

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

Color values

HEX#DCD86B
RGBrgb(220, 216, 107)
HSLhsl(58, 62%, 64%)
HSVhsv(58, 51%, 86%)
CMYKcmyk(0%, 1.8%, 51.4%, 13.7%)
CIE-LABlab(84.68, -13.01, 53.56)
CIE-LCHlch(84.68, 55.12, 103.66°)
OKLaboklab(86.35% -0.0384 0.1259)
OKLCHoklch(86.35% 0.132 107)
XYZxyz(56.7264, 65.3905, 23.5405)
Luminance0.6539 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCD86B #6B6FDC
analogous
#DCA06B #DCD86B #A8DC6B
triadic
#DCD86B #6BDCD8 #D86BDC
tetradic
#DCD86B #6BDCA0 #6B6FDC #DC6BA8
square
#DCD86B #6BDCA0 #6B6FDC #DC6BA8
split-complementary
#DCD86B #6BA8DC #A06BDC
monochromatic
#A5A127 #D0CB3A #DCD86B #E8E59C #F3F2CE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##DCD86B#FFFFFF#000000##000000
##DCD86B1.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)
#E7D161
Deuteranopia (green-blind)
#EAD670
Tritanopia (blue-blind)
#EACCBF
Achromatopsia (no color)
#D3D3D3

Design tokens & code

CSS
--color: #dcd86b;
/* rgb */ color: rgb(220, 216, 107);
/* oklch */ color: oklch(86.3% 0.132 107.0);
Tailwind
colors: {
  custom: {
    50: '#e9e398',
    500: '#dcd86b',
    950: '#000000',
  },
}
SCSS
$custom: #dcd86b;
$custom-light: #e9e398;
$custom-dark: #000000;
JSON
{
  "hex": "#dcd86b",
  "rgb": {
    "r": 220,
    "g": 216,
    "b": 107
  },
  "hsl": {
    "h": 57.876,
    "s": 61.749,
    "l": 64.118
  },
  "oklch": {
    "l": 0.86346,
    "c": 0.13166,
    "h": 107
  },
  "luminance": 0.65389
}

Semantic roles & 50–950 ramp

primary
#DCD86B
secondary
#4346A8
accent
#22C91C
background
#FFFEFC
surface
#FEFCF5
border
#D6D5CF
text
#16150E
muted
#85847F

Preview Lab

Preview with #DCD86B

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

Preview Lab → · Contrast checker → · Palette generator →

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