#DCD57E#DCD57E

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

Color values

HEX#DCD57E
RGBrgb(220, 213, 126)
HSLhsl(56, 57%, 68%)
HSVhsv(56, 43%, 86%)
CMYKcmyk(0%, 3.2%, 42.7%, 13.7%)
CIE-LABlab(84.13, -9.75, 43.75)
CIE-LCHlch(84.13, 44.82, 102.57°)
OKLaboklab(85.98% -0.0272 0.1058)
OKLCHoklch(85.98% 0.109 104.4)
XYZxyz(57.0765, 64.3120, 29.1414)
Luminance0.6431 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCD57E #7E85DC
analogous
#DCA67E #DCD57E #B4DC7E
triadic
#DCD57E #7EDCD5 #D57EDC
tetradic
#DCD57E #7EDCA6 #7E85DC #DC7EB4
square
#DCD57E #7EDCA6 #7E85DC #DC7EB4
split-complementary
#DCD57E #7EB4DC #A67EDC
monochromatic
#B0A630 #CFC54E #DCD57E #E9E5AE #F6F4DE

Accessibility & contrast

On white

1.51
#DCD57E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##DCD57E#FFFFFF#000000##000000
##DCD57E1.001.5113.8613.86
#FFFFFF1.511.0021.0021.00
#00000013.8621.001.001.00
##00000013.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#E3CF77
Deuteranopia (green-blind)
#E6D482
Tritanopia (blue-blind)
#E8CBC0
Achromatopsia (no color)
#D2D2D2

Design tokens & code

CSS
--color: #dcd57e;
/* rgb */ color: rgb(220, 213, 126);
/* oklch */ color: oklch(86.0% 0.109 104.4);
Tailwind
colors: {
  custom: {
    50: '#e8e1a5',
    500: '#dcd57e',
    950: '#000000',
  },
}
SCSS
$custom: #dcd57e;
$custom-light: #e8e1a5;
$custom-dark: #000000;
JSON
{
  "hex": "#dcd57e",
  "rgb": {
    "r": 220,
    "g": 213,
    "b": 126
  },
  "hsl": {
    "h": 55.532,
    "s": 57.317,
    "l": 67.843
  },
  "oklch": {
    "l": 0.85978,
    "c": 0.10919,
    "h": 104.4
  },
  "luminance": 0.64311
}

Semantic roles & 50–950 ramp

primary
#DCD57E
secondary
#4C54B2
accent
#2DC521
background
#FEFEFC
surface
#FDFCF6
border
#D5D5D0
text
#16150F
muted
#848480

Preview Lab

Preview with #DCD57E

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

Preview Lab → · Contrast checker → · Palette generator →

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