#D9CD55#D9CD55

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

Color values

HEX#D9CD55
RGBrgb(217, 205, 85)
HSLhsl(55, 63%, 59%)
HSVhsv(55, 61%, 85%)
CMYKcmyk(0%, 5.5%, 60.8%, 14.9%)
CIE-LABlab(81.33, -10.36, 59.59)
CIE-LCHlch(81.33, 60.48, 99.86°)
OKLaboklab(83.55% -0.033 0.1364)
OKLCHoklch(83.55% 0.14 103.6)
XYZxyz(52.0882, 59.0721, 17.2509)
Luminance0.5907 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D9CD55 #5561D9
analogous
#D98B55 #D9CD55 #A3D955
triadic
#D9CD55 #55D9CD #CD55D9
tetradic
#D9CD55 #55D98B #5561D9 #D955A3
square
#D9CD55 #55D98B #5561D9 #D955A3
split-complementary
#D9CD55 #55A3D9 #8B55D9
monochromatic
#938821 #C5B72C #D9CD55 #E4DC87 #EFEAB9

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D9CD55#FFFFFF#000000##000000
##D9CD551.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)
#DEC747
Deuteranopia (green-blind)
#E2CD5C
Tritanopia (blue-blind)
#E8C0B3
Achromatopsia (no color)
#CACACA

Design tokens & code

CSS
--color: #d9cd55;
/* rgb */ color: rgb(217, 205, 85);
/* oklch */ color: oklch(83.5% 0.140 103.6);
Tailwind
colors: {
  custom: {
    50: '#e8dc8a',
    500: '#d9cd55',
    950: '#000000',
  },
}
SCSS
$custom: #d9cd55;
$custom-light: #e8dc8a;
$custom-dark: #000000;
JSON
{
  "hex": "#d9cd55",
  "rgb": {
    "r": 217,
    "g": 205,
    "b": 85
  },
  "hsl": {
    "h": 54.545,
    "s": 63.462,
    "l": 59.216
  },
  "oklch": {
    "l": 0.8355,
    "c": 0.14035,
    "h": 103.6
  },
  "luminance": 0.5907
}

Semantic roles & 50–950 ramp

primary
#D9CD55
secondary
#3A4398
accent
#50E641
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#16150C
muted
#85847F

Preview Lab

Preview with #D9CD55

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

Preview Lab → · Contrast checker → · Palette generator →

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