#D9CD68#D9CD68

#D9CD68 is a very light, vivid yellow. Relative luminance 0.594; OKLCH L 83.8% C 0.123 H 102.6°. Best body text is #000000 at 12.88:1 contrast (WCAG AA passes).

Color values

HEX#D9CD68
RGBrgb(217, 205, 104)
HSLhsl(54, 60%, 63%)
HSVhsv(54, 52%, 85%)
CMYKcmyk(0%, 5.5%, 52.1%, 14.9%)
CIE-LABlab(81.52, -8.94, 51.18)
CIE-LCHlch(81.52, 51.96, 99.90°)
OKLaboklab(83.76% -0.0269 0.1205)
OKLCHoklch(83.76% 0.124 102.6)
XYZxyz(52.9469, 59.4156, 21.7734)
Luminance0.5941 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D9CD68 #6874D9
analogous
#D99468 #D9CD68 #ADD968
triadic
#D9CD68 #68D9CD #CD68D9
tetradic
#D9CD68 #68D994 #6874D9 #D968AD
square
#D9CD68 #68D994 #6874D9 #D968AD
split-complementary
#D9CD68 #68ADD9 #9468D9
monochromatic
#9F9228 #CDBD37 #D9CD68 #E5DD99 #F2EDCA

Accessibility & contrast

On white

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

On black

12.88
#D9CD68 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D9CD68
12.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D9CD68#FFFFFF#000000##000000
##D9CD681.001.6312.8812.88
#FFFFFF1.631.0021.0021.00
#00000012.8821.001.001.00
##00000012.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#DDC75F
Deuteranopia (green-blind)
#E0CD6D
Tritanopia (blue-blind)
#E7C1B6
Achromatopsia (no color)
#CBCBCB

Design tokens & code

CSS
--color: #d9cd68;
/* rgb */ color: rgb(217, 205, 104);
/* oklch */ color: oklch(83.8% 0.123 102.6);
Tailwind
colors: {
  custom: {
    50: '#e7dc96',
    500: '#d9cd68',
    950: '#000000',
  },
}
SCSS
$custom: #d9cd68;
$custom-light: #e7dc96;
$custom-dark: #000000;
JSON
{
  "hex": "#d9cd68",
  "rgb": {
    "r": 217,
    "g": 205,
    "b": 104
  },
  "hsl": {
    "h": 53.628,
    "s": 59.788,
    "l": 62.941
  },
  "oklch": {
    "l": 0.8376,
    "c": 0.1235,
    "h": 102.6
  },
  "luminance": 0.59414
}

Semantic roles & 50–950 ramp

primary
#D9CD68
secondary
#434DA3
accent
#30C71E
background
#FEFEFC
surface
#FDFBF5
border
#D5D4CF
text
#16150D
muted
#84847F

Preview Lab

Preview with #D9CD68

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

Preview Lab → · Contrast checker → · Palette generator →

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