#DCD17E#DCD17E

#DCD17E is a very light, moderate yellow. Relative luminance 0.623; OKLCH L 85.2% C 0.105 H 101.7°. Best body text is #000000 at 13.46:1 contrast (WCAG AA passes).

Color values

HEX#DCD17E
RGBrgb(220, 209, 126)
HSLhsl(53, 57%, 68%)
HSVhsv(53, 43%, 86%)
CMYKcmyk(0%, 5%, 42.7%, 13.7%)
CIE-LABlab(83.09, -7.72, 42.44)
CIE-LCHlch(83.09, 43.14, 100.31°)
OKLaboklab(85.15% -0.0214 0.1028)
OKLCHoklch(85.15% 0.105 101.7)
XYZxyz(56.0828, 62.3246, 28.8102)
Luminance0.6232 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCD17E #7E89DC
analogous
#DCA27E #DCD17E #B8DC7E
triadic
#DCD17E #7EDCD1 #D17EDC
tetradic
#DCD17E #7EDCA2 #7E89DC #DC7EB8
square
#DCD17E #7EDCA2 #7E89DC #DC7EB8
split-complementary
#DCD17E #7EB8DC #A27EDC
monochromatic
#B0A130 #CFC04E #DCD17E #E9E2AE #F6F3DE

Accessibility & contrast

On white

1.56
#DCD17E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.46
#DCD17E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCD17E
13.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCD17E#FFFFFF#000000##000000
##DCD17E1.001.5613.4613.46
#FFFFFF1.561.0021.0021.00
#00000013.4621.001.001.00
##00000013.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#DFCC77
Deuteranopia (green-blind)
#E2D181
Tritanopia (blue-blind)
#E9C7BD
Achromatopsia (no color)
#CFCFCF

Design tokens & code

CSS
--color: #dcd17e;
/* rgb */ color: rgb(220, 209, 126);
/* oklch */ color: oklch(85.2% 0.105 101.7);
Tailwind
colors: {
  custom: {
    50: '#e8dea4',
    500: '#dcd17e',
    950: '#000000',
  },
}
SCSS
$custom: #dcd17e;
$custom-light: #e8dea4;
$custom-dark: #000000;
JSON
{
  "hex": "#dcd17e",
  "rgb": {
    "r": 220,
    "g": 209,
    "b": 126
  },
  "hsl": {
    "h": 52.979,
    "s": 57.317,
    "l": 67.843
  },
  "oklch": {
    "l": 0.85151,
    "c": 0.10501,
    "h": 101.7
  },
  "luminance": 0.62323
}

Semantic roles & 50–950 ramp

primary
#DCD17E
secondary
#4C58B2
accent
#34C521
background
#FEFEFC
surface
#FDFCF6
border
#D5D5D0
text
#16150F
muted
#848480

Preview Lab

Preview with #DCD17E

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

Preview Lab → · Contrast checker → · Palette generator →

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