#D9C366#D9C366

#D9C366 is a light, moderate yellow. Relative luminance 0.547; OKLCH L 81.7% C 0.116 H 96.3°. Best body text is #000000 at 11.95:1 contrast (WCAG AA passes).

Color values

HEX#D9C366
RGBrgb(217, 195, 102)
HSLhsl(49, 60%, 63%)
HSVhsv(49, 53%, 85%)
CMYKcmyk(0%, 10.1%, 53%, 14.9%)
CIE-LABlab(78.89, -3.97, 49.03)
CIE-LCHlch(78.89, 49.19, 94.63°)
OKLaboklab(81.67% -0.0128 0.1157)
OKLCHoklch(81.67% 0.116 96.3)
XYZxyz(50.5304, 54.7434, 20.4727)
Luminance0.5474 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D9C366 #667CD9
analogous
#D98A66 #D9C366 #B5D966
triadic
#D9C366 #66D9C3 #C366D9
tetradic
#D9C366 #66D98A #667CD9 #D966B5
square
#D9C366 #66D98A #667CD9 #D966B5
split-complementary
#D9C366 #66B5D9 #8A66D9
monochromatic
#9D8727 #CDB035 #D9C366 #E5D697 #F1E9C8

Accessibility & contrast

On white

1.76
#D9C366 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.95
#D9C366 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D9C366
11.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D9C366#FFFFFF#000000##000000
##D9C3661.001.7611.9511.95
#FFFFFF1.761.0021.0021.00
#00000011.9521.001.001.00
##00000011.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#D3BF5E
Deuteranopia (green-blind)
#D9C66A
Tritanopia (blue-blind)
#E8B7AE
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #d9c366;
/* rgb */ color: rgb(217, 195, 102);
/* oklch */ color: oklch(81.7% 0.116 96.3);
Tailwind
colors: {
  custom: {
    50: '#e7d494',
    500: '#d9c366',
    950: '#000000',
  },
}
SCSS
$custom: #d9c366;
$custom-light: #e7d494;
$custom-dark: #000000;
JSON
{
  "hex": "#d9c366",
  "rgb": {
    "r": 217,
    "g": 195,
    "b": 102
  },
  "hsl": {
    "h": 48.522,
    "s": 60.209,
    "l": 62.549
  },
  "oklch": {
    "l": 0.81671,
    "c": 0.11637,
    "h": 96.3
  },
  "luminance": 0.54741
}

Semantic roles & 50–950 ramp

primary
#D9C366
secondary
#4254A1
accent
#3EC81E
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#16140D
muted
#85837F

Preview Lab

Preview with #D9C366

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

Preview Lab → · Contrast checker → · Palette generator →

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