#D9D166#D9D166

#D9D166 is a very light, vivid yellow. Relative luminance 0.613; OKLCH L 84.6% C 0.129 H 104.9°. Best body text is #000000 at 13.26:1 contrast (WCAG AA passes).

Color values

HEX#D9D166
RGBrgb(217, 209, 102)
HSLhsl(56, 60%, 63%)
HSVhsv(56, 53%, 85%)
CMYKcmyk(0%, 3.7%, 53%, 14.9%)
CIE-LABlab(82.55, -11.13, 53.32)
CIE-LCHlch(82.55, 54.47, 101.79°)
OKLaboklab(84.57% -0.0333 0.125)
OKLCHoklch(84.57% 0.129 104.9)
XYZxyz(53.8156, 61.3136, 21.5677)
Luminance0.6131 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D9D166 #666ED9
analogous
#D99766 #D9D166 #A8D966
triadic
#D9D166 #66D9D1 #D166D9
tetradic
#D9D166 #66D997 #666ED9 #D966A8
square
#D9D166 #66D997 #666ED9 #D966A8
split-complementary
#D9D166 #66A8D9 #9766D9
monochromatic
#9D9527 #CDC235 #D9D166 #E5E097 #F1EEC8

Accessibility & contrast

On white

1.58
#D9D166 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.26
#D9D166 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D9D166
13.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D9D166#FFFFFF#000000##000000
##D9D1661.001.5813.2613.26
#FFFFFF1.581.0021.0021.00
#00000013.2621.001.001.00
##00000013.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#E1CB5C
Deuteranopia (green-blind)
#E4D06B
Tritanopia (blue-blind)
#E7C5B9
Achromatopsia (no color)
#CDCDCD

Design tokens & code

CSS
--color: #d9d166;
/* rgb */ color: rgb(217, 209, 102);
/* oklch */ color: oklch(84.6% 0.129 104.9);
Tailwind
colors: {
  custom: {
    50: '#e7de95',
    500: '#d9d166',
    950: '#000000',
  },
}
SCSS
$custom: #d9d166;
$custom-light: #e7de95;
$custom-dark: #000000;
JSON
{
  "hex": "#d9d166",
  "rgb": {
    "r": 217,
    "g": 209,
    "b": 102
  },
  "hsl": {
    "h": 55.826,
    "s": 60.209,
    "l": 62.549
  },
  "oklch": {
    "l": 0.84569,
    "c": 0.12936,
    "h": 104.9
  },
  "luminance": 0.61312
}

Semantic roles & 50–950 ramp

primary
#D9D166
secondary
#4248A1
accent
#29C81E
background
#FEFEFC
surface
#FDFCF4
border
#D5D5CE
text
#16150D
muted
#84847F

Preview Lab

Preview with #D9D166

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

Preview Lab → · Contrast checker → · Palette generator →

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