#DAC64F#DAC64F

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

Color values

HEX#DAC64F
RGBrgb(218, 198, 79)
HSLhsl(51, 65%, 58%)
HSVhsv(51, 64%, 85%)
CMYKcmyk(0%, 9.2%, 63.8%, 14.5%)
CIE-LABlab(79.53, -6.76, 60.25)
CIE-LCHlch(79.53, 60.63, 96.40°)
OKLaboklab(82.13% -0.0235 0.1369)
OKLCHoklch(82.13% 0.139 99.7)
XYZxyz(50.5209, 55.8603, 15.5166)
Luminance0.5586 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DAC64F #4F63DA
analogous
#DA804F #DAC64F #A8DA4F
triadic
#DAC64F #4FDAC6 #C64FDA
tetradic
#DAC64F #4FDA80 #4F63DA #DA4FA8
square
#DAC64F #4FDA80 #4F63DA #DA4FA8
split-complementary
#DAC64F #4FA8DA #804FDA
monochromatic
#90801E #C3AD29 #DAC64F #E5D682 #EFE7B4

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##DAC64F#FFFFFF#000000##000000
##DAC64F1.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)
#D8C141
Deuteranopia (green-blind)
#DDC855
Tritanopia (blue-blind)
#EAB8AD
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #dac64f;
/* rgb */ color: rgb(218, 198, 79);
/* oklch */ color: oklch(82.1% 0.139 99.7);
Tailwind
colors: {
  custom: {
    50: '#e9d786',
    500: '#dac64f',
    950: '#000000',
  },
}
SCSS
$custom: #dac64f;
$custom-light: #e9d786;
$custom-dark: #000000;
JSON
{
  "hex": "#dac64f",
  "rgb": {
    "r": 218,
    "g": 198,
    "b": 79
  },
  "hsl": {
    "h": 51.367,
    "s": 65.258,
    "l": 58.235
  },
  "oklch": {
    "l": 0.82127,
    "c": 0.13893,
    "h": 99.7
  },
  "luminance": 0.55858
}

Semantic roles & 50–950 ramp

primary
#DAC64F
secondary
#384595
accent
#58E840
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#17140B
muted
#85837E

Preview Lab

Preview with #DAC64F

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

Preview Lab → · Contrast checker → · Palette generator →

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