#DCD374#DCD374

#DCD374 is a very light, moderate yellow. Relative luminance 0.631; OKLCH L 85.4% C 0.118 H 103.8°. Best body text is #000000 at 13.61:1 contrast (WCAG AA passes).

Color values

HEX#DCD374
RGBrgb(220, 211, 116)
HSLhsl(55, 60%, 66%)
HSVhsv(55, 47%, 86%)
CMYKcmyk(0%, 4.1%, 47.3%, 13.7%)
CIE-LABlab(83.48, -9.71, 47.84)
CIE-LCHlch(83.48, 48.82, 101.47°)
OKLaboklab(85.42% -0.028 0.1142)
OKLCHoklch(85.42% 0.118 103.8)
XYZxyz(55.9632, 63.0668, 25.7448)
Luminance0.6307 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCD374 #747DDC
analogous
#DC9F74 #DCD374 #B1DC74
triadic
#DCD374 #74DCD3 #D374DC
tetradic
#DCD374 #74DC9F #747DDC #DC74B1
square
#DCD374 #74DC9F #747DDC #DC74B1
split-complementary
#DCD374 #74B1DC #9F74DC
monochromatic
#ABA02B #D0C443 #DCD374 #E8E2A5 #F5F2D6

Accessibility & contrast

On white

1.54
#DCD374 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.61
#DCD374 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCD374
13.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCD374#FFFFFF#000000##000000
##DCD3741.001.5413.6113.61
#FFFFFF1.541.0021.0021.00
#00000013.6121.001.001.00
##00000013.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#E2CD6C
Deuteranopia (green-blind)
#E5D278
Tritanopia (blue-blind)
#E9C8BD
Achromatopsia (no color)
#D0D0D0

Design tokens & code

CSS
--color: #dcd374;
/* rgb */ color: rgb(220, 211, 116);
/* oklch */ color: oklch(85.4% 0.118 103.8);
Tailwind
colors: {
  custom: {
    50: '#e9e09e',
    500: '#dcd374',
    950: '#000000',
  },
}
SCSS
$custom: #dcd374;
$custom-light: #e9e09e;
$custom-dark: #000000;
JSON
{
  "hex": "#dcd374",
  "rgb": {
    "r": 220,
    "g": 211,
    "b": 116
  },
  "hsl": {
    "h": 54.808,
    "s": 59.77,
    "l": 65.882
  },
  "oklch": {
    "l": 0.8542,
    "c": 0.11758,
    "h": 103.8
  },
  "luminance": 0.63065
}

Semantic roles & 50–950 ramp

primary
#DCD374
secondary
#4750AD
accent
#2DC71E
background
#FFFEFC
surface
#FEFCF5
border
#D6D5CF
text
#16150E
muted
#85847F

Preview Lab

Preview with #DCD374

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

Preview Lab → · Contrast checker → · Palette generator →

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