#D5D366#D5D366

#D5D366 is a very light, vivid yellow. Relative luminance 0.617; OKLCH L 84.7% C 0.132 H 108.0°. Best body text is #000000 at 13.34:1 contrast (WCAG AA passes).

Color values

HEX#D5D366
RGBrgb(213, 211, 102)
HSLhsl(59, 57%, 62%)
HSVhsv(59, 52%, 84%)
CMYKcmyk(0%, 0.9%, 52.1%, 16.5%)
CIE-LABlab(82.75, -13.76, 53.48)
CIE-LCHlch(82.75, 55.22, 104.43°)
OKLaboklab(84.65% -0.0406 0.1254)
OKLCHoklch(84.65% 0.132 108)
XYZxyz(53.1345, 61.6954, 21.6772)
Luminance0.6169 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D5D366 #6668D5
analogous
#D59C66 #D5D366 #A0D566
triadic
#D5D366 #66D5D3 #D366D5
tetradic
#D5D366 #66D59C #6668D5 #D566A0
square
#D5D366 #66D59C #6668D5 #D566A0
split-complementary
#D5D366 #66A0D5 #9C66D5
monochromatic
#979529 #C7C537 #D5D366 #E2E196 #EFEFC6

Accessibility & contrast

On white

1.57
#D5D366 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.34
#D5D366 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D5D366
13.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D5D366#FFFFFF#000000##000000
##D5D3661.001.5713.3413.34
#FFFFFF1.571.0021.0021.00
#00000013.3421.001.001.00
##00000013.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#E2CC5C
Deuteranopia (green-blind)
#E4D06C
Tritanopia (blue-blind)
#E2C7BA
Achromatopsia (no color)
#CECECE

Design tokens & code

CSS
--color: #d5d366;
/* rgb */ color: rgb(213, 211, 102);
/* oklch */ color: oklch(84.7% 0.132 108.0);
Tailwind
colors: {
  custom: {
    50: '#e4e095',
    500: '#d5d366',
    950: '#000000',
  },
}
SCSS
$custom: #d5d366;
$custom-light: #e4e095;
$custom-dark: #000000;
JSON
{
  "hex": "#d5d366",
  "rgb": {
    "r": 213,
    "g": 211,
    "b": 102
  },
  "hsl": {
    "h": 58.919,
    "s": 56.923,
    "l": 61.765
  },
  "oklch": {
    "l": 0.84653,
    "c": 0.13182,
    "h": 108
  },
  "luminance": 0.61694
}

Semantic roles & 50–950 ramp

primary
#D5D366
secondary
#43459C
accent
#24C421
background
#FEFEFC
surface
#FDFCF4
border
#D5D5CE
text
#16150D
muted
#84847F

Preview Lab

Preview with #D5D366

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

Preview Lab → · Contrast checker → · Palette generator →

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