#DCD47A#DCD47A

#DCD47A is a very light, moderate yellow. Relative luminance 0.637; OKLCH L 85.7% C 0.112 H 104.0°. Best body text is #000000 at 13.74:1 contrast (WCAG AA passes).

Color values

HEX#DCD47A
RGBrgb(220, 212, 122)
HSLhsl(55, 58%, 67%)
HSVhsv(55, 45%, 86%)
CMYKcmyk(0%, 3.6%, 44.5%, 13.7%)
CIE-LABlab(83.81, -9.64, 45.33)
CIE-LCHlch(83.81, 46.34, 102.01°)
OKLaboklab(85.71% -0.0273 0.109)
OKLCHoklch(85.71% 0.112 104)
XYZxyz(56.5728, 63.7093, 27.7256)
Luminance0.6371 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCD47A #7A82DC
analogous
#DCA37A #DCD47A #B3DC7A
triadic
#DCD47A #7ADCD4 #D47ADC
tetradic
#DCD47A #7ADCA3 #7A82DC #DC7AB3
square
#DCD47A #7ADCA3 #7A82DC #DC7AB3
split-complementary
#DCD47A #7AB3DC #A37ADC
monochromatic
#AEA32E #CFC44A #DCD47A #E9E4AA #F6F3DB

Accessibility & contrast

On white

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

On black

13.74
#DCD47A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCD47A
13.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCD47A#FFFFFF#000000##000000
##DCD47A1.001.5313.7413.74
#FFFFFF1.531.0021.0021.00
#00000013.7421.001.001.00
##00000013.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#E2CE73
Deuteranopia (green-blind)
#E5D37E
Tritanopia (blue-blind)
#E9C9BE
Achromatopsia (no color)
#D1D1D1

Design tokens & code

CSS
--color: #dcd47a;
/* rgb */ color: rgb(220, 212, 122);
/* oklch */ color: oklch(85.7% 0.112 104.0);
Tailwind
colors: {
  custom: {
    50: '#e8e1a2',
    500: '#dcd47a',
    950: '#000000',
  },
}
SCSS
$custom: #dcd47a;
$custom-light: #e8e1a2;
$custom-dark: #000000;
JSON
{
  "hex": "#dcd47a",
  "rgb": {
    "r": 220,
    "g": 212,
    "b": 122
  },
  "hsl": {
    "h": 55.102,
    "s": 58.333,
    "l": 67.059
  },
  "oklch": {
    "l": 0.85711,
    "c": 0.1124,
    "h": 104
  },
  "luminance": 0.63708
}

Semantic roles & 50–950 ramp

primary
#DCD47A
secondary
#4A52B0
accent
#2DC620
background
#FEFEFC
surface
#FDFCF5
border
#D5D5CF
text
#16150F
muted
#848480

Preview Lab

Preview with #DCD47A

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

Preview Lab → · Contrast checker → · Palette generator →

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