#DAC54B#DAC54B

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

Color values

HEX#DAC54B
RGBrgb(218, 197, 75)
HSLhsl(51, 66%, 57%)
HSVhsv(51, 66%, 85%)
CMYKcmyk(0%, 9.6%, 65.6%, 14.5%)
CIE-LABlab(79.24, -6.49, 61.62)
CIE-LCHlch(79.24, 61.96, 96.01°)
OKLaboklab(81.88% -0.0232 0.1392)
OKLCHoklch(81.88% 0.141 99.4)
XYZxyz(50.1519, 55.3482, 14.6968)
Luminance0.5535 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DAC54B #4B60DA
analogous
#DA7E4B #DAC54B #A7DA4B
triadic
#DAC54B #4BDAC5 #C54BDA
tetradic
#DAC54B #4BDA7E #4B60DA #DA4BA7
square
#DAC54B #4BDA7E #4B60DA #DA4BA7
split-complementary
#DAC54B #4BA7DA #7E4BDA
monochromatic
#8E7D1D #C0AA28 #DAC54B #E4D57E #EFE6B1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##DAC54B#FFFFFF#000000##000000
##DAC54B1.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)
#D7C03B
Deuteranopia (green-blind)
#DDC852
Tritanopia (blue-blind)
#EAB7AC
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #dac54b;
/* rgb */ color: rgb(218, 197, 75);
/* oklch */ color: oklch(81.9% 0.141 99.4);
Tailwind
colors: {
  custom: {
    50: '#e9d683',
    500: '#dac54b',
    950: '#000000',
  },
}
SCSS
$custom: #dac54b;
$custom-light: #e9d683;
$custom-dark: #000000;
JSON
{
  "hex": "#dac54b",
  "rgb": {
    "r": 218,
    "g": 197,
    "b": 75
  },
  "hsl": {
    "h": 51.189,
    "s": 65.899,
    "l": 57.451
  },
  "oklch": {
    "l": 0.81885,
    "c": 0.14113,
    "h": 99.4
  },
  "luminance": 0.55346
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #DAC54B

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

Preview Lab → · Contrast checker → · Palette generator →

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