#D2D166#D2D166

#D2D166 is a very light, vivid yellow. Relative luminance 0.603; OKLCH L 84.0% C 0.130 H 108.4°. Best body text is #000000 at 13.05:1 contrast (WCAG AA passes).

Color values

HEX#D2D166
RGBrgb(210, 209, 102)
HSLhsl(59, 55%, 61%)
HSVhsv(59, 51%, 82%)
CMYKcmyk(0%, 0.5%, 51.4%, 17.6%)
CIE-LABlab(81.98, -13.97, 52.52)
CIE-LCHlch(81.98, 54.35, 104.90°)
OKLaboklab(83.98% -0.0411 0.1234)
OKLCHoklch(83.98% 0.13 108.4)
XYZxyz(51.7784, 60.2632, 21.4722)
Luminance0.6026 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2D166 #6667D2
analogous
#D29B66 #D2D166 #9DD266
triadic
#D2D166 #66D2D1 #D166D2
tetradic
#D2D166 #66D29B #6667D2 #D2669D
square
#D2D166 #66D29B #6667D2 #D2669D
split-complementary
#D2D166 #669DD2 #9B66D2
monochromatic
#93922B #C2C139 #D2D166 #E0DF95 #EEEDC5

Accessibility & contrast

On white

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

On black

13.05
#D2D166 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2D166
13.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2D166#FFFFFF#000000##000000
##D2D1661.001.6113.0513.05
#FFFFFF1.611.0021.0021.00
#00000013.0521.001.001.00
##00000013.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#E0CA5C
Deuteranopia (green-blind)
#E1CE6C
Tritanopia (blue-blind)
#DFC6B9
Achromatopsia (no color)
#CCCCCC

Design tokens & code

CSS
--color: #d2d166;
/* rgb */ color: rgb(210, 209, 102);
/* oklch */ color: oklch(84.0% 0.130 108.4);
Tailwind
colors: {
  custom: {
    50: '#e2de94',
    500: '#d2d166',
    950: '#000000',
  },
}
SCSS
$custom: #d2d166;
$custom-light: #e2de94;
$custom-dark: #000000;
JSON
{
  "hex": "#d2d166",
  "rgb": {
    "r": 210,
    "g": 209,
    "b": 102
  },
  "hsl": {
    "h": 59.444,
    "s": 54.545,
    "l": 61.176
  },
  "oklch": {
    "l": 0.83981,
    "c": 0.13003,
    "h": 108.4
  },
  "luminance": 0.60262
}

Semantic roles & 50–950 ramp

primary
#D2D166
secondary
#444598
accent
#25C223
background
#FEFEFC
surface
#FCFCF4
border
#D5D5CE
text
#16150D
muted
#84847F

Preview Lab

Preview with #D2D166

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

Preview Lab → · Contrast checker → · Palette generator →

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