#DCD874#DCD874

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

Color values

HEX#DCD874
RGBrgb(220, 216, 116)
HSLhsl(58, 60%, 66%)
HSVhsv(58, 47%, 86%)
CMYKcmyk(0%, 1.8%, 47.3%, 13.7%)
CIE-LABlab(84.79, -12.23, 49.43)
CIE-LCHlch(84.79, 50.92, 103.89°)
OKLaboklab(86.46% -0.0352 0.1177)
OKLCHoklch(86.46% 0.123 106.7)
XYZxyz(57.2248, 65.5898, 26.1653)
Luminance0.6559 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCD874 #7478DC
analogous
#DCA474 #DCD874 #ACDC74
triadic
#DCD874 #74DCD8 #D874DC
tetradic
#DCD874 #74DCA4 #7478DC #DC74AC
square
#DCD874 #74DCA4 #7478DC #DC74AC
split-complementary
#DCD874 #74ACDC #A474DC
monochromatic
#ABA62B #D0CA43 #DCD874 #E8E6A5 #F5F3D6

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##DCD874#FFFFFF#000000##000000
##DCD8741.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)
#E7D16B
Deuteranopia (green-blind)
#E9D679
Tritanopia (blue-blind)
#E9CDC1
Achromatopsia (no color)
#D4D4D4

Design tokens & code

CSS
--color: #dcd874;
/* rgb */ color: rgb(220, 216, 116);
/* oklch */ color: oklch(86.5% 0.123 106.7);
Tailwind
colors: {
  custom: {
    50: '#e9e39e',
    500: '#dcd874',
    950: '#000000',
  },
}
SCSS
$custom: #dcd874;
$custom-light: #e9e39e;
$custom-dark: #000000;
JSON
{
  "hex": "#dcd874",
  "rgb": {
    "r": 220,
    "g": 216,
    "b": 116
  },
  "hsl": {
    "h": 57.692,
    "s": 59.77,
    "l": 65.882
  },
  "oklch": {
    "l": 0.8646,
    "c": 0.12286,
    "h": 106.7
  },
  "luminance": 0.65588
}

Semantic roles & 50–950 ramp

primary
#DCD874
secondary
#474BAD
accent
#25C71E
background
#FFFEFC
surface
#FEFCF5
border
#D6D5CF
text
#16150E
muted
#85847F

Preview Lab

Preview with #DCD874

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

Preview Lab → · Contrast checker → · Palette generator →

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