#DCD474#DCD474

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

Color values

HEX#DCD474
RGBrgb(220, 212, 116)
HSLhsl(55, 60%, 66%)
HSVhsv(55, 47%, 86%)
CMYKcmyk(0%, 3.6%, 47.3%, 13.7%)
CIE-LABlab(83.74, -10.21, 48.16)
CIE-LCHlch(83.74, 49.23, 101.97°)
OKLaboklab(85.63% -0.0295 0.1149)
OKLCHoklch(85.63% 0.119 104.4)
XYZxyz(56.2124, 63.5652, 25.8278)
Luminance0.6356 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCD474 #747CDC
analogous
#DCA074 #DCD474 #B0DC74
triadic
#DCD474 #74DCD4 #D474DC
tetradic
#DCD474 #74DCA0 #747CDC #DC74B0
square
#DCD474 #74DCA0 #747CDC #DC74B0
split-complementary
#DCD474 #74B0DC #A074DC
monochromatic
#ABA12B #D0C543 #DCD474 #E8E3A5 #F5F2D6

Accessibility & contrast

On white

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

On black

13.71
#DCD474 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCD474
13.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCD474#FFFFFF#000000##000000
##DCD4741.001.5313.7113.71
#FFFFFF1.531.0021.0021.00
#00000013.7121.001.001.00
##00000013.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#E3CE6C
Deuteranopia (green-blind)
#E6D378
Tritanopia (blue-blind)
#E9C9BD
Achromatopsia (no color)
#D1D1D1

Design tokens & code

CSS
--color: #dcd474;
/* rgb */ color: rgb(220, 212, 116);
/* oklch */ color: oklch(85.6% 0.119 104.4);
Tailwind
colors: {
  custom: {
    50: '#e9e19e',
    500: '#dcd474',
    950: '#000000',
  },
}
SCSS
$custom: #dcd474;
$custom-light: #e9e19e;
$custom-dark: #000000;
JSON
{
  "hex": "#dcd474",
  "rgb": {
    "r": 220,
    "g": 212,
    "b": 116
  },
  "hsl": {
    "h": 55.385,
    "s": 59.77,
    "l": 65.882
  },
  "oklch": {
    "l": 0.85627,
    "c": 0.11862,
    "h": 104.4
  },
  "luminance": 0.63564
}

Semantic roles & 50–950 ramp

primary
#DCD474
secondary
#474FAD
accent
#2BC71E
background
#FFFEFC
surface
#FEFCF5
border
#D6D5CF
text
#16150E
muted
#85847F

Preview Lab

Preview with #DCD474

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

Preview Lab → · Contrast checker → · Palette generator →

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