#D9D663#D9D663

#D9D663 is a very light, vivid yellow. Relative luminance 0.637; OKLCH L 85.6% C 0.137 H 107.6°. Best body text is #000000 at 13.75:1 contrast (WCAG AA passes).

Color values

HEX#D9D663
RGBrgb(217, 214, 99)
HSLhsl(58, 61%, 62%)
HSVhsv(58, 54%, 85%)
CMYKcmyk(0%, 1.4%, 54.4%, 14.9%)
CIE-LABlab(83.83, -13.88, 56.18)
CIE-LCHlch(83.83, 57.87, 103.87°)
OKLaboklab(85.58% -0.0415 0.1309)
OKLCHoklch(85.58% 0.137 107.6)
XYZxyz(54.9155, 63.7472, 21.2136)
Luminance0.6375 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D9D663 #6366D9
analogous
#D99B63 #D9D663 #A1D963
triadic
#D9D663 #63D9D6 #D663D9
tetradic
#D9D663 #63D99B #6366D9 #D963A1
square
#D9D663 #63D99B #6366D9 #D963A1
split-complementary
#D9D663 #63A1D9 #9B63D9
monochromatic
#9C9926 #CDC932 #D9D663 #E5E394 #F1F0C5

Accessibility & contrast

On white

1.53
#D9D663 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.75
#D9D663 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D9D663
13.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D9D663#FFFFFF#000000##000000
##D9D6631.001.5313.7513.75
#FFFFFF1.531.0021.0021.00
#00000013.7521.001.001.00
##00000013.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#E6CE57
Deuteranopia (green-blind)
#E8D369
Tritanopia (blue-blind)
#E7CABD
Achromatopsia (no color)
#D1D1D1

Design tokens & code

CSS
--color: #d9d663;
/* rgb */ color: rgb(217, 214, 99);
/* oklch */ color: oklch(85.6% 0.137 107.6);
Tailwind
colors: {
  custom: {
    50: '#e7e293',
    500: '#d9d663',
    950: '#000000',
  },
}
SCSS
$custom: #d9d663;
$custom-light: #e7e293;
$custom-dark: #000000;
JSON
{
  "hex": "#d9d663",
  "rgb": {
    "r": 217,
    "g": 214,
    "b": 99
  },
  "hsl": {
    "h": 58.475,
    "s": 60.825,
    "l": 61.961
  },
  "oklch": {
    "l": 0.85583,
    "c": 0.13728,
    "h": 107.6
  },
  "luminance": 0.63746
}

Semantic roles & 50–950 ramp

primary
#D9D663
secondary
#4043A0
accent
#21C91D
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#16150D
muted
#85847F

Preview Lab

Preview with #D9D663

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

Preview Lab → · Contrast checker → · Palette generator →

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