#D5CD66#D5CD66

#D5CD66 is a very light, vivid yellow. Relative luminance 0.588; OKLCH L 83.4% C 0.126 H 104.8°. Best body text is #000000 at 12.75:1 contrast (WCAG AA passes).

Color values

HEX#D5CD66
RGBrgb(213, 205, 102)
HSLhsl(56, 57%, 62%)
HSVhsv(56, 52%, 84%)
CMYKcmyk(0%, 3.8%, 52.1%, 16.5%)
CIE-LABlab(81.16, -10.74, 51.63)
CIE-LCHlch(81.16, 52.73, 101.75°)
OKLaboklab(83.39% -0.032 0.1214)
OKLCHoklch(83.39% 0.126 104.8)
XYZxyz(51.6716, 58.7697, 21.1896)
Luminance0.5877 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D5CD66 #666ED5
analogous
#D59666 #D5CD66 #A6D566
triadic
#D5CD66 #66D5CD #CD66D5
tetradic
#D5CD66 #66D596 #666ED5 #D566A6
square
#D5CD66 #66D596 #666ED5 #D566A6
split-complementary
#D5CD66 #66A6D5 #9666D5
monochromatic
#978F29 #C7BD37 #D5CD66 #E2DD96 #EFECC6

Accessibility & contrast

On white

1.65
#D5CD66 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.75
#D5CD66 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D5CD66
12.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D5CD66#FFFFFF#000000##000000
##D5CD661.001.6512.7512.75
#FFFFFF1.651.0021.0021.00
#00000012.7521.001.001.00
##00000012.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#DCC75C
Deuteranopia (green-blind)
#DFCC6B
Tritanopia (blue-blind)
#E3C1B6
Achromatopsia (no color)
#CACACA

Design tokens & code

CSS
--color: #d5cd66;
/* rgb */ color: rgb(213, 205, 102);
/* oklch */ color: oklch(83.4% 0.126 104.8);
Tailwind
colors: {
  custom: {
    50: '#e4dc94',
    500: '#d5cd66',
    950: '#000000',
  },
}
SCSS
$custom: #d5cd66;
$custom-light: #e4dc94;
$custom-dark: #000000;
JSON
{
  "hex": "#d5cd66",
  "rgb": {
    "r": 213,
    "g": 205,
    "b": 102
  },
  "hsl": {
    "h": 55.676,
    "s": 56.923,
    "l": 61.765
  },
  "oklch": {
    "l": 0.83391,
    "c": 0.12553,
    "h": 104.8
  },
  "luminance": 0.58768
}

Semantic roles & 50–950 ramp

primary
#D5CD66
secondary
#434A9C
accent
#2DC421
background
#FEFEFC
surface
#FDFBF4
border
#D5D4CE
text
#16150D
muted
#84847F

Preview Lab

Preview with #D5CD66

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

Preview Lab → · Contrast checker → · Palette generator →

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