#D9CD65#D9CD65

#D9CD65 is a very light, vivid yellow. Relative luminance 0.594; OKLCH L 83.7% C 0.126 H 102.8°. Best body text is #000000 at 12.87:1 contrast (WCAG AA passes).

Color values

HEX#D9CD65
RGBrgb(217, 205, 101)
HSLhsl(54, 60%, 62%)
HSVhsv(54, 53%, 85%)
CMYKcmyk(0%, 5.5%, 53.5%, 14.9%)
CIE-LABlab(81.49, -9.18, 52.55)
CIE-LCHlch(81.49, 53.35, 99.91°)
OKLaboklab(83.72% -0.0279 0.1232)
OKLCHoklch(83.72% 0.126 102.8)
XYZxyz(52.7972, 59.3558, 20.9851)
Luminance0.5935 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D9CD65 #6571D9
analogous
#D99365 #D9CD65 #ABD965
triadic
#D9CD65 #65D9CD #CD65D9
tetradic
#D9CD65 #65D993 #6571D9 #D965AB
square
#D9CD65 #65D993 #6571D9 #D965AB
split-complementary
#D9CD65 #65ABD9 #9365D9
monochromatic
#9D9127 #CDBD34 #D9CD65 #E5DD96 #F1EDC7

Accessibility & contrast

On white

1.63
#D9CD65 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.87
#D9CD65 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D9CD65
12.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D9CD65#FFFFFF#000000##000000
##D9CD651.001.6312.8712.87
#FFFFFF1.631.0021.0021.00
#00000012.8721.001.001.00
##00000012.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#DDC75B
Deuteranopia (green-blind)
#E1CD6A
Tritanopia (blue-blind)
#E7C1B5
Achromatopsia (no color)
#CACACA

Design tokens & code

CSS
--color: #d9cd65;
/* rgb */ color: rgb(217, 205, 101);
/* oklch */ color: oklch(83.7% 0.126 102.8);
Tailwind
colors: {
  custom: {
    50: '#e7dc94',
    500: '#d9cd65',
    950: '#000000',
  },
}
SCSS
$custom: #d9cd65;
$custom-light: #e7dc94;
$custom-dark: #000000;
JSON
{
  "hex": "#d9cd65",
  "rgb": {
    "r": 217,
    "g": 205,
    "b": 101
  },
  "hsl": {
    "h": 53.793,
    "s": 60.417,
    "l": 62.353
  },
  "oklch": {
    "l": 0.83723,
    "c": 0.12635,
    "h": 102.8
  },
  "luminance": 0.59354
}

Semantic roles & 50–950 ramp

primary
#D9CD65
secondary
#414BA1
accent
#2FC81D
background
#FEFEFC
surface
#FDFBF4
border
#D5D4CE
text
#16150D
muted
#84847F

Preview Lab

Preview with #D9CD65

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

Preview Lab → · Contrast checker → · Palette generator →

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