#DAC54E#DAC54E

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

Color values

HEX#DAC54E
RGBrgb(218, 197, 78)
HSLhsl(51, 65%, 58%)
HSVhsv(51, 64%, 85%)
CMYKcmyk(0%, 9.6%, 64.2%, 14.5%)
CIE-LABlab(79.27, -6.31, 60.39)
CIE-LCHlch(79.27, 60.71, 95.97°)
OKLaboklab(81.91% -0.0223 0.1371)
OKLCHoklch(81.91% 0.139 99.2)
XYZxyz(50.2570, 55.3902, 15.2504)
Luminance0.5539 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DAC54E #4E63DA
analogous
#DA7F4E #DAC54E #A9DA4E
triadic
#DAC54E #4EDAC5 #C54EDA
tetradic
#DAC54E #4EDA7F #4E63DA #DA4EA9
square
#DAC54E #4EDA7F #4E63DA #DA4EA9
split-complementary
#DAC54E #4EA9DA #7F4EDA
monochromatic
#907F1E #C2AB29 #DAC54E #E5D681 #EFE6B3

Accessibility & contrast

On white

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

On black

12.08
#DAC54E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DAC54E
12.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DAC54E#FFFFFF#000000##000000
##DAC54E1.001.7412.0812.08
#FFFFFF1.741.0021.0021.00
#00000012.0821.001.001.00
##00000012.0821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #dac54e;
/* rgb */ color: rgb(218, 197, 78);
/* oklch */ color: oklch(81.9% 0.139 99.2);
Tailwind
colors: {
  custom: {
    50: '#e9d685',
    500: '#dac54e',
    950: '#000000',
  },
}
SCSS
$custom: #dac54e;
$custom-light: #e9d685;
$custom-dark: #000000;
JSON
{
  "hex": "#dac54e",
  "rgb": {
    "r": 218,
    "g": 197,
    "b": 78
  },
  "hsl": {
    "h": 51,
    "s": 65.421,
    "l": 58.039
  },
  "oklch": {
    "l": 0.81912,
    "c": 0.13888,
    "h": 99.2
  },
  "luminance": 0.55388
}

Semantic roles & 50–950 ramp

primary
#DAC54E
secondary
#374595
accent
#59E83F
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#17140B
muted
#85837E

Preview Lab

Preview with #DAC54E

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

Preview Lab → · Contrast checker → · Palette generator →

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