#D9CA66#D9CA66

#D9CA66 is a very light, vivid yellow. Relative luminance 0.580; OKLCH L 83.1% C 0.123 H 100.9°. Best body text is #000000 at 12.59:1 contrast (WCAG AA passes).

Color values

HEX#D9CA66
RGBrgb(217, 202, 102)
HSLhsl(52, 60%, 63%)
HSVhsv(52, 53%, 85%)
CMYKcmyk(0%, 6.9%, 53%, 14.9%)
CIE-LABlab(80.71, -7.57, 51.18)
CIE-LCHlch(80.71, 51.74, 98.42°)
OKLaboklab(83.11% -0.0232 0.1203)
OKLCHoklch(83.11% 0.123 100.9)
XYZxyz(52.1357, 57.9540, 21.0078)
Luminance0.5795 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D9CA66 #6675D9
analogous
#D99166 #D9CA66 #AED966
triadic
#D9CA66 #66D9CA #CA66D9
tetradic
#D9CA66 #66D991 #6675D9 #D966AE
square
#D9CA66 #66D991 #6675D9 #D966AE
split-complementary
#D9CA66 #66AED9 #9166D9
monochromatic
#9D8E27 #CDB935 #D9CA66 #E5DB97 #F1ECC8

Accessibility & contrast

On white

1.67
#D9CA66 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.59
#D9CA66 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D9CA66
12.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D9CA66#FFFFFF#000000##000000
##D9CA661.001.6712.5912.59
#FFFFFF1.671.0021.0021.00
#00000012.5921.001.001.00
##00000012.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#DAC55D
Deuteranopia (green-blind)
#DECB6B
Tritanopia (blue-blind)
#E7BEB3
Achromatopsia (no color)
#C8C8C8

Design tokens & code

CSS
--color: #d9ca66;
/* rgb */ color: rgb(217, 202, 102);
/* oklch */ color: oklch(83.1% 0.123 100.9);
Tailwind
colors: {
  custom: {
    50: '#e7d994',
    500: '#d9ca66',
    950: '#000000',
  },
}
SCSS
$custom: #d9ca66;
$custom-light: #e7d994;
$custom-dark: #000000;
JSON
{
  "hex": "#d9ca66",
  "rgb": {
    "r": 217,
    "g": 202,
    "b": 102
  },
  "hsl": {
    "h": 52.174,
    "s": 60.209,
    "l": 62.549
  },
  "oklch": {
    "l": 0.83113,
    "c": 0.12255,
    "h": 100.9
  },
  "luminance": 0.57952
}

Semantic roles & 50–950 ramp

primary
#D9CA66
secondary
#424EA1
accent
#34C81E
background
#FEFEFC
surface
#FDFBF4
border
#D5D4CE
text
#16140D
muted
#84837F

Preview Lab

Preview with #D9CA66

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

Preview Lab → · Contrast checker → · Palette generator →

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