#DCD875#DCD875

#DCD875 is a very light, vivid yellow. Relative luminance 0.656; OKLCH L 86.5% C 0.122 H 106.6°. Best body text is #000000 at 14.12:1 contrast (WCAG AA passes).

Color values

HEX#DCD875
RGBrgb(220, 216, 117)
HSLhsl(58, 60%, 66%)
HSVhsv(58, 47%, 86%)
CMYKcmyk(0%, 1.8%, 46.8%, 13.7%)
CIE-LABlab(84.80, -12.13, 48.96)
CIE-LCHlch(84.80, 50.44, 103.92°)
OKLaboklab(86.47% -0.0349 0.1168)
OKLCHoklch(86.47% 0.122 106.6)
XYZxyz(57.2832, 65.6132, 26.4733)
Luminance0.6561 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCD875 #7579DC
analogous
#DCA475 #DCD875 #ACDC75
triadic
#DCD875 #75DCD8 #D875DC
tetradic
#DCD875 #75DCA4 #7579DC #DC75AC
square
#DCD875 #75DCA4 #7579DC #DC75AC
split-complementary
#DCD875 #75ACDC #A475DC
monochromatic
#ABA62B #D0CA44 #DCD875 #E8E6A6 #F5F4D7

Accessibility & contrast

On white

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

On black

14.12
#DCD875 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCD875
14.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCD875#FFFFFF#000000##000000
##DCD8751.001.4914.1214.12
#FFFFFF1.491.0021.0021.00
#00000014.1221.001.001.00
##00000014.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#E7D16C
Deuteranopia (green-blind)
#E9D67A
Tritanopia (blue-blind)
#E9CDC1
Achromatopsia (no color)
#D4D4D4

Design tokens & code

CSS
--color: #dcd875;
/* rgb */ color: rgb(220, 216, 117);
/* oklch */ color: oklch(86.5% 0.122 106.6);
Tailwind
colors: {
  custom: {
    50: '#e9e39f',
    500: '#dcd875',
    950: '#000000',
  },
}
SCSS
$custom: #dcd875;
$custom-light: #e9e39f;
$custom-dark: #000000;
JSON
{
  "hex": "#dcd875",
  "rgb": {
    "r": 220,
    "g": 216,
    "b": 117
  },
  "hsl": {
    "h": 57.67,
    "s": 59.538,
    "l": 66.078
  },
  "oklch": {
    "l": 0.86473,
    "c": 0.12185,
    "h": 106.6
  },
  "luminance": 0.65612
}

Semantic roles & 50–950 ramp

primary
#DCD875
secondary
#484BAE
accent
#25C71E
background
#FFFEFC
surface
#FEFCF5
border
#D6D5CF
text
#16150F
muted
#858480

Preview Lab

Preview with #DCD875

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

Preview Lab → · Contrast checker → · Palette generator →

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