#D5D666#D5D666

#D5D666 is a very light, vivid yellow. Relative luminance 0.632; OKLCH L 85.3% C 0.135 H 109.4°. Best body text is #000000 at 13.64:1 contrast (WCAG AA passes).

Color values

HEX#D5D666
RGBrgb(213, 214, 102)
HSLhsl(61, 58%, 62%)
HSVhsv(61, 52%, 84%)
CMYKcmyk(0.5%, 0%, 52.3%, 16.1%)
CIE-LABlab(83.55, -15.26, 54.40)
CIE-LCHlch(83.55, 56.50, 105.67°)
OKLaboklab(85.29% -0.0449 0.1274)
OKLCHoklch(85.29% 0.135 109.4)
XYZxyz(53.8867, 63.1999, 21.9280)
Luminance0.6320 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D5D666 #6766D6
analogous
#D69F66 #D5D666 #9DD666
triadic
#D5D666 #66D5D6 #D666D5
tetradic
#D5D666 #66D69F #6766D6 #D6669D
square
#D5D666 #66D69F #6766D6 #D6669D
split-complementary
#D5D666 #669DD6 #9F66D6
monochromatic
#989929 #C8C936 #D5D666 #E2E396 #EFF0C7

Accessibility & contrast

On white

1.54
#D5D666 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.64
#D5D666 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D5D666
13.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D5D666#FFFFFF#000000##000000
##D5D6661.001.5413.6413.64
#FFFFFF1.541.0021.0021.00
#00000013.6421.001.001.00
##00000013.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#E5CE5B
Deuteranopia (green-blind)
#E6D26C
Tritanopia (blue-blind)
#E2CABD
Achromatopsia (no color)
#D0D0D0

Design tokens & code

CSS
--color: #d5d666;
/* rgb */ color: rgb(213, 214, 102);
/* oklch */ color: oklch(85.3% 0.135 109.4);
Tailwind
colors: {
  custom: {
    50: '#e4e295',
    500: '#d5d666',
    950: '#000000',
  },
}
SCSS
$custom: #d5d666;
$custom-light: #e4e295;
$custom-dark: #000000;
JSON
{
  "hex": "#d5d666",
  "rgb": {
    "r": 213,
    "g": 214,
    "b": 102
  },
  "hsl": {
    "h": 60.536,
    "s": 57.732,
    "l": 61.961
  },
  "oklch": {
    "l": 0.85287,
    "c": 0.13507,
    "h": 109.4
  },
  "luminance": 0.63199
}

Semantic roles & 50–950 ramp

primary
#D5D666
secondary
#44439D
accent
#20C522
background
#FEFEFC
surface
#FDFCF4
border
#D5D5CE
text
#16150D
muted
#84847F

Preview Lab

Preview with #D5D666

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

Preview Lab → · Contrast checker → · Palette generator →

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