#DAC54F#DAC54F

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

Color values

HEX#DAC54F
RGBrgb(218, 197, 79)
HSLhsl(51, 65%, 58%)
HSVhsv(51, 64%, 85%)
CMYKcmyk(0%, 9.6%, 63.8%, 14.5%)
CIE-LABlab(79.27, -6.25, 59.97)
CIE-LCHlch(79.27, 60.29, 95.95°)
OKLaboklab(81.92% -0.022 0.1363)
OKLCHoklch(81.92% 0.138 99.2)
XYZxyz(50.2931, 55.4047, 15.4407)
Luminance0.5540 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DAC54F #4F64DA
analogous
#DA7F4F #DAC54F #A9DA4F
triadic
#DAC54F #4FDAC5 #C54FDA
tetradic
#DAC54F #4FDA7F #4F64DA #DA4FA9
square
#DAC54F #4FDA7F #4F64DA #DA4FA9
split-complementary
#DAC54F #4FA9DA #7F4FDA
monochromatic
#907F1E #C3AC29 #DAC54F #E5D682 #EFE6B4

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##DAC54F#FFFFFF#000000##000000
##DAC54F1.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)
#D7C041
Deuteranopia (green-blind)
#DDC855
Tritanopia (blue-blind)
#EAB7AC
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #dac54f;
/* rgb */ color: rgb(218, 197, 79);
/* oklch */ color: oklch(81.9% 0.138 99.2);
Tailwind
colors: {
  custom: {
    50: '#e9d685',
    500: '#dac54f',
    950: '#000000',
  },
}
SCSS
$custom: #dac54f;
$custom-light: #e9d685;
$custom-dark: #000000;
JSON
{
  "hex": "#dac54f",
  "rgb": {
    "r": 218,
    "g": 197,
    "b": 79
  },
  "hsl": {
    "h": 50.935,
    "s": 65.258,
    "l": 58.235
  },
  "oklch": {
    "l": 0.81921,
    "c": 0.13811,
    "h": 99.2
  },
  "luminance": 0.55402
}

Semantic roles & 50–950 ramp

primary
#DAC54F
secondary
#384695
accent
#59E840
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#17140B
muted
#85837E

Preview Lab

Preview with #DAC54F

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

Preview Lab → · Contrast checker → · Palette generator →

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