#DCD56C#DCD56C

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

Color values

HEX#DCD56C
RGBrgb(220, 213, 108)
HSLhsl(56, 62%, 64%)
HSVhsv(56, 51%, 86%)
CMYKcmyk(0%, 3.2%, 50.9%, 13.7%)
CIE-LABlab(83.91, -11.43, 52.18)
CIE-LCHlch(83.91, 53.41, 102.35°)
OKLaboklab(85.73% -0.0337 0.123)
OKLCHoklch(85.73% 0.128 105.3)
XYZxyz(56.0177, 63.8885, 23.5653)
Luminance0.6389 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCD56C #6C73DC
analogous
#DC9D6C #DCD56C #ABDC6C
triadic
#DCD56C #6CDCD5 #D56CDC
tetradic
#DCD56C #6CDC9D #6C73DC #DC6CAB
square
#DCD56C #6CDC9D #6C73DC #DC6CAB
split-complementary
#DCD56C #6CABDC #9D6CDC
monochromatic
#A69E28 #D0C73B #DCD56C #E8E39D #F4F1CF

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##DCD56C#FFFFFF#000000##000000
##DCD56C1.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)
#E4CE62
Deuteranopia (green-blind)
#E7D471
Tritanopia (blue-blind)
#EAC9BD
Achromatopsia (no color)
#D1D1D1

Design tokens & code

CSS
--color: #dcd56c;
/* rgb */ color: rgb(220, 213, 108);
/* oklch */ color: oklch(85.7% 0.128 105.3);
Tailwind
colors: {
  custom: {
    50: '#e9e199',
    500: '#dcd56c',
    950: '#000000',
  },
}
SCSS
$custom: #dcd56c;
$custom-light: #e9e199;
$custom-dark: #000000;
JSON
{
  "hex": "#dcd56c",
  "rgb": {
    "r": 220,
    "g": 213,
    "b": 108
  },
  "hsl": {
    "h": 56.25,
    "s": 61.538,
    "l": 64.314
  },
  "oklch": {
    "l": 0.85731,
    "c": 0.12758,
    "h": 105.3
  },
  "luminance": 0.63887
}

Semantic roles & 50–950 ramp

primary
#DCD56C
secondary
#434AA9
accent
#27C91C
background
#FFFEFC
surface
#FEFCF5
border
#D6D5CF
text
#16150E
muted
#85847F

Preview Lab

Preview with #DCD56C

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

Preview Lab → · Contrast checker → · Palette generator →

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