#DAC04A#DAC04A

#DAC04A is a light, vivid yellow. Relative luminance 0.531; OKLCH L 80.8% C 0.138 H 96.7°. Best body text is #000000 at 11.62:1 contrast (WCAG AA passes).

Color values

HEX#DAC04A
RGBrgb(218, 192, 74)
HSLhsl(49, 66%, 57%)
HSVhsv(49, 66%, 85%)
CMYKcmyk(0%, 11.9%, 66.1%, 14.5%)
CIE-LABlab(77.93, -3.97, 60.66)
CIE-LCHlch(77.93, 60.79, 93.74°)
OKLaboklab(80.85% -0.0161 0.137)
OKLCHoklch(80.85% 0.138 96.7)
XYZxyz(49.0014, 53.1015, 14.1458)
Luminance0.5310 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DAC04A #4A64DA
analogous
#DA784A #DAC04A #ACDA4A
triadic
#DAC04A #4ADAC0 #C04ADA
tetradic
#DAC04A #4ADA78 #4A64DA #DA4AAC
square
#DAC04A #4ADA78 #4A64DA #DA4AAC
split-complementary
#DAC04A #4AACDA #784ADA
monochromatic
#8D791D #C0A427 #DAC04A #E4D27D #EFE3B0

Accessibility & contrast

On white

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

On black

11.62
#DAC04A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DAC04A
11.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DAC04A#FFFFFF#000000##000000
##DAC04A1.001.8111.6211.62
#FFFFFF1.811.0021.0021.00
#00000011.6221.001.001.00
##00000011.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#D2BC3B
Deuteranopia (green-blind)
#D9C450
Tritanopia (blue-blind)
#EBB2A7
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #dac04a;
/* rgb */ color: rgb(218, 192, 74);
/* oklch */ color: oklch(80.8% 0.138 96.7);
Tailwind
colors: {
  custom: {
    50: '#e9d282',
    500: '#dac04a',
    950: '#000000',
  },
}
SCSS
$custom: #dac04a;
$custom-light: #e9d282;
$custom-dark: #000000;
JSON
{
  "hex": "#dac04a",
  "rgb": {
    "r": 218,
    "g": 192,
    "b": 74
  },
  "hsl": {
    "h": 49.167,
    "s": 66.055,
    "l": 57.255
  },
  "oklch": {
    "l": 0.80847,
    "c": 0.13798,
    "h": 96.7
  },
  "luminance": 0.53099
}

Semantic roles & 50–950 ramp

primary
#DAC04A
secondary
#364792
accent
#5EE93F
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#17140B
muted
#85837E

Preview Lab

Preview with #DAC04A

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

Preview Lab → · Contrast checker → · Palette generator →

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