#DCD47B#DCD47B

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

Color values

HEX#DCD47B
RGBrgb(220, 212, 123)
HSLhsl(55, 58%, 67%)
HSVhsv(55, 44%, 86%)
CMYKcmyk(0%, 3.6%, 44.1%, 13.7%)
CIE-LABlab(83.83, -9.54, 44.85)
CIE-LCHlch(83.83, 45.86, 102.01°)
OKLaboklab(85.73% -0.0269 0.108)
OKLCHoklch(85.73% 0.111 104)
XYZxyz(56.6351, 63.7342, 28.0536)
Luminance0.6373 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCD47B #7B83DC
analogous
#DCA47B #DCD47B #B3DC7B
triadic
#DCD47B #7BDCD4 #D47BDC
tetradic
#DCD47B #7BDCA4 #7B83DC #DC7BB3
square
#DCD47B #7BDCA4 #7B83DC #DC7BB3
split-complementary
#DCD47B #7BB3DC #A47BDC
monochromatic
#AEA42E #CFC44B #DCD47B #E9E4AB #F6F4DC

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##DCD47B#FFFFFF#000000##000000
##DCD47B1.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)
#E2CE74
Deuteranopia (green-blind)
#E5D37F
Tritanopia (blue-blind)
#E9C9BF
Achromatopsia (no color)
#D1D1D1

Design tokens & code

CSS
--color: #dcd47b;
/* rgb */ color: rgb(220, 212, 123);
/* oklch */ color: oklch(85.7% 0.111 104.0);
Tailwind
colors: {
  custom: {
    50: '#e8e1a3',
    500: '#dcd47b',
    950: '#000000',
  },
}
SCSS
$custom: #dcd47b;
$custom-light: #e8e1a3;
$custom-dark: #000000;
JSON
{
  "hex": "#dcd47b",
  "rgb": {
    "r": 220,
    "g": 212,
    "b": 123
  },
  "hsl": {
    "h": 55.052,
    "s": 58.084,
    "l": 67.255
  },
  "oklch": {
    "l": 0.85726,
    "c": 0.11134,
    "h": 104
  },
  "luminance": 0.63733
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #DCD47B

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

Preview Lab → · Contrast checker → · Palette generator →

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