#DAC64D#DAC64D

#DAC64D is a very light, vivid yellow. Relative luminance 0.558; OKLCH L 82.1% C 0.140 H 99.9°. Best body text is #000000 at 12.17:1 contrast (WCAG AA passes).

Color values

HEX#DAC64D
RGBrgb(218, 198, 77)
HSLhsl(51, 66%, 58%)
HSVhsv(51, 65%, 85%)
CMYKcmyk(0%, 9.2%, 64.7%, 14.5%)
CIE-LABlab(79.52, -6.88, 61.07)
CIE-LCHlch(79.52, 61.46, 96.43°)
OKLaboklab(82.11% -0.0241 0.1384)
OKLCHoklch(82.11% 0.14 99.9)
XYZxyz(50.4492, 55.8316, 15.1390)
Luminance0.5583 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DAC64D #4D61DA
analogous
#DA7F4D #DAC64D #A8DA4D
triadic
#DAC64D #4DDAC6 #C64DDA
tetradic
#DAC64D #4DDA7F #4D61DA #DA4DA8
square
#DAC64D #4DDA7F #4D61DA #DA4DA8
split-complementary
#DAC64D #4DA8DA #7F4DDA
monochromatic
#8F7F1E #C2AC28 #DAC64D #E5D680 #EFE6B2

Accessibility & contrast

On white

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

On black

12.17
#DAC64D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DAC64D
12.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DAC64D#FFFFFF#000000##000000
##DAC64D1.001.7312.1712.17
#FFFFFF1.731.0021.0021.00
#00000012.1721.001.001.00
##00000012.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#D8C13E
Deuteranopia (green-blind)
#DDC854
Tritanopia (blue-blind)
#EAB8AD
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #dac64d;
/* rgb */ color: rgb(218, 198, 77);
/* oklch */ color: oklch(82.1% 0.140 99.9);
Tailwind
colors: {
  custom: {
    50: '#e9d784',
    500: '#dac64d',
    950: '#000000',
  },
}
SCSS
$custom: #dac64d;
$custom-light: #e9d784;
$custom-dark: #000000;
JSON
{
  "hex": "#dac64d",
  "rgb": {
    "r": 218,
    "g": 198,
    "b": 77
  },
  "hsl": {
    "h": 51.489,
    "s": 65.581,
    "l": 57.843
  },
  "oklch": {
    "l": 0.82109,
    "c": 0.14046,
    "h": 99.9
  },
  "luminance": 0.55829
}

Semantic roles & 50–950 ramp

primary
#DAC64D
secondary
#374494
accent
#57E93F
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#17140B
muted
#85837E

Preview Lab

Preview with #DAC64D

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

Preview Lab → · Contrast checker → · Palette generator →

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