#DCD47C#DCD47C

#DCD47C is a very light, moderate yellow. Relative luminance 0.638; OKLCH L 85.7% C 0.110 H 103.9°. Best body text is #000000 at 13.75:1 contrast (WCAG AA passes).

Color values

HEX#DCD47C
RGBrgb(220, 212, 124)
HSLhsl(55, 58%, 67%)
HSVhsv(55, 44%, 86%)
CMYKcmyk(0%, 3.6%, 43.6%, 13.7%)
CIE-LABlab(83.84, -9.45, 44.38)
CIE-LCHlch(83.84, 45.37, 102.02°)
OKLaboklab(85.74% -0.0265 0.107)
OKLCHoklch(85.74% 0.11 103.9)
XYZxyz(56.6980, 63.7594, 28.3850)
Luminance0.6376 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCD47C #7C84DC
analogous
#DCA47C #DCD47C #B4DC7C
triadic
#DCD47C #7CDCD4 #D47CDC
tetradic
#DCD47C #7CDCA4 #7C84DC #DC7CB4
square
#DCD47C #7CDCA4 #7C84DC #DC7CB4
split-complementary
#DCD47C #7CB4DC #A47CDC
monochromatic
#AFA42F #CFC44C #DCD47C #E9E4AC #F6F4DD

Accessibility & contrast

On white

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

On black

13.75
#DCD47C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCD47C
13.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCD47C#FFFFFF#000000##000000
##DCD47C1.001.5313.7513.75
#FFFFFF1.531.0021.0021.00
#00000013.7521.001.001.00
##00000013.7521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #dcd47c;
/* rgb */ color: rgb(220, 212, 124);
/* oklch */ color: oklch(85.7% 0.110 103.9);
Tailwind
colors: {
  custom: {
    50: '#e8e1a3',
    500: '#dcd47c',
    950: '#000000',
  },
}
SCSS
$custom: #dcd47c;
$custom-light: #e8e1a3;
$custom-dark: #000000;
JSON
{
  "hex": "#dcd47c",
  "rgb": {
    "r": 220,
    "g": 212,
    "b": 124
  },
  "hsl": {
    "h": 55,
    "s": 57.831,
    "l": 67.451
  },
  "oklch": {
    "l": 0.85741,
    "c": 0.11027,
    "h": 103.9
  },
  "luminance": 0.63758
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #DCD47C

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

Preview Lab → · Contrast checker → · Palette generator →

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