#DAC64B#DAC64B

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

Color values

HEX#DAC64B
RGBrgb(218, 198, 75)
HSLhsl(52, 66%, 57%)
HSVhsv(52, 66%, 85%)
CMYKcmyk(0%, 9.2%, 65.6%, 14.5%)
CIE-LABlab(79.50, -7.00, 61.89)
CIE-LCHlch(79.50, 62.28, 96.45°)
OKLaboklab(82.09% -0.0246 0.1398)
OKLCHoklch(82.09% 0.142 100)
XYZxyz(50.3797, 55.8038, 14.7728)
Luminance0.5580 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DAC64B #4B5FDA
analogous
#DA7E4B #DAC64B #A7DA4B
triadic
#DAC64B #4BDAC6 #C64BDA
tetradic
#DAC64B #4BDA7E #4B5FDA #DA4BA7
square
#DAC64B #4BDA7E #4B5FDA #DA4BA7
split-complementary
#DAC64B #4BA7DA #7E4BDA
monochromatic
#8E7E1D #C0AB28 #DAC64B #E4D67E #EFE6B1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##DAC64B#FFFFFF#000000##000000
##DAC64B1.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)
#D8C13B
Deuteranopia (green-blind)
#DEC852
Tritanopia (blue-blind)
#EAB8AC
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #dac64b;
/* rgb */ color: rgb(218, 198, 75);
/* oklch */ color: oklch(82.1% 0.142 100.0);
Tailwind
colors: {
  custom: {
    50: '#e9d783',
    500: '#dac64b',
    950: '#000000',
  },
}
SCSS
$custom: #dac64b;
$custom-light: #e9d783;
$custom-dark: #000000;
JSON
{
  "hex": "#dac64b",
  "rgb": {
    "r": 218,
    "g": 198,
    "b": 75
  },
  "hsl": {
    "h": 51.608,
    "s": 65.899,
    "l": 57.451
  },
  "oklch": {
    "l": 0.82091,
    "c": 0.14194,
    "h": 100
  },
  "luminance": 0.55802
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #DAC64B

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

Preview Lab → · Contrast checker → · Palette generator →

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