#D9CD56#D9CD56

#D9CD56 is a very light, vivid yellow. Relative luminance 0.591; OKLCH L 83.6% C 0.140 H 103.6°. Best body text is #000000 at 12.82:1 contrast (WCAG AA passes).

Color values

HEX#D9CD56
RGBrgb(217, 205, 86)
HSLhsl(55, 63%, 59%)
HSVhsv(55, 60%, 85%)
CMYKcmyk(0%, 5.5%, 60.4%, 14.9%)
CIE-LABlab(81.34, -10.29, 59.17)
CIE-LCHlch(81.34, 60.06, 99.87°)
OKLaboklab(83.56% -0.0327 0.1357)
OKLCHoklch(83.56% 0.14 103.6)
XYZxyz(52.1282, 59.0882, 17.4616)
Luminance0.5909 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D9CD56 #5662D9
analogous
#D98C56 #D9CD56 #A4D956
triadic
#D9CD56 #56D9CD #CD56D9
tetradic
#D9CD56 #56D98C #5662D9 #D956A4
square
#D9CD56 #56D98C #5662D9 #D956A4
split-complementary
#D9CD56 #56A4D9 #8C56D9
monochromatic
#938921 #C5B72C #D9CD56 #E4DC88 #EFEBBA

Accessibility & contrast

On white

1.64
#D9CD56 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.82
#D9CD56 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D9CD56
12.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D9CD56#FFFFFF#000000##000000
##D9CD561.001.6412.8212.82
#FFFFFF1.641.0021.0021.00
#00000012.8221.001.001.00
##00000012.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#DEC749
Deuteranopia (green-blind)
#E2CD5C
Tritanopia (blue-blind)
#E8C0B4
Achromatopsia (no color)
#CACACA

Design tokens & code

CSS
--color: #d9cd56;
/* rgb */ color: rgb(217, 205, 86);
/* oklch */ color: oklch(83.6% 0.140 103.6);
Tailwind
colors: {
  custom: {
    50: '#e8dc8a',
    500: '#d9cd56',
    950: '#000000',
  },
}
SCSS
$custom: #d9cd56;
$custom-light: #e8dc8a;
$custom-dark: #000000;
JSON
{
  "hex": "#d9cd56",
  "rgb": {
    "r": 217,
    "g": 205,
    "b": 86
  },
  "hsl": {
    "h": 54.504,
    "s": 63.285,
    "l": 59.412
  },
  "oklch": {
    "l": 0.8356,
    "c": 0.13954,
    "h": 103.6
  },
  "luminance": 0.59086
}

Semantic roles & 50–950 ramp

primary
#D9CD56
secondary
#3B4398
accent
#51E641
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#16150C
muted
#85847F

Preview Lab

Preview with #D9CD56

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

Preview Lab → · Contrast checker → · Palette generator →

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