#D1CD66#D1CD66

#D1CD66 is a very light, vivid yellow. Relative luminance 0.582; OKLCH L 83.1% C 0.126 H 106.8°. Best body text is #000000 at 12.64:1 contrast (WCAG AA passes).

Color values

HEX#D1CD66
RGBrgb(209, 205, 102)
HSLhsl(58, 54%, 61%)
HSVhsv(58, 51%, 82%)
CMYKcmyk(0%, 1.9%, 51.2%, 18%)
CIE-LABlab(80.84, -12.37, 51.16)
CIE-LCHlch(80.84, 52.63, 103.59°)
OKLaboklab(83.05% -0.0364 0.1204)
OKLCHoklch(83.05% 0.126 106.8)
XYZxyz(50.5254, 58.1787, 21.1359)
Luminance0.5818 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D1CD66 #666AD1
analogous
#D19766 #D1CD66 #9FD166
triadic
#D1CD66 #66D1CD #CD66D1
tetradic
#D1CD66 #66D197 #666AD1 #D1669F
square
#D1CD66 #66D197 #666AD1 #D1669F
split-complementary
#D1CD66 #669FD1 #9766D1
monochromatic
#918D2C #C0BB3A #D1CD66 #DFDC95 #EDECC4

Accessibility & contrast

On white

1.66
#D1CD66 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.64
#D1CD66 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D1CD66
12.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D1CD66#FFFFFF#000000##000000
##D1CD661.001.6612.6412.64
#FFFFFF1.661.0021.0021.00
#00000012.6421.001.001.00
##00000012.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#DCC65C
Deuteranopia (green-blind)
#DECB6B
Tritanopia (blue-blind)
#DEC2B6
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #d1cd66;
/* rgb */ color: rgb(209, 205, 102);
/* oklch */ color: oklch(83.1% 0.126 106.8);
Tailwind
colors: {
  custom: {
    50: '#e1dc94',
    500: '#d1cd66',
    950: '#000000',
  },
}
SCSS
$custom: #d1cd66;
$custom-light: #e1dc94;
$custom-dark: #000000;
JSON
{
  "hex": "#d1cd66",
  "rgb": {
    "r": 209,
    "g": 205,
    "b": 102
  },
  "hsl": {
    "h": 57.757,
    "s": 53.769,
    "l": 60.98
  },
  "oklch": {
    "l": 0.83052,
    "c": 0.12583,
    "h": 106.8
  },
  "luminance": 0.58177
}

Semantic roles & 50–950 ramp

primary
#D1CD66
secondary
#444797
accent
#2AC124
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#16150D
muted
#84847F

Preview Lab

Preview with #D1CD66

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

Preview Lab → · Contrast checker → · Palette generator →

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