#D6D166#D6D166

#D6D166 is a very light, vivid yellow. Relative luminance 0.609; OKLCH L 84.3% C 0.130 H 106.4°. Best body text is #000000 at 13.17:1 contrast (WCAG AA passes).

Color values

HEX#D6D166
RGBrgb(214, 209, 102)
HSLhsl(57, 58%, 62%)
HSVhsv(57, 52%, 84%)
CMYKcmyk(0%, 2.3%, 52.3%, 16.1%)
CIE-LABlab(82.30, -12.35, 52.98)
CIE-LCHlch(82.30, 54.40, 103.12°)
OKLaboklab(84.32% -0.0367 0.1243)
OKLCHoklch(84.32% 0.13 106.4)
XYZxyz(52.9317, 60.8579, 21.5263)
Luminance0.6086 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D6D166 #666BD6
analogous
#D69966 #D6D166 #A3D666
triadic
#D6D166 #66D6D1 #D166D6
tetradic
#D6D166 #66D699 #666BD6 #D666A3
square
#D6D166 #66D699 #666BD6 #D666A3
split-complementary
#D6D166 #66A3D6 #9966D6
monochromatic
#999429 #C9C236 #D6D166 #E3E096 #F0EEC7

Accessibility & contrast

On white

1.59
#D6D166 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.17
#D6D166 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D6D166
13.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D6D166#FFFFFF#000000##000000
##D6D1661.001.5913.1713.17
#FFFFFF1.591.0021.0021.00
#00000013.1721.001.001.00
##00000013.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#E0CA5C
Deuteranopia (green-blind)
#E3CF6B
Tritanopia (blue-blind)
#E3C5B9
Achromatopsia (no color)
#CDCDCD

Design tokens & code

CSS
--color: #d6d166;
/* rgb */ color: rgb(214, 209, 102);
/* oklch */ color: oklch(84.3% 0.130 106.4);
Tailwind
colors: {
  custom: {
    50: '#e5de94',
    500: '#d6d166',
    950: '#000000',
  },
}
SCSS
$custom: #d6d166;
$custom-light: #e5de94;
$custom-dark: #000000;
JSON
{
  "hex": "#d6d166",
  "rgb": {
    "r": 214,
    "g": 209,
    "b": 102
  },
  "hsl": {
    "h": 57.321,
    "s": 57.732,
    "l": 61.961
  },
  "oklch": {
    "l": 0.84315,
    "c": 0.12959,
    "h": 106.4
  },
  "luminance": 0.60856
}

Semantic roles & 50–950 ramp

primary
#D6D166
secondary
#43479D
accent
#28C520
background
#FEFEFC
surface
#FDFCF4
border
#D5D5CE
text
#16150D
muted
#84847F

Preview Lab

Preview with #D6D166

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

Preview Lab → · Contrast checker → · Palette generator →

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