#D9CD54#D9CD54

#D9CD54 is a very light, vivid yellow. Relative luminance 0.591; OKLCH L 83.5% C 0.141 H 103.7°. Best body text is #000000 at 12.81:1 contrast (WCAG AA passes).

Color values

HEX#D9CD54
RGBrgb(217, 205, 84)
HSLhsl(55, 64%, 59%)
HSVhsv(55, 61%, 85%)
CMYKcmyk(0%, 5.5%, 61.3%, 14.9%)
CIE-LABlab(81.32, -10.43, 60.01)
CIE-LCHlch(81.32, 60.91, 99.86°)
OKLaboklab(83.54% -0.0333 0.1372)
OKLCHoklch(83.54% 0.141 103.7)
XYZxyz(52.0487, 59.0564, 17.0431)
Luminance0.5905 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D9CD54 #5460D9
analogous
#D98B54 #D9CD54 #A3D954
triadic
#D9CD54 #54D9CD #CD54D9
tetradic
#D9CD54 #54D98B #5460D9 #D954A3
square
#D9CD54 #54D98B #5460D9 #D954A3
split-complementary
#D9CD54 #54A3D9 #8B54D9
monochromatic
#928820 #C4B62C #D9CD54 #E4DC86 #EFEAB8

Accessibility & contrast

On white

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

On black

12.81
#D9CD54 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D9CD54
12.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D9CD54#FFFFFF#000000##000000
##D9CD541.001.6412.8112.81
#FFFFFF1.641.0021.0021.00
#00000012.8121.001.001.00
##00000012.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#DEC746
Deuteranopia (green-blind)
#E2CD5B
Tritanopia (blue-blind)
#E8C0B3
Achromatopsia (no color)
#CACACA

Design tokens & code

CSS
--color: #d9cd54;
/* rgb */ color: rgb(217, 205, 84);
/* oklch */ color: oklch(83.5% 0.141 103.7);
Tailwind
colors: {
  custom: {
    50: '#e8dc89',
    500: '#d9cd54',
    950: '#000000',
  },
}
SCSS
$custom: #d9cd54;
$custom-light: #e8dc89;
$custom-dark: #000000;
JSON
{
  "hex": "#d9cd54",
  "rgb": {
    "r": 217,
    "g": 205,
    "b": 84
  },
  "hsl": {
    "h": 54.586,
    "s": 63.636,
    "l": 59.02
  },
  "oklch": {
    "l": 0.8354,
    "c": 0.14116,
    "h": 103.7
  },
  "luminance": 0.59054
}

Semantic roles & 50–950 ramp

primary
#D9CD54
secondary
#3A4297
accent
#50E741
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#16150C
muted
#85847F

Preview Lab

Preview with #D9CD54

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

Preview Lab → · Contrast checker → · Palette generator →

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