#DCD57D#DCD57D

#DCD57D is a very light, moderate yellow. Relative luminance 0.643; OKLCH L 86.0% C 0.110 H 104.5°. Best body text is #000000 at 13.86:1 contrast (WCAG AA passes).

Color values

HEX#DCD57D
RGBrgb(220, 213, 125)
HSLhsl(56, 58%, 68%)
HSVhsv(56, 43%, 86%)
CMYKcmyk(0%, 3.2%, 43.2%, 13.7%)
CIE-LABlab(84.11, -9.85, 44.22)
CIE-LCHlch(84.11, 45.31, 102.56°)
OKLaboklab(85.96% -0.0276 0.1068)
OKLCHoklch(85.96% 0.11 104.5)
XYZxyz(57.0123, 64.2863, 28.8033)
Luminance0.6429 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCD57D #7D84DC
analogous
#DCA57D #DCD57D #B3DC7D
triadic
#DCD57D #7DDCD5 #D57DDC
tetradic
#DCD57D #7DDCA5 #7D84DC #DC7DB3
square
#DCD57D #7DDCA5 #7D84DC #DC7DB3
split-complementary
#DCD57D #7DB3DC #A57DDC
monochromatic
#AFA62F #CFC54D #DCD57D #E9E5AD #F6F4DD

Accessibility & contrast

On white

1.52
#DCD57D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.86
#DCD57D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCD57D
13.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCD57D#FFFFFF#000000##000000
##DCD57D1.001.5213.8613.86
#FFFFFF1.521.0021.0021.00
#00000013.8621.001.001.00
##00000013.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#E3CF76
Deuteranopia (green-blind)
#E6D481
Tritanopia (blue-blind)
#E8CAC0
Achromatopsia (no color)
#D2D2D2

Design tokens & code

CSS
--color: #dcd57d;
/* rgb */ color: rgb(220, 213, 125);
/* oklch */ color: oklch(86.0% 0.110 104.5);
Tailwind
colors: {
  custom: {
    50: '#e8e1a4',
    500: '#dcd57d',
    950: '#000000',
  },
}
SCSS
$custom: #dcd57d;
$custom-light: #e8e1a4;
$custom-dark: #000000;
JSON
{
  "hex": "#dcd57d",
  "rgb": {
    "r": 220,
    "g": 213,
    "b": 125
  },
  "hsl": {
    "h": 55.579,
    "s": 57.576,
    "l": 67.647
  },
  "oklch": {
    "l": 0.85963,
    "c": 0.11027,
    "h": 104.5
  },
  "luminance": 0.64285
}

Semantic roles & 50–950 ramp

primary
#DCD57D
secondary
#4C53B2
accent
#2CC520
background
#FEFEFC
surface
#FDFCF6
border
#D5D5D0
text
#16150F
muted
#848480

Preview Lab

Preview with #DCD57D

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

Preview Lab → · Contrast checker → · Palette generator →

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