#D9D366#D9D366

#D9D366 is a very light, vivid yellow. Relative luminance 0.623; OKLCH L 85.0% C 0.131 H 106.0°. Best body text is #000000 at 13.46:1 contrast (WCAG AA passes).

Color values

HEX#D9D366
RGBrgb(217, 211, 102)
HSLhsl(57, 60%, 63%)
HSVhsv(57, 53%, 85%)
CMYKcmyk(0%, 2.8%, 53%, 14.9%)
CIE-LABlab(83.07, -12.14, 53.93)
CIE-LCHlch(83.07, 55.28, 102.68°)
OKLaboklab(84.99% -0.0362 0.1263)
OKLCHoklch(84.99% 0.131 106)
XYZxyz(54.3093, 62.3012, 21.7323)
Luminance0.6230 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D9D366 #666CD9
analogous
#D99A66 #D9D366 #A5D966
triadic
#D9D366 #66D9D3 #D366D9
tetradic
#D9D366 #66D99A #666CD9 #D966A5
square
#D9D366 #66D99A #666CD9 #D966A5
split-complementary
#D9D366 #66A5D9 #9A66D9
monochromatic
#9D9727 #CDC535 #D9D366 #E5E197 #F1EFC8

Accessibility & contrast

On white

1.56
#D9D366 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.46
#D9D366 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D9D366
13.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D9D366#FFFFFF#000000##000000
##D9D3661.001.5613.4613.46
#FFFFFF1.561.0021.0021.00
#00000013.4621.001.001.00
##00000013.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#E2CC5B
Deuteranopia (green-blind)
#E5D16C
Tritanopia (blue-blind)
#E7C7BB
Achromatopsia (no color)
#CFCFCF

Design tokens & code

CSS
--color: #d9d366;
/* rgb */ color: rgb(217, 211, 102);
/* oklch */ color: oklch(85.0% 0.131 106.0);
Tailwind
colors: {
  custom: {
    50: '#e7e095',
    500: '#d9d366',
    950: '#000000',
  },
}
SCSS
$custom: #d9d366;
$custom-light: #e7e095;
$custom-dark: #000000;
JSON
{
  "hex": "#d9d366",
  "rgb": {
    "r": 217,
    "g": 211,
    "b": 102
  },
  "hsl": {
    "h": 56.87,
    "s": 60.209,
    "l": 62.549
  },
  "oklch": {
    "l": 0.84988,
    "c": 0.13141,
    "h": 106
  },
  "luminance": 0.623
}

Semantic roles & 50–950 ramp

primary
#D9D366
secondary
#4247A1
accent
#27C81E
background
#FEFEFC
surface
#FDFCF4
border
#D5D5CE
text
#16150D
muted
#84847F

Preview Lab

Preview with #D9D366

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

Preview Lab → · Contrast checker → · Palette generator →

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