#D1CD64#D1CD64

#D1CD64 is a very light, vivid yellow. Relative luminance 0.581; OKLCH L 83.0% C 0.128 H 106.9°. Best body text is #000000 at 12.63:1 contrast (WCAG AA passes).

Color values

HEX#D1CD64
RGBrgb(209, 205, 100)
HSLhsl(58, 54%, 61%)
HSVhsv(58, 52%, 82%)
CMYKcmyk(0%, 1.9%, 52.2%, 18%)
CIE-LABlab(80.82, -12.54, 52.07)
CIE-LCHlch(80.82, 53.56, 103.54°)
OKLaboklab(83.03% -0.0371 0.1222)
OKLCHoklch(83.03% 0.128 106.9)
XYZxyz(50.4274, 58.1395, 20.6198)
Luminance0.5814 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D1CD64 #6468D1
analogous
#D19664 #D1CD64 #9ED164
triadic
#D1CD64 #64D1CD #CD64D1
tetradic
#D1CD64 #64D196 #6468D1 #D1649E
square
#D1CD64 #64D196 #6468D1 #D1649E
split-complementary
#D1CD64 #649ED1 #9664D1
monochromatic
#908C2B #BFBA39 #D1CD64 #DFDC93 #EDEBC2

Accessibility & contrast

On white

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

On black

12.63
#D1CD64 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D1CD64
12.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D1CD64#FFFFFF#000000##000000
##D1CD641.001.6612.6312.63
#FFFFFF1.661.0021.0021.00
#00000012.6321.001.001.00
##00000012.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#DCC65A
Deuteranopia (green-blind)
#DECB69
Tritanopia (blue-blind)
#DEC2B5
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #d1cd64;
/* rgb */ color: rgb(209, 205, 100);
/* oklch */ color: oklch(83.0% 0.128 106.9);
Tailwind
colors: {
  custom: {
    50: '#e1dc93',
    500: '#d1cd64',
    950: '#000000',
  },
}
SCSS
$custom: #d1cd64;
$custom-light: #e1dc93;
$custom-dark: #000000;
JSON
{
  "hex": "#d1cd64",
  "rgb": {
    "r": 209,
    "g": 205,
    "b": 100
  },
  "hsl": {
    "h": 57.798,
    "s": 54.229,
    "l": 60.588
  },
  "oklch": {
    "l": 0.83028,
    "c": 0.12773,
    "h": 106.9
  },
  "luminance": 0.58138
}

Semantic roles & 50–950 ramp

primary
#D1CD64
secondary
#434696
accent
#2AC224
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#16150D
muted
#84847F

Preview Lab

Preview with #D1CD64

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

Preview Lab → · Contrast checker → · Palette generator →

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