#DAC541#DAC541

#DAC541 is a light, vivid yellow. Relative luminance 0.552; OKLCH L 81.8% C 0.148 H 100.0°. Best body text is #000000 at 12.04:1 contrast (WCAG AA passes).

Color values

HEX#DAC541
RGBrgb(218, 197, 65)
HSLhsl(52, 67%, 55%)
HSVhsv(52, 70%, 85%)
CMYKcmyk(0%, 9.6%, 70.2%, 14.5%)
CIE-LABlab(79.17, -7.03, 65.52)
CIE-LCHlch(79.17, 65.89, 96.12°)
OKLaboklab(81.8% -0.0258 0.1458)
OKLCHoklch(81.8% 0.148 100)
XYZxyz(49.8361, 55.2219, 13.0338)
Luminance0.5522 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DAC541 #4156DA
analogous
#DA7941 #DAC541 #A2DA41
triadic
#DAC541 #41DAC5 #C541DA
tetradic
#DAC541 #41DA79 #4156DA #DA41A2
square
#DAC541 #41DA79 #4156DA #DA41A2
split-complementary
#DAC541 #41A2DA #7941DA
monochromatic
#86781A #BAA524 #DAC541 #E4D574 #EEE4A7

Accessibility & contrast

On white

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

On black

12.04
#DAC541 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DAC541
12.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DAC541#FFFFFF#000000##000000
##DAC5411.001.7412.0412.04
#FFFFFF1.741.0021.0021.00
#00000012.0421.001.001.00
##00000012.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#D8C02D
Deuteranopia (green-blind)
#DDC849
Tritanopia (blue-blind)
#EBB7AB
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #dac541;
/* rgb */ color: rgb(218, 197, 65);
/* oklch */ color: oklch(81.8% 0.148 100.0);
Tailwind
colors: {
  custom: {
    50: '#e9d67d',
    500: '#dac541',
    950: '#000000',
  },
}
SCSS
$custom: #dac541;
$custom-light: #e9d67d;
$custom-dark: #000000;
JSON
{
  "hex": "#dac541",
  "rgb": {
    "r": 218,
    "g": 197,
    "b": 65
  },
  "hsl": {
    "h": 51.765,
    "s": 67.401,
    "l": 55.49
  },
  "oklch": {
    "l": 0.81804,
    "c": 0.14805,
    "h": 100
  },
  "luminance": 0.5522
}

Semantic roles & 50–950 ramp

primary
#DAC541
secondary
#323F8D
accent
#55EA3E
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#17140A
muted
#85837D

Preview Lab

Preview with #DAC541

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

Preview Lab → · Contrast checker → · Palette generator →

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