#DCD975#DCD975

#DCD975 is a very light, vivid yellow. Relative luminance 0.661; OKLCH L 86.7% C 0.123 H 107.2°. Best body text is #000000 at 14.23:1 contrast (WCAG AA passes).

Color values

HEX#DCD975
RGBrgb(220, 217, 117)
HSLhsl(58, 60%, 66%)
HSVhsv(58, 47%, 86%)
CMYKcmyk(0%, 1.4%, 46.8%, 13.7%)
CIE-LABlab(85.06, -12.63, 49.28)
CIE-LCHlch(85.06, 50.87, 104.38°)
OKLaboklab(86.68% -0.0363 0.1175)
OKLCHoklch(86.68% 0.123 107.2)
XYZxyz(57.5402, 66.1272, 26.5589)
Luminance0.6613 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCD975 #7578DC
analogous
#DCA575 #DCD975 #ABDC75
triadic
#DCD975 #75DCD9 #D975DC
tetradic
#DCD975 #75DCA5 #7578DC #DC75AB
square
#DCD975 #75DCA5 #7578DC #DC75AB
split-complementary
#DCD975 #75ABDC #A575DC
monochromatic
#ABA72B #D0CC44 #DCD975 #E8E6A6 #F5F4D7

Accessibility & contrast

On white

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

On black

14.23
#DCD975 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCD975
14.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCD975#FFFFFF#000000##000000
##DCD9751.001.4814.2314.23
#FFFFFF1.481.0021.0021.00
#00000014.2321.001.001.00
##00000014.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#E7D26C
Deuteranopia (green-blind)
#EAD67A
Tritanopia (blue-blind)
#E9CEC2
Achromatopsia (no color)
#D4D4D4

Design tokens & code

CSS
--color: #dcd975;
/* rgb */ color: rgb(220, 217, 117);
/* oklch */ color: oklch(86.7% 0.123 107.2);
Tailwind
colors: {
  custom: {
    50: '#e9e49f',
    500: '#dcd975',
    950: '#000000',
  },
}
SCSS
$custom: #dcd975;
$custom-light: #e9e49f;
$custom-dark: #000000;
JSON
{
  "hex": "#dcd975",
  "rgb": {
    "r": 220,
    "g": 217,
    "b": 117
  },
  "hsl": {
    "h": 58.252,
    "s": 59.538,
    "l": 66.078
  },
  "oklch": {
    "l": 0.86682,
    "c": 0.12293,
    "h": 107.2
  },
  "luminance": 0.66126
}

Semantic roles & 50–950 ramp

primary
#DCD975
secondary
#484AAE
accent
#23C71E
background
#FFFEFC
surface
#FEFCF5
border
#D6D5CF
text
#16150F
muted
#858480

Preview Lab

Preview with #DCD975

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

Preview Lab → · Contrast checker → · Palette generator →

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