#D5D166#D5D166

#D5D166 is a very light, vivid yellow. Relative luminance 0.607; OKLCH L 84.2% C 0.130 H 106.9°. Best body text is #000000 at 13.14:1 contrast (WCAG AA passes).

Color values

HEX#D5D166
RGBrgb(213, 209, 102)
HSLhsl(58, 57%, 62%)
HSVhsv(58, 52%, 84%)
CMYKcmyk(0%, 1.9%, 52.1%, 16.5%)
CIE-LABlab(82.22, -12.76, 52.86)
CIE-LCHlch(82.22, 54.38, 103.57°)
OKLaboklab(84.23% -0.0378 0.1241)
OKLCHoklch(84.23% 0.13 106.9)
XYZxyz(52.6407, 60.7078, 21.5126)
Luminance0.6071 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D5D166 #666AD5
analogous
#D59A66 #D5D166 #A2D566
triadic
#D5D166 #66D5D1 #D166D5
tetradic
#D5D166 #66D59A #666AD5 #D566A2
square
#D5D166 #66D59A #666AD5 #D566A2
split-complementary
#D5D166 #66A2D5 #9A66D5
monochromatic
#979329 #C7C237 #D5D166 #E2DF96 #EFEEC6

Accessibility & contrast

On white

1.60
#D5D166 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.14
#D5D166 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D5D166
13.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D5D166#FFFFFF#000000##000000
##D5D1661.001.6013.1413.14
#FFFFFF1.601.0021.0021.00
#00000013.1421.001.001.00
##00000013.1421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d5d166;
/* rgb */ color: rgb(213, 209, 102);
/* oklch */ color: oklch(84.2% 0.130 106.9);
Tailwind
colors: {
  custom: {
    50: '#e4de94',
    500: '#d5d166',
    950: '#000000',
  },
}
SCSS
$custom: #d5d166;
$custom-light: #e4de94;
$custom-dark: #000000;
JSON
{
  "hex": "#d5d166",
  "rgb": {
    "r": 213,
    "g": 209,
    "b": 102
  },
  "hsl": {
    "h": 57.838,
    "s": 56.923,
    "l": 61.765
  },
  "oklch": {
    "l": 0.84231,
    "c": 0.12968,
    "h": 106.9
  },
  "luminance": 0.60706
}

Semantic roles & 50–950 ramp

primary
#D5D166
secondary
#43469C
accent
#27C421
background
#FEFEFC
surface
#FDFCF4
border
#D5D5CE
text
#16150D
muted
#84847F

Preview Lab

Preview with #D5D166

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

Preview Lab → · Contrast checker → · Palette generator →

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