#D3D166#D3D166

#D3D166 is a very light, vivid yellow. Relative luminance 0.604; OKLCH L 84.1% C 0.130 H 107.9°. Best body text is #000000 at 13.08:1 contrast (WCAG AA passes).

Color values

HEX#D3D166
RGBrgb(211, 209, 102)
HSLhsl(59, 55%, 61%)
HSVhsv(59, 52%, 83%)
CMYKcmyk(0%, 0.9%, 51.7%, 17.3%)
CIE-LABlab(82.06, -13.57, 52.63)
CIE-LCHlch(82.06, 54.35, 104.46°)
OKLaboklab(84.06% -0.04 0.1236)
OKLCHoklch(84.06% 0.13 107.9)
XYZxyz(52.0640, 60.4105, 21.4856)
Luminance0.6041 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D3D166 #6668D3
analogous
#D39B66 #D3D166 #9FD366
triadic
#D3D166 #66D3D1 #D166D3
tetradic
#D3D166 #66D39B #6668D3 #D3669F
square
#D3D166 #66D39B #6668D3 #D3669F
split-complementary
#D3D166 #669FD3 #9B66D3
monochromatic
#94922B #C4C138 #D3D166 #E1DF96 #EEEEC5

Accessibility & contrast

On white

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

On black

13.08
#D3D166 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D3D166
13.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D3D166#FFFFFF#000000##000000
##D3D1661.001.6113.0813.08
#FFFFFF1.611.0021.0021.00
#00000013.0821.001.001.00
##00000013.0821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d3d166;
/* rgb */ color: rgb(211, 209, 102);
/* oklch */ color: oklch(84.1% 0.130 107.9);
Tailwind
colors: {
  custom: {
    50: '#e3de94',
    500: '#d3d166',
    950: '#000000',
  },
}
SCSS
$custom: #d3d166;
$custom-light: #e3de94;
$custom-dark: #000000;
JSON
{
  "hex": "#d3d166",
  "rgb": {
    "r": 211,
    "g": 209,
    "b": 102
  },
  "hsl": {
    "h": 58.899,
    "s": 55.33,
    "l": 61.373
  },
  "oklch": {
    "l": 0.84064,
    "c": 0.12991,
    "h": 107.9
  },
  "luminance": 0.60409
}

Semantic roles & 50–950 ramp

primary
#D3D166
secondary
#444599
accent
#26C323
background
#FEFEFC
surface
#FCFCF4
border
#D5D5CE
text
#16150D
muted
#84847F

Preview Lab

Preview with #D3D166

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

Preview Lab → · Contrast checker → · Palette generator →

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