#DAC74B#DAC74B

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

Color values

HEX#DAC74B
RGBrgb(218, 199, 75)
HSLhsl(52, 66%, 57%)
HSVhsv(52, 66%, 85%)
CMYKcmyk(0%, 8.7%, 65.6%, 14.5%)
CIE-LABlab(79.76, -7.51, 62.16)
CIE-LCHlch(79.76, 62.61, 96.89°)
OKLaboklab(82.3% -0.0261 0.1404)
OKLCHoklch(82.3% 0.143 100.5)
XYZxyz(50.6090, 56.2625, 14.8492)
Luminance0.5626 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DAC74B #4B5EDA
analogous
#DA804B #DAC74B #A6DA4B
triadic
#DAC74B #4BDAC7 #C74BDA
tetradic
#DAC74B #4BDA80 #4B5EDA #DA4BA6
square
#DAC74B #4BDA80 #4B5EDA #DA4BA6
split-complementary
#DAC74B #4BA6DA #804BDA
monochromatic
#8E7F1D #C0AC28 #DAC74B #E4D77E #EFE7B1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##DAC74B#FFFFFF#000000##000000
##DAC74B1.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)
#D9C13B
Deuteranopia (green-blind)
#DEC952
Tritanopia (blue-blind)
#EAB9AD
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #dac74b;
/* rgb */ color: rgb(218, 199, 75);
/* oklch */ color: oklch(82.3% 0.143 100.5);
Tailwind
colors: {
  custom: {
    50: '#e9d783',
    500: '#dac74b',
    950: '#000000',
  },
}
SCSS
$custom: #dac74b;
$custom-light: #e9d783;
$custom-dark: #000000;
JSON
{
  "hex": "#dac74b",
  "rgb": {
    "r": 218,
    "g": 199,
    "b": 75
  },
  "hsl": {
    "h": 52.028,
    "s": 65.899,
    "l": 57.451
  },
  "oklch": {
    "l": 0.82298,
    "c": 0.14277,
    "h": 100.5
  },
  "luminance": 0.5626
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #DAC74B

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

Preview Lab → · Contrast checker → · Palette generator →

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