#DCD56B#DCD56B

#DCD56B is a very light, vivid yellow. Relative luminance 0.639; 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#DCD56B
RGBrgb(220, 213, 107)
HSLhsl(56, 62%, 64%)
HSVhsv(56, 51%, 86%)
CMYKcmyk(0%, 3.2%, 51.4%, 13.7%)
CIE-LABlab(83.90, -11.51, 52.63)
CIE-LCHlch(83.90, 53.88, 102.34°)
OKLaboklab(85.72% -0.0341 0.1239)
OKLCHoklch(85.72% 0.129 105.4)
XYZxyz(55.9648, 63.8673, 23.2867)
Luminance0.6387 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCD56B #6B72DC
analogous
#DC9D6B #DCD56B #ABDC6B
triadic
#DCD56B #6BDCD5 #D56BDC
tetradic
#DCD56B #6BDC9D #6B72DC #DC6BAB
square
#DCD56B #6BDC9D #6B72DC #DC6BAB
split-complementary
#DCD56B #6BABDC #9D6BDC
monochromatic
#A59E27 #D0C73A #DCD56B #E8E39C #F3F1CE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##DCD56B#FFFFFF#000000##000000
##DCD56B1.001.5213.7713.77
#FFFFFF1.521.0021.0021.00
#00000013.7721.001.001.00
##00000013.7721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #dcd56b;
/* rgb */ color: rgb(220, 213, 107);
/* oklch */ color: oklch(85.7% 0.129 105.4);
Tailwind
colors: {
  custom: {
    50: '#e9e198',
    500: '#dcd56b',
    950: '#000000',
  },
}
SCSS
$custom: #dcd56b;
$custom-light: #e9e198;
$custom-dark: #000000;
JSON
{
  "hex": "#dcd56b",
  "rgb": {
    "r": 220,
    "g": 213,
    "b": 107
  },
  "hsl": {
    "h": 56.283,
    "s": 61.749,
    "l": 64.118
  },
  "oklch": {
    "l": 0.85719,
    "c": 0.12854,
    "h": 105.4
  },
  "luminance": 0.63866
}

Semantic roles & 50–950 ramp

primary
#DCD56B
secondary
#4349A8
accent
#27C91C
background
#FFFEFC
surface
#FEFCF5
border
#D6D5CF
text
#16150E
muted
#85847F

Preview Lab

Preview with #DCD56B

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

Preview Lab → · Contrast checker → · Palette generator →

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