#D1D166#D1D166

#D1D166 is a very light, vivid yellow. Relative luminance 0.601; OKLCH L 83.9% C 0.130 H 108.9°. Best body text is #000000 at 13.02:1 contrast (WCAG AA passes).

Color values

HEX#D1D166
RGBrgb(209, 209, 102)
HSLhsl(60, 54%, 61%)
HSVhsv(60, 51%, 82%)
CMYKcmyk(0%, 0%, 51.2%, 18%)
CIE-LABlab(81.90, -14.38, 52.41)
CIE-LCHlch(81.90, 54.34, 105.34°)
OKLaboklab(83.9% -0.0422 0.1231)
OKLCHoklch(83.9% 0.13 108.9)
XYZxyz(51.4945, 60.1168, 21.4589)
Luminance0.6012 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D1D166 #6666D1
analogous
#D19B66 #D1D166 #9BD166
triadic
#D1D166 #66D1D1 #D166D1
tetradic
#D1D166 #66D19B #6666D1 #D1669B
square
#D1D166 #66D19B #6666D1 #D1669B
split-complementary
#D1D166 #669BD1 #9B66D1
monochromatic
#91912C #C0C03A #D1D166 #DFDF95 #EDEDC4

Accessibility & contrast

On white

1.61
#D1D166 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.02
#D1D166 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D1D166
13.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D1D166#FFFFFF#000000##000000
##D1D1661.001.6113.0213.02
#FFFFFF1.611.0021.0021.00
#00000013.0221.001.001.00
##00000013.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#DFCA5C
Deuteranopia (green-blind)
#E1CD6C
Tritanopia (blue-blind)
#DEC6B9
Achromatopsia (no color)
#CCCCCC

Design tokens & code

CSS
--color: #d1d166;
/* rgb */ color: rgb(209, 209, 102);
/* oklch */ color: oklch(83.9% 0.130 108.9);
Tailwind
colors: {
  custom: {
    50: '#e1de94',
    500: '#d1d166',
    950: '#000000',
  },
}
SCSS
$custom: #d1d166;
$custom-light: #e1de94;
$custom-dark: #000000;
JSON
{
  "hex": "#d1d166",
  "rgb": {
    "r": 209,
    "g": 209,
    "b": 102
  },
  "hsl": {
    "h": 60,
    "s": 53.769,
    "l": 60.98
  },
  "oklch": {
    "l": 0.83899,
    "c": 0.13016,
    "h": 108.9
  },
  "luminance": 0.60116
}

Semantic roles & 50–950 ramp

primary
#D1D166
secondary
#444497
accent
#24C124
background
#FEFEFC
surface
#FCFCF4
border
#D5D5CE
text
#16150D
muted
#84847F

Preview Lab

Preview with #D1D166

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

Preview Lab → · Contrast checker → · Palette generator →

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