#DAC04F#DAC04F

#DAC04F is a light, vivid yellow. Relative luminance 0.532; OKLCH L 80.9% C 0.134 H 96.3°. Best body text is #000000 at 11.63:1 contrast (WCAG AA passes).

Color values

HEX#DAC04F
RGBrgb(218, 192, 79)
HSLhsl(49, 65%, 58%)
HSVhsv(49, 64%, 85%)
CMYKcmyk(0%, 11.9%, 63.8%, 14.5%)
CIE-LABlab(77.98, -3.67, 58.58)
CIE-LCHlch(77.98, 58.69, 93.59°)
OKLaboklab(80.89% -0.0146 0.1334)
OKLCHoklch(80.89% 0.134 96.3)
XYZxyz(49.1766, 53.1716, 15.0685)
Luminance0.5317 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DAC04F #4F69DA
analogous
#DA7A4F #DAC04F #AEDA4F
triadic
#DAC04F #4FDAC0 #C04FDA
tetradic
#DAC04F #4FDA7A #4F69DA #DA4FAE
square
#DAC04F #4FDA7A #4F69DA #DA4FAE
split-complementary
#DAC04F #4FAEDA #7A4FDA
monochromatic
#907B1E #C3A629 #DAC04F #E5D282 #EFE4B4

Accessibility & contrast

On white

1.81
#DAC04F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.63
#DAC04F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DAC04F
11.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DAC04F#FFFFFF#000000##000000
##DAC04F1.001.8111.6311.63
#FFFFFF1.811.0021.0021.00
#00000011.6321.001.001.00
##00000011.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#D2BC42
Deuteranopia (green-blind)
#D9C455
Tritanopia (blue-blind)
#EAB2A8
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #dac04f;
/* rgb */ color: rgb(218, 192, 79);
/* oklch */ color: oklch(80.9% 0.134 96.3);
Tailwind
colors: {
  custom: {
    50: '#e9d285',
    500: '#dac04f',
    950: '#000000',
  },
}
SCSS
$custom: #dac04f;
$custom-light: #e9d285;
$custom-dark: #000000;
JSON
{
  "hex": "#dac04f",
  "rgb": {
    "r": 218,
    "g": 192,
    "b": 79
  },
  "hsl": {
    "h": 48.777,
    "s": 65.258,
    "l": 58.235
  },
  "oklch": {
    "l": 0.80893,
    "c": 0.13419,
    "h": 96.3
  },
  "luminance": 0.53169
}

Semantic roles & 50–950 ramp

primary
#DAC04F
secondary
#384995
accent
#5FE840
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#17140B
muted
#85837E

Preview Lab

Preview with #DAC04F

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

Preview Lab → · Contrast checker → · Palette generator →

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