#D9C66A#D9C66A

#D9C66A is a very light, moderate yellow. Relative luminance 0.562; OKLCH L 82.3% C 0.115 H 97.9°. Best body text is #000000 at 12.24:1 contrast (WCAG AA passes).

Color values

HEX#D9C66A
RGBrgb(217, 198, 106)
HSLhsl(50, 59%, 63%)
HSVhsv(50, 51%, 85%)
CMYKcmyk(0%, 8.8%, 51.2%, 14.9%)
CIE-LABlab(79.72, -5.18, 48.08)
CIE-LCHlch(79.72, 48.36, 96.15°)
OKLaboklab(82.34% -0.0158 0.114)
OKLCHoklch(82.34% 0.115 97.9)
XYZxyz(51.4125, 56.1825, 21.7690)
Luminance0.5618 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D9C66A #6A7DD9
analogous
#D98E6A #D9C66A #B4D96A
triadic
#D9C66A #6AD9C6 #C66AD9
tetradic
#D9C66A #6AD98E #6A7DD9 #D96AB4
square
#D9C66A #6AD98E #6A7DD9 #D96AB4
split-complementary
#D9C66A #6AB4D9 #8E6AD9
monochromatic
#A08B29 #CDB339 #D9C66A #E5D99B #F2EBCC

Accessibility & contrast

On white

1.72
#D9C66A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.24
#D9C66A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D9C66A
12.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D9C66A#FFFFFF#000000##000000
##D9C66A1.001.7212.2412.24
#FFFFFF1.721.0021.0021.00
#00000012.2421.001.001.00
##00000012.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#D6C262
Deuteranopia (green-blind)
#DBC96E
Tritanopia (blue-blind)
#E7BAB1
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #d9c66a;
/* rgb */ color: rgb(217, 198, 106);
/* oklch */ color: oklch(82.3% 0.115 97.9);
Tailwind
colors: {
  custom: {
    50: '#e7d797',
    500: '#d9c66a',
    950: '#000000',
  },
}
SCSS
$custom: #d9c66a;
$custom-light: #e7d797;
$custom-dark: #000000;
JSON
{
  "hex": "#d9c66a",
  "rgb": {
    "r": 217,
    "g": 198,
    "b": 106
  },
  "hsl": {
    "h": 49.73,
    "s": 59.358,
    "l": 63.333
  },
  "oklch": {
    "l": 0.82339,
    "c": 0.11506,
    "h": 97.9
  },
  "luminance": 0.5618
}

Semantic roles & 50–950 ramp

primary
#D9C66A
secondary
#4454A4
accent
#3BC71E
background
#FEFEFC
surface
#FDFBF5
border
#D5D4CF
text
#16140E
muted
#84837F

Preview Lab

Preview with #D9C66A

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

Preview Lab → · Contrast checker → · Palette generator →

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