#DAC64C#DAC64C

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

Color values

HEX#DAC64C
RGBrgb(218, 198, 76)
HSLhsl(52, 66%, 58%)
HSVhsv(52, 65%, 85%)
CMYKcmyk(0%, 9.2%, 65.1%, 14.5%)
CIE-LABlab(79.51, -6.94, 61.48)
CIE-LCHlch(79.51, 61.87, 96.44°)
OKLaboklab(82.1% -0.0243 0.1391)
OKLCHoklch(82.1% 0.141 99.9)
XYZxyz(50.4142, 55.8176, 14.9544)
Luminance0.5582 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DAC64C #4C60DA
analogous
#DA7F4C #DAC64C #A7DA4C
triadic
#DAC64C #4CDAC6 #C64CDA
tetradic
#DAC64C #4CDA7F #4C60DA #DA4CA7
square
#DAC64C #4CDA7F #4C60DA #DA4CA7
split-complementary
#DAC64C #4CA7DA #7F4CDA
monochromatic
#8E7E1D #C1AB28 #DAC64C #E4D67F #EFE6B1

Accessibility & contrast

On white

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

On black

12.16
#DAC64C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DAC64C
12.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DAC64C#FFFFFF#000000##000000
##DAC64C1.001.7312.1612.16
#FFFFFF1.731.0021.0021.00
#00000012.1621.001.001.00
##00000012.1621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #dac64c;
/* rgb */ color: rgb(218, 198, 76);
/* oklch */ color: oklch(82.1% 0.141 99.9);
Tailwind
colors: {
  custom: {
    50: '#e9d784',
    500: '#dac64c',
    950: '#000000',
  },
}
SCSS
$custom: #dac64c;
$custom-light: #e9d784;
$custom-dark: #000000;
JSON
{
  "hex": "#dac64c",
  "rgb": {
    "r": 218,
    "g": 198,
    "b": 76
  },
  "hsl": {
    "h": 51.549,
    "s": 65.741,
    "l": 57.647
  },
  "oklch": {
    "l": 0.821,
    "c": 0.14121,
    "h": 99.9
  },
  "luminance": 0.55815
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #DAC64C

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

Preview Lab → · Contrast checker → · Palette generator →

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