#D9CD50#D9CD50

#D9CD50 is a very light, vivid yellow. Relative luminance 0.590; OKLCH L 83.5% C 0.144 H 103.8°. Best body text is #000000 at 12.80:1 contrast (WCAG AA passes).

Color values

HEX#D9CD50
RGBrgb(217, 205, 80)
HSLhsl(55, 64%, 58%)
HSVhsv(55, 63%, 85%)
CMYKcmyk(0%, 5.5%, 63.1%, 14.9%)
CIE-LABlab(81.29, -10.68, 61.67)
CIE-LCHlch(81.29, 62.59, 99.83°)
OKLaboklab(83.5% -0.0345 0.1401)
OKLCHoklch(83.5% 0.144 103.8)
XYZxyz(51.8965, 58.9955, 16.2415)
Luminance0.5899 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D9CD50 #505CD9
analogous
#D98950 #D9CD50 #A0D950
triadic
#D9CD50 #50D9CD #CD50D9
tetradic
#D9CD50 #50D989 #505CD9 #D950A0
square
#D9CD50 #50D989 #505CD9 #D950A0
split-complementary
#D9CD50 #50A0D9 #8950D9
monochromatic
#8F861F #C2B42A #D9CD50 #E4DB82 #EFEAB5

Accessibility & contrast

On white

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

On black

12.80
#D9CD50 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D9CD50
12.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D9CD50#FFFFFF#000000##000000
##D9CD501.001.6412.8012.80
#FFFFFF1.641.0021.0021.00
#00000012.8021.001.001.00
##00000012.8021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d9cd50;
/* rgb */ color: rgb(217, 205, 80);
/* oklch */ color: oklch(83.5% 0.144 103.8);
Tailwind
colors: {
  custom: {
    50: '#e8dc87',
    500: '#d9cd50',
    950: '#000000',
  },
}
SCSS
$custom: #d9cd50;
$custom-light: #e8dc87;
$custom-dark: #000000;
JSON
{
  "hex": "#d9cd50",
  "rgb": {
    "r": 217,
    "g": 205,
    "b": 80
  },
  "hsl": {
    "h": 54.745,
    "s": 64.319,
    "l": 58.235
  },
  "oklch": {
    "l": 0.83503,
    "c": 0.1443,
    "h": 103.8
  },
  "luminance": 0.58994
}

Semantic roles & 50–950 ramp

primary
#D9CD50
secondary
#384095
accent
#4FE740
background
#FFFEFC
surface
#FEFBF3
border
#D6D4CD
text
#16150C
muted
#85847F

Preview Lab

Preview with #D9CD50

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

Preview Lab → · Contrast checker → · Palette generator →

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