#DAC954#DAC954

#DAC954 is a very light, vivid yellow. Relative luminance 0.573; OKLCH L 82.8% C 0.138 H 101.1°. Best body text is #000000 at 12.46:1 contrast (WCAG AA passes).

Color values

HEX#DAC954
RGBrgb(218, 201, 84)
HSLhsl(52, 64%, 59%)
HSVhsv(52, 61%, 85%)
CMYKcmyk(0%, 7.8%, 61.5%, 14.5%)
CIE-LABlab(80.36, -7.98, 58.99)
CIE-LCHlch(80.36, 59.53, 97.70°)
OKLaboklab(82.8% -0.0264 0.135)
OKLCHoklch(82.8% 0.138 101.1)
XYZxyz(51.4023, 57.3209, 16.7422)
Luminance0.5732 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DAC954 #5465DA
analogous
#DA8654 #DAC954 #A8DA54
triadic
#DAC954 #54DAC9 #C954DA
tetradic
#DAC954 #54DA86 #5465DA #DA54A8
square
#DAC954 #54DA86 #5465DA #DA54A8
split-complementary
#DAC954 #54A8DA #8654DA
monochromatic
#948520 #C6B22B #DAC954 #E5D986 #F0E9B9

Accessibility & contrast

On white

1.68
#DAC954 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.46
#DAC954 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DAC954
12.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DAC954#FFFFFF#000000##000000
##DAC9541.001.6812.4612.46
#FFFFFF1.681.0021.0021.00
#00000012.4621.001.001.00
##00000012.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#DAC347
Deuteranopia (green-blind)
#DFCA5A
Tritanopia (blue-blind)
#EABCB0
Achromatopsia (no color)
#C7C7C7

Design tokens & code

CSS
--color: #dac954;
/* rgb */ color: rgb(218, 201, 84);
/* oklch */ color: oklch(82.8% 0.138 101.1);
Tailwind
colors: {
  custom: {
    50: '#e8d989',
    500: '#dac954',
    950: '#000000',
  },
}
SCSS
$custom: #dac954;
$custom-light: #e8d989;
$custom-dark: #000000;
JSON
{
  "hex": "#dac954",
  "rgb": {
    "r": 218,
    "g": 201,
    "b": 84
  },
  "hsl": {
    "h": 52.388,
    "s": 64.423,
    "l": 59.216
  },
  "oklch": {
    "l": 0.82796,
    "c": 0.13753,
    "h": 101.1
  },
  "luminance": 0.57319
}

Semantic roles & 50–950 ramp

primary
#DAC954
secondary
#3A4698
accent
#56E740
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#16140C
muted
#85837F

Preview Lab

Preview with #DAC954

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

Preview Lab → · Contrast checker → · Palette generator →

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