#DAC74F#DAC74F

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

Color values

HEX#DAC74F
RGBrgb(218, 199, 79)
HSLhsl(52, 65%, 58%)
HSVhsv(52, 64%, 85%)
CMYKcmyk(0%, 8.7%, 63.8%, 14.5%)
CIE-LABlab(79.80, -7.27, 60.53)
CIE-LCHlch(79.80, 60.96, 96.85°)
OKLaboklab(82.33% -0.025 0.1375)
OKLCHoklch(82.33% 0.14 100.3)
XYZxyz(50.7502, 56.3190, 15.5930)
Luminance0.5632 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DAC74F #4F62DA
analogous
#DA824F #DAC74F #A7DA4F
triadic
#DAC74F #4FDAC7 #C74FDA
tetradic
#DAC74F #4FDA82 #4F62DA #DA4FA7
square
#DAC74F #4FDA82 #4F62DA #DA4FA7
split-complementary
#DAC74F #4FA7DA #824FDA
monochromatic
#90811E #C3AE29 #DAC74F #E5D782 #EFE7B4

Accessibility & contrast

On white

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

On black

12.26
#DAC74F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DAC74F
12.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DAC74F#FFFFFF#000000##000000
##DAC74F1.001.7112.2612.26
#FFFFFF1.711.0021.0021.00
#00000012.2621.001.001.00
##00000012.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#D9C240
Deuteranopia (green-blind)
#DEC956
Tritanopia (blue-blind)
#EABAAE
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #dac74f;
/* rgb */ color: rgb(218, 199, 79);
/* oklch */ color: oklch(82.3% 0.140 100.3);
Tailwind
colors: {
  custom: {
    50: '#e9d786',
    500: '#dac74f',
    950: '#000000',
  },
}
SCSS
$custom: #dac74f;
$custom-light: #e9d786;
$custom-dark: #000000;
JSON
{
  "hex": "#dac74f",
  "rgb": {
    "r": 218,
    "g": 199,
    "b": 79
  },
  "hsl": {
    "h": 51.799,
    "s": 65.258,
    "l": 58.235
  },
  "oklch": {
    "l": 0.82334,
    "c": 0.13977,
    "h": 100.3
  },
  "luminance": 0.56317
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #DAC74F

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

Preview Lab → · Contrast checker → · Palette generator →

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