#DCD475#DCD475

#DCD475 is a very light, moderate yellow. Relative luminance 0.636; OKLCH L 85.6% C 0.118 H 104.3°. Best body text is #000000 at 13.72:1 contrast (WCAG AA passes).

Color values

HEX#DCD475
RGBrgb(220, 212, 117)
HSLhsl(55, 60%, 66%)
HSVhsv(55, 47%, 86%)
CMYKcmyk(0%, 3.6%, 46.8%, 13.7%)
CIE-LABlab(83.75, -10.12, 47.69)
CIE-LCHlch(83.75, 48.75, 101.98°)
OKLaboklab(85.64% -0.0291 0.1139)
OKLCHoklch(85.64% 0.118 104.3)
XYZxyz(56.2709, 63.5886, 26.1358)
Luminance0.6359 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCD475 #757DDC
analogous
#DCA075 #DCD475 #B0DC75
triadic
#DCD475 #75DCD4 #D475DC
tetradic
#DCD475 #75DCA0 #757DDC #DC75B0
square
#DCD475 #75DCA0 #757DDC #DC75B0
split-complementary
#DCD475 #75B0DC #A075DC
monochromatic
#ABA12B #D0C544 #DCD475 #E8E3A6 #F5F2D7

Accessibility & contrast

On white

1.53
#DCD475 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.72
#DCD475 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCD475
13.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCD475#FFFFFF#000000##000000
##DCD4751.001.5313.7213.72
#FFFFFF1.531.0021.0021.00
#00000013.7221.001.001.00
##00000013.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#E3CE6D
Deuteranopia (green-blind)
#E6D379
Tritanopia (blue-blind)
#E9C9BE
Achromatopsia (no color)
#D1D1D1

Design tokens & code

CSS
--color: #dcd475;
/* rgb */ color: rgb(220, 212, 117);
/* oklch */ color: oklch(85.6% 0.118 104.3);
Tailwind
colors: {
  custom: {
    50: '#e9e19f',
    500: '#dcd475',
    950: '#000000',
  },
}
SCSS
$custom: #dcd475;
$custom-light: #e9e19f;
$custom-dark: #000000;
JSON
{
  "hex": "#dcd475",
  "rgb": {
    "r": 220,
    "g": 212,
    "b": 117
  },
  "hsl": {
    "h": 55.34,
    "s": 59.538,
    "l": 66.078
  },
  "oklch": {
    "l": 0.85641,
    "c": 0.1176,
    "h": 104.3
  },
  "luminance": 0.63587
}

Semantic roles & 50–950 ramp

primary
#DCD475
secondary
#484FAE
accent
#2BC71E
background
#FFFEFC
surface
#FEFCF5
border
#D6D5CF
text
#16150F
muted
#858480

Preview Lab

Preview with #DCD475

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

Preview Lab → · Contrast checker → · Palette generator →

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