#DCD57A#DCD57A

#DCD57A is a very light, moderate yellow. Relative luminance 0.642; OKLCH L 85.9% C 0.113 H 104.7°. Best body text is #000000 at 13.84:1 contrast (WCAG AA passes).

Color values

HEX#DCD57A
RGBrgb(220, 213, 122)
HSLhsl(56, 58%, 67%)
HSVhsv(56, 45%, 86%)
CMYKcmyk(0%, 3.2%, 44.5%, 13.7%)
CIE-LABlab(84.08, -10.15, 45.65)
CIE-LCHlch(84.08, 46.76, 102.53°)
OKLaboklab(85.92% -0.0287 0.1098)
OKLCHoklch(85.92% 0.113 104.7)
XYZxyz(56.8235, 64.2108, 27.8092)
Luminance0.6421 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCD57A #7A81DC
analogous
#DCA47A #DCD57A #B2DC7A
triadic
#DCD57A #7ADCD5 #D57ADC
tetradic
#DCD57A #7ADCA4 #7A81DC #DC7AB2
square
#DCD57A #7ADCA4 #7A81DC #DC7AB2
split-complementary
#DCD57A #7AB2DC #A47ADC
monochromatic
#AEA52E #CFC64A #DCD57A #E9E4AA #F6F4DB

Accessibility & contrast

On white

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

On black

13.84
#DCD57A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCD57A
13.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCD57A#FFFFFF#000000##000000
##DCD57A1.001.5213.8413.84
#FFFFFF1.521.0021.0021.00
#00000013.8421.001.001.00
##00000013.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#E3CF73
Deuteranopia (green-blind)
#E6D47E
Tritanopia (blue-blind)
#E9CABF
Achromatopsia (no color)
#D2D2D2

Design tokens & code

CSS
--color: #dcd57a;
/* rgb */ color: rgb(220, 213, 122);
/* oklch */ color: oklch(85.9% 0.113 104.7);
Tailwind
colors: {
  custom: {
    50: '#e8e1a2',
    500: '#dcd57a',
    950: '#000000',
  },
}
SCSS
$custom: #dcd57a;
$custom-light: #e8e1a2;
$custom-dark: #000000;
JSON
{
  "hex": "#dcd57a",
  "rgb": {
    "r": 220,
    "g": 213,
    "b": 122
  },
  "hsl": {
    "h": 55.714,
    "s": 58.333,
    "l": 67.059
  },
  "oklch": {
    "l": 0.85919,
    "c": 0.11345,
    "h": 104.7
  },
  "luminance": 0.64209
}

Semantic roles & 50–950 ramp

primary
#DCD57A
secondary
#4A51B0
accent
#2BC620
background
#FEFEFC
surface
#FDFCF5
border
#D5D5CF
text
#16150F
muted
#848480

Preview Lab

Preview with #DCD57A

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

Preview Lab → · Contrast checker → · Palette generator →

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