#DCD87E#DCD87E

#DCD87E is a very light, moderate yellow. Relative luminance 0.658; OKLCH L 86.6% C 0.112 H 106.3°. Best body text is #000000 at 14.17:1 contrast (WCAG AA passes).

Color values

HEX#DCD87E
RGBrgb(220, 216, 126)
HSLhsl(57, 57%, 68%)
HSVhsv(57, 43%, 86%)
CMYKcmyk(0%, 1.8%, 42.7%, 13.7%)
CIE-LABlab(84.91, -11.26, 44.73)
CIE-LCHlch(84.91, 46.12, 104.14°)
OKLaboklab(86.6% -0.0315 0.108)
OKLCHoklch(86.6% 0.112 106.3)
XYZxyz(57.8381, 65.8351, 29.3953)
Luminance0.6583 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCD87E #7E82DC
analogous
#DCA97E #DCD87E #B1DC7E
triadic
#DCD87E #7EDCD8 #D87EDC
tetradic
#DCD87E #7EDCA9 #7E82DC #DC7EB1
square
#DCD87E #7EDCA9 #7E82DC #DC7EB1
split-complementary
#DCD87E #7EB1DC #A97EDC
monochromatic
#B0AA30 #CFC94E #DCD87E #E9E7AE #F6F5DE

Accessibility & contrast

On white

1.48
#DCD87E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.17
#DCD87E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCD87E
14.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCD87E#FFFFFF#000000##000000
##DCD87E1.001.4814.1714.17
#FFFFFF1.481.0021.0021.00
#00000014.1721.001.001.00
##00000014.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#E6D277
Deuteranopia (green-blind)
#E8D682
Tritanopia (blue-blind)
#E8CEC2
Achromatopsia (no color)
#D4D4D4

Design tokens & code

CSS
--color: #dcd87e;
/* rgb */ color: rgb(220, 216, 126);
/* oklch */ color: oklch(86.6% 0.112 106.3);
Tailwind
colors: {
  custom: {
    50: '#e8e3a5',
    500: '#dcd87e',
    950: '#000000',
  },
}
SCSS
$custom: #dcd87e;
$custom-light: #e8e3a5;
$custom-dark: #000000;
JSON
{
  "hex": "#dcd87e",
  "rgb": {
    "r": 220,
    "g": 216,
    "b": 126
  },
  "hsl": {
    "h": 57.447,
    "s": 57.317,
    "l": 67.843
  },
  "oklch": {
    "l": 0.866,
    "c": 0.11247,
    "h": 106.3
  },
  "luminance": 0.65834
}

Semantic roles & 50–950 ramp

primary
#DCD87E
secondary
#4C50B2
accent
#28C521
background
#FEFEFC
surface
#FDFCF6
border
#D5D5D0
text
#16150F
muted
#848480

Preview Lab

Preview with #DCD87E

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

Preview Lab → · Contrast checker → · Palette generator →

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