#DAC54C#DAC54C

#DAC54C is a light, vivid yellow. Relative luminance 0.554; OKLCH L 81.9% C 0.140 H 99.4°. Best body text is #000000 at 12.07:1 contrast (WCAG AA passes).

Color values

HEX#DAC54C
RGBrgb(218, 197, 76)
HSLhsl(51, 66%, 58%)
HSVhsv(51, 65%, 85%)
CMYKcmyk(0%, 9.6%, 65.1%, 14.5%)
CIE-LABlab(79.25, -6.43, 61.21)
CIE-LCHlch(79.25, 61.55, 96.00°)
OKLaboklab(81.89% -0.0229 0.1385)
OKLCHoklch(81.89% 0.14 99.4)
XYZxyz(50.1864, 55.3620, 14.8785)
Luminance0.5536 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DAC54C #4C61DA
analogous
#DA7E4C #DAC54C #A8DA4C
triadic
#DAC54C #4CDAC5 #C54CDA
tetradic
#DAC54C #4CDA7E #4C61DA #DA4CA8
square
#DAC54C #4CDA7E #4C61DA #DA4CA8
split-complementary
#DAC54C #4CA8DA #7E4CDA
monochromatic
#8E7E1D #C1AA28 #DAC54C #E4D57F #EFE6B1

Accessibility & contrast

On white

1.74
#DAC54C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.07
#DAC54C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DAC54C
12.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DAC54C#FFFFFF#000000##000000
##DAC54C1.001.7412.0712.07
#FFFFFF1.741.0021.0021.00
#00000012.0721.001.001.00
##00000012.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#D7C03D
Deuteranopia (green-blind)
#DDC853
Tritanopia (blue-blind)
#EAB7AC
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #dac54c;
/* rgb */ color: rgb(218, 197, 76);
/* oklch */ color: oklch(81.9% 0.140 99.4);
Tailwind
colors: {
  custom: {
    50: '#e9d684',
    500: '#dac54c',
    950: '#000000',
  },
}
SCSS
$custom: #dac54c;
$custom-light: #e9d684;
$custom-dark: #000000;
JSON
{
  "hex": "#dac54c",
  "rgb": {
    "r": 218,
    "g": 197,
    "b": 76
  },
  "hsl": {
    "h": 51.127,
    "s": 65.741,
    "l": 57.647
  },
  "oklch": {
    "l": 0.81893,
    "c": 0.14039,
    "h": 99.4
  },
  "luminance": 0.5536
}

Semantic roles & 50–950 ramp

primary
#DAC54C
secondary
#374494
accent
#58E93F
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#17140B
muted
#85837E

Preview Lab

Preview with #DAC54C

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

Preview Lab → · Contrast checker → · Palette generator →

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