#DCD47D#DCD47D

#DCD47D is a very light, moderate yellow. Relative luminance 0.638; OKLCH L 85.8% C 0.109 H 103.8°. Best body text is #000000 at 13.76:1 contrast (WCAG AA passes).

Color values

HEX#DCD47D
RGBrgb(220, 212, 125)
HSLhsl(55, 58%, 68%)
HSVhsv(55, 43%, 86%)
CMYKcmyk(0%, 3.6%, 43.2%, 13.7%)
CIE-LABlab(83.85, -9.35, 43.90)
CIE-LCHlch(83.85, 44.88, 102.02°)
OKLaboklab(85.76% -0.0261 0.106)
OKLCHoklch(85.76% 0.109 103.8)
XYZxyz(56.7615, 63.7848, 28.7197)
Luminance0.6378 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCD47D #7D85DC
analogous
#DCA47D #DCD47D #B5DC7D
triadic
#DCD47D #7DDCD4 #D47DDC
tetradic
#DCD47D #7DDCA4 #7D85DC #DC7DB5
square
#DCD47D #7DDCA4 #7D85DC #DC7DB5
split-complementary
#DCD47D #7DB5DC #A47DDC
monochromatic
#AFA52F #CFC44D #DCD47D #E9E4AD #F6F4DD

Accessibility & contrast

On white

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

On black

13.76
#DCD47D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCD47D
13.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCD47D#FFFFFF#000000##000000
##DCD47D1.001.5313.7613.76
#FFFFFF1.531.0021.0021.00
#00000013.7621.001.001.00
##00000013.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#E2CE76
Deuteranopia (green-blind)
#E5D381
Tritanopia (blue-blind)
#E9C9BF
Achromatopsia (no color)
#D1D1D1

Design tokens & code

CSS
--color: #dcd47d;
/* rgb */ color: rgb(220, 212, 125);
/* oklch */ color: oklch(85.8% 0.109 103.8);
Tailwind
colors: {
  custom: {
    50: '#e8e1a4',
    500: '#dcd47d',
    950: '#000000',
  },
}
SCSS
$custom: #dcd47d;
$custom-light: #e8e1a4;
$custom-dark: #000000;
JSON
{
  "hex": "#dcd47d",
  "rgb": {
    "r": 220,
    "g": 212,
    "b": 125
  },
  "hsl": {
    "h": 54.947,
    "s": 57.576,
    "l": 67.647
  },
  "oklch": {
    "l": 0.85756,
    "c": 0.1092,
    "h": 103.8
  },
  "luminance": 0.63783
}

Semantic roles & 50–950 ramp

primary
#DCD47D
secondary
#4C54B2
accent
#2EC520
background
#FEFEFC
surface
#FDFCF6
border
#D5D5D0
text
#16150F
muted
#848480

Preview Lab

Preview with #DCD47D

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

Preview Lab → · Contrast checker → · Palette generator →

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