#DCD56E#DCD56E

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

Color values

HEX#DCD56E
RGBrgb(220, 213, 110)
HSLhsl(56, 61%, 65%)
HSVhsv(56, 50%, 86%)
CMYKcmyk(0%, 3.2%, 50%, 13.7%)
CIE-LABlab(83.93, -11.25, 51.26)
CIE-LCHlch(83.93, 52.48, 102.38°)
OKLaboklab(85.76% -0.0331 0.1212)
OKLCHoklch(85.76% 0.126 105.3)
XYZxyz(56.1254, 63.9316, 24.1324)
Luminance0.6393 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCD56E #6E75DC
analogous
#DC9E6E #DCD56E #ACDC6E
triadic
#DCD56E #6EDCD5 #D56EDC
tetradic
#DCD56E #6EDC9E #6E75DC #DC6EAC
square
#DCD56E #6EDC9E #6E75DC #DC6EAC
split-complementary
#DCD56E #6EACDC #9E6EDC
monochromatic
#A79F28 #D0C73D #DCD56E #E8E39F #F4F2D1

Accessibility & contrast

On white

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

On black

13.79
#DCD56E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCD56E
13.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCD56E#FFFFFF#000000##000000
##DCD56E1.001.5213.7913.79
#FFFFFF1.521.0021.0021.00
#00000013.7921.001.001.00
##00000013.7921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #dcd56e;
/* rgb */ color: rgb(220, 213, 110);
/* oklch */ color: oklch(85.8% 0.126 105.3);
Tailwind
colors: {
  custom: {
    50: '#e9e19a',
    500: '#dcd56e',
    950: '#000000',
  },
}
SCSS
$custom: #dcd56e;
$custom-light: #e9e19a;
$custom-dark: #000000;
JSON
{
  "hex": "#dcd56e",
  "rgb": {
    "r": 220,
    "g": 213,
    "b": 110
  },
  "hsl": {
    "h": 56.182,
    "s": 61.111,
    "l": 64.706
  },
  "oklch": {
    "l": 0.85756,
    "c": 0.12564,
    "h": 105.3
  },
  "luminance": 0.6393
}

Semantic roles & 50–950 ramp

primary
#DCD56E
secondary
#444BAA
accent
#28C91D
background
#FFFEFC
surface
#FEFCF5
border
#D6D5CF
text
#16150E
muted
#85847F

Preview Lab

Preview with #DCD56E

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

Preview Lab → · Contrast checker → · Palette generator →

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