#DAC74C#DAC74C

#DAC74C is a very light, vivid yellow. Relative luminance 0.563; OKLCH L 82.3% C 0.142 H 100.5°. Best body text is #000000 at 12.25:1 contrast (WCAG AA passes).

Color values

HEX#DAC74C
RGBrgb(218, 199, 76)
HSLhsl(52, 66%, 58%)
HSVhsv(52, 65%, 85%)
CMYKcmyk(0%, 8.7%, 65.1%, 14.5%)
CIE-LABlab(79.77, -7.45, 61.76)
CIE-LCHlch(79.77, 62.21, 96.88°)
OKLaboklab(82.31% -0.0258 0.1397)
OKLCHoklch(82.31% 0.142 100.5)
XYZxyz(50.6435, 56.2763, 15.0309)
Luminance0.5627 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DAC74C #4C5FDA
analogous
#DA804C #DAC74C #A6DA4C
triadic
#DAC74C #4CDAC7 #C74CDA
tetradic
#DAC74C #4CDA80 #4C5FDA #DA4CA6
square
#DAC74C #4CDA80 #4C5FDA #DA4CA6
split-complementary
#DAC74C #4CA6DA #804CDA
monochromatic
#8E7F1D #C1AC28 #DAC74C #E4D77F #EFE7B1

Accessibility & contrast

On white

1.71
#DAC74C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.25
#DAC74C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DAC74C
12.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DAC74C#FFFFFF#000000##000000
##DAC74C1.001.7112.2512.25
#FFFFFF1.711.0021.0021.00
#00000012.2521.001.001.00
##00000012.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#D9C23C
Deuteranopia (green-blind)
#DEC953
Tritanopia (blue-blind)
#EAB9AD
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #dac74c;
/* rgb */ color: rgb(218, 199, 76);
/* oklch */ color: oklch(82.3% 0.142 100.5);
Tailwind
colors: {
  custom: {
    50: '#e9d784',
    500: '#dac74c',
    950: '#000000',
  },
}
SCSS
$custom: #dac74c;
$custom-light: #e9d784;
$custom-dark: #000000;
JSON
{
  "hex": "#dac74c",
  "rgb": {
    "r": 218,
    "g": 199,
    "b": 76
  },
  "hsl": {
    "h": 51.972,
    "s": 65.741,
    "l": 57.647
  },
  "oklch": {
    "l": 0.82307,
    "c": 0.14203,
    "h": 100.5
  },
  "luminance": 0.56274
}

Semantic roles & 50–950 ramp

primary
#DAC74C
secondary
#374394
accent
#56E93F
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#17140B
muted
#85837E

Preview Lab

Preview with #DAC74C

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

Preview Lab → · Contrast checker → · Palette generator →

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