#DCD56D#DCD56D

#DCD56D is a very light, vivid yellow. Relative luminance 0.639; OKLCH L 85.7% C 0.127 H 105.3°. Best body text is #000000 at 13.78:1 contrast (WCAG AA passes).

Color values

HEX#DCD56D
RGBrgb(220, 213, 109)
HSLhsl(56, 61%, 65%)
HSVhsv(56, 50%, 86%)
CMYKcmyk(0%, 3.2%, 50.5%, 13.7%)
CIE-LABlab(83.92, -11.34, 51.72)
CIE-LCHlch(83.92, 52.95, 102.37°)
OKLaboklab(85.74% -0.0334 0.1221)
OKLCHoklch(85.74% 0.127 105.3)
XYZxyz(56.0713, 63.9099, 23.8472)
Luminance0.6391 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCD56D #6D74DC
analogous
#DC9E6D #DCD56D #ACDC6D
triadic
#DCD56D #6DDCD5 #D56DDC
tetradic
#DCD56D #6DDC9E #6D74DC #DC6DAC
square
#DCD56D #6DDC9E #6D74DC #DC6DAC
split-complementary
#DCD56D #6DACDC #9E6DDC
monochromatic
#A79F28 #D0C73C #DCD56D #E8E39E #F4F1D0

Accessibility & contrast

On white

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

On black

13.78
#DCD56D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCD56D
13.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCD56D#FFFFFF#000000##000000
##DCD56D1.001.5213.7813.78
#FFFFFF1.521.0021.0021.00
#00000013.7821.001.001.00
##00000013.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#E4CE63
Deuteranopia (green-blind)
#E7D472
Tritanopia (blue-blind)
#EAC9BD
Achromatopsia (no color)
#D1D1D1

Design tokens & code

CSS
--color: #dcd56d;
/* rgb */ color: rgb(220, 213, 109);
/* oklch */ color: oklch(85.7% 0.127 105.3);
Tailwind
colors: {
  custom: {
    50: '#e9e199',
    500: '#dcd56d',
    950: '#000000',
  },
}
SCSS
$custom: #dcd56d;
$custom-light: #e9e199;
$custom-dark: #000000;
JSON
{
  "hex": "#dcd56d",
  "rgb": {
    "r": 220,
    "g": 213,
    "b": 109
  },
  "hsl": {
    "h": 56.216,
    "s": 61.326,
    "l": 64.51
  },
  "oklch": {
    "l": 0.85744,
    "c": 0.12661,
    "h": 105.3
  },
  "luminance": 0.63908
}

Semantic roles & 50–950 ramp

primary
#DCD56D
secondary
#444AAA
accent
#27C91C
background
#FFFEFC
surface
#FEFCF5
border
#D6D5CF
text
#16150E
muted
#85847F

Preview Lab

Preview with #DCD56D

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

Preview Lab → · Contrast checker → · Palette generator →

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