#D9C64A#D9C64A

#D9C64A is a light, vivid yellow. Relative luminance 0.556; OKLCH L 82.0% C 0.143 H 100.5°. Best body text is #000000 at 12.13:1 contrast (WCAG AA passes).

Color values

HEX#D9C64A
RGBrgb(217, 198, 74)
HSLhsl(52, 65%, 57%)
HSVhsv(52, 66%, 85%)
CMYKcmyk(0%, 8.8%, 65.9%, 14.9%)
CIE-LABlab(79.41, -7.48, 62.17)
CIE-LCHlch(79.41, 62.62, 96.86°)
OKLaboklab(81.99% -0.026 0.1403)
OKLCHoklch(81.99% 0.143 100.5)
XYZxyz(50.0475, 55.6365, 14.5799)
Luminance0.5563 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D9C64A #4A5DD9
analogous
#D97F4A #D9C64A #A5D94A
triadic
#D9C64A #4AD9C6 #C64AD9
tetradic
#D9C64A #4AD97F #4A5DD9 #D94AA5
square
#D9C64A #4AD97F #4A5DD9 #D94AA5
split-complementary
#D9C64A #4AA5D9 #7F4AD9
monochromatic
#8B7D1D #BEAA28 #D9C64A #E4D67D #EEE6AF

Accessibility & contrast

On white

1.73
#D9C64A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.13
#D9C64A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D9C64A
12.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D9C64A#FFFFFF#000000##000000
##D9C64A1.001.7312.1312.13
#FFFFFF1.731.0021.0021.00
#00000012.1321.001.001.00
##00000012.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#D8C13A
Deuteranopia (green-blind)
#DDC851
Tritanopia (blue-blind)
#E9B8AC
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #d9c64a;
/* rgb */ color: rgb(217, 198, 74);
/* oklch */ color: oklch(82.0% 0.143 100.5);
Tailwind
colors: {
  custom: {
    50: '#e8d783',
    500: '#d9c64a',
    950: '#000000',
  },
}
SCSS
$custom: #d9c64a;
$custom-light: #e8d783;
$custom-dark: #000000;
JSON
{
  "hex": "#d9c64a",
  "rgb": {
    "r": 217,
    "g": 198,
    "b": 74
  },
  "hsl": {
    "h": 52.028,
    "s": 65.297,
    "l": 57.059
  },
  "oklch": {
    "l": 0.81992,
    "c": 0.14267,
    "h": 100.5
  },
  "luminance": 0.55634
}

Semantic roles & 50–950 ramp

primary
#D9C64A
secondary
#364291
accent
#56E840
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#16140B
muted
#85837E

Preview Lab

Preview with #D9C64A

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

Preview Lab → · Contrast checker → · Palette generator →

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