#DCD56A#DCD56A

#DCD56A is a very light, vivid yellow. Relative luminance 0.638; OKLCH L 85.7% C 0.129 H 105.4°. Best body text is #000000 at 13.77:1 contrast (WCAG AA passes).

Color values

HEX#DCD56A
RGBrgb(220, 213, 106)
HSLhsl(56, 62%, 64%)
HSVhsv(56, 52%, 86%)
CMYKcmyk(0%, 3.2%, 51.8%, 13.7%)
CIE-LABlab(83.89, -11.59, 53.09)
CIE-LCHlch(83.89, 54.34, 102.32°)
OKLaboklab(85.71% -0.0344 0.1248)
OKLCHoklch(85.71% 0.129 105.4)
XYZxyz(55.9125, 63.8464, 23.0112)
Luminance0.6384 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCD56A #6A71DC
analogous
#DC9C6A #DCD56A #AADC6A
triadic
#DCD56A #6ADCD5 #D56ADC
tetradic
#DCD56A #6ADC9C #6A71DC #DC6AAA
square
#DCD56A #6ADC9C #6A71DC #DC6AAA
split-complementary
#DCD56A #6AAADC #9C6ADC
monochromatic
#A59D27 #D0C738 #DCD56A #E8E39C #F3F1CD

Accessibility & contrast

On white

1.53
#DCD56A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.77
#DCD56A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCD56A
13.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCD56A#FFFFFF#000000##000000
##DCD56A1.001.5313.7713.77
#FFFFFF1.531.0021.0021.00
#00000013.7721.001.001.00
##00000013.7721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #dcd56a;
/* rgb */ color: rgb(220, 213, 106);
/* oklch */ color: oklch(85.7% 0.129 105.4);
Tailwind
colors: {
  custom: {
    50: '#e9e197',
    500: '#dcd56a',
    950: '#000000',
  },
}
SCSS
$custom: #dcd56a;
$custom-light: #e9e197;
$custom-dark: #000000;
JSON
{
  "hex": "#dcd56a",
  "rgb": {
    "r": 220,
    "g": 213,
    "b": 106
  },
  "hsl": {
    "h": 56.316,
    "s": 61.957,
    "l": 63.922
  },
  "oklch": {
    "l": 0.85707,
    "c": 0.12948,
    "h": 105.4
  },
  "luminance": 0.63845
}

Semantic roles & 50–950 ramp

primary
#DCD56A
secondary
#4249A8
accent
#26CA1C
background
#FFFEFC
surface
#FEFCF5
border
#D6D5CF
text
#16150E
muted
#85847F

Preview Lab

Preview with #DCD56A

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

Preview Lab → · Contrast checker → · Palette generator →

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