#DCD87B#DCD87B

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

Color values

HEX#DCD87B
RGBrgb(220, 216, 123)
HSLhsl(58, 58%, 67%)
HSVhsv(58, 44%, 86%)
CMYKcmyk(0%, 1.8%, 44.1%, 13.7%)
CIE-LABlab(84.87, -11.56, 46.15)
CIE-LCHlch(84.87, 47.57, 104.07°)
OKLaboklab(86.56% -0.0327 0.1109)
OKLCHoklch(86.56% 0.116 106.4)
XYZxyz(57.6474, 65.7589, 28.3911)
Luminance0.6576 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCD87B #7B7FDC
analogous
#DCA87B #DCD87B #AFDC7B
triadic
#DCD87B #7BDCD8 #D87BDC
tetradic
#DCD87B #7BDCA8 #7B7FDC #DC7BAF
square
#DCD87B #7BDCA8 #7B7FDC #DC7BAF
split-complementary
#DCD87B #7BAFDC #A87BDC
monochromatic
#AEA92E #CFCA4B #DCD87B #E9E6AB #F6F5DC

Accessibility & contrast

On white

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

On black

14.15
#DCD87B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCD87B
14.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCD87B#FFFFFF#000000##000000
##DCD87B1.001.4814.1514.15
#FFFFFF1.481.0021.0021.00
#00000014.1521.001.001.00
##00000014.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#E6D273
Deuteranopia (green-blind)
#E8D67F
Tritanopia (blue-blind)
#E8CDC2
Achromatopsia (no color)
#D4D4D4

Design tokens & code

CSS
--color: #dcd87b;
/* rgb */ color: rgb(220, 216, 123);
/* oklch */ color: oklch(86.6% 0.116 106.4);
Tailwind
colors: {
  custom: {
    50: '#e8e3a3',
    500: '#dcd87b',
    950: '#000000',
  },
}
SCSS
$custom: #dcd87b;
$custom-light: #e8e3a3;
$custom-dark: #000000;
JSON
{
  "hex": "#dcd87b",
  "rgb": {
    "r": 220,
    "g": 216,
    "b": 123
  },
  "hsl": {
    "h": 57.526,
    "s": 58.084,
    "l": 67.255
  },
  "oklch": {
    "l": 0.86557,
    "c": 0.11564,
    "h": 106.4
  },
  "luminance": 0.65757
}

Semantic roles & 50–950 ramp

primary
#DCD87B
secondary
#4B4FB1
accent
#27C620
background
#FEFEFC
surface
#FDFCF5
border
#D5D5CF
text
#16150F
muted
#848480

Preview Lab

Preview with #DCD87B

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

Preview Lab → · Contrast checker → · Palette generator →

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