#D9C64B#D9C64B

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

Color values

HEX#D9C64B
RGBrgb(217, 198, 75)
HSLhsl(52, 65%, 57%)
HSVhsv(52, 65%, 85%)
CMYKcmyk(0%, 8.8%, 65.4%, 14.9%)
CIE-LABlab(79.41, -7.42, 61.77)
CIE-LCHlch(79.41, 62.21, 96.85°)
OKLaboklab(82% -0.0258 0.1396)
OKLCHoklch(82% 0.142 100.5)
XYZxyz(50.0815, 55.6501, 14.7588)
Luminance0.5565 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D9C64B #4B5ED9
analogous
#D97F4B #D9C64B #A5D94B
triadic
#D9C64B #4BD9C6 #C64BD9
tetradic
#D9C64B #4BD97F #4B5ED9 #D94BA5
square
#D9C64B #4BD97F #4B5ED9 #D94BA5
split-complementary
#D9C64B #4BA5D9 #7F4BD9
monochromatic
#8C7D1E #BFAA28 #D9C64B #E4D67E #EEE6B0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D9C64B#FFFFFF#000000##000000
##D9C64B1.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)
#D8C13B
Deuteranopia (green-blind)
#DDC852
Tritanopia (blue-blind)
#E9B8AC
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #d9c64b;
/* rgb */ color: rgb(217, 198, 75);
/* oklch */ color: oklch(82.0% 0.142 100.5);
Tailwind
colors: {
  custom: {
    50: '#e8d783',
    500: '#d9c64b',
    950: '#000000',
  },
}
SCSS
$custom: #d9c64b;
$custom-light: #e8d783;
$custom-dark: #000000;
JSON
{
  "hex": "#d9c64b",
  "rgb": {
    "r": 217,
    "g": 198,
    "b": 75
  },
  "hsl": {
    "h": 51.972,
    "s": 65.138,
    "l": 57.255
  },
  "oklch": {
    "l": 0.82001,
    "c": 0.14193,
    "h": 100.5
  },
  "luminance": 0.55648
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D9C64B

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

Preview Lab → · Contrast checker → · Palette generator →

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