#DCD47E#DCD47E

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

Color values

HEX#DCD47E
RGBrgb(220, 212, 126)
HSLhsl(55, 57%, 68%)
HSVhsv(55, 43%, 86%)
CMYKcmyk(0%, 3.6%, 42.7%, 13.7%)
CIE-LABlab(83.87, -9.24, 43.42)
CIE-LCHlch(83.87, 44.39, 102.02°)
OKLaboklab(85.77% -0.0258 0.105)
OKLCHoklch(85.77% 0.108 103.8)
XYZxyz(56.8257, 63.8105, 29.0579)
Luminance0.6381 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCD47E #7E86DC
analogous
#DCA57E #DCD47E #B5DC7E
triadic
#DCD47E #7EDCD4 #D47EDC
tetradic
#DCD47E #7EDCA5 #7E86DC #DC7EB5
square
#DCD47E #7EDCA5 #7E86DC #DC7EB5
split-complementary
#DCD47E #7EB5DC #A57EDC
monochromatic
#B0A530 #CFC44E #DCD47E #E9E4AE #F6F4DE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##DCD47E#FFFFFF#000000##000000
##DCD47E1.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)
#E2CE77
Deuteranopia (green-blind)
#E5D382
Tritanopia (blue-blind)
#E8CABF
Achromatopsia (no color)
#D1D1D1

Design tokens & code

CSS
--color: #dcd47e;
/* rgb */ color: rgb(220, 212, 126);
/* oklch */ color: oklch(85.8% 0.108 103.8);
Tailwind
colors: {
  custom: {
    50: '#e8e1a5',
    500: '#dcd47e',
    950: '#000000',
  },
}
SCSS
$custom: #dcd47e;
$custom-light: #e8e1a5;
$custom-dark: #000000;
JSON
{
  "hex": "#dcd47e",
  "rgb": {
    "r": 220,
    "g": 212,
    "b": 126
  },
  "hsl": {
    "h": 54.894,
    "s": 57.317,
    "l": 67.843
  },
  "oklch": {
    "l": 0.85771,
    "c": 0.10812,
    "h": 103.8
  },
  "luminance": 0.63809
}

Semantic roles & 50–950 ramp

primary
#DCD47E
secondary
#4C55B2
accent
#2FC521
background
#FEFEFC
surface
#FDFCF6
border
#D5D5D0
text
#16150F
muted
#848480

Preview Lab

Preview with #DCD47E

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

Preview Lab → · Contrast checker → · Palette generator →

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