#DAC166#DAC166

#DAC166 is a light, moderate yellow. Relative luminance 0.540; OKLCH L 81.4% C 0.115 H 94.3°. Best body text is #000000 at 11.80:1 contrast (WCAG AA passes).

Color values

HEX#DAC166
RGBrgb(218, 193, 102)
HSLhsl(47, 61%, 63%)
HSVhsv(47, 53%, 85%)
CMYKcmyk(0%, 11.5%, 53.2%, 14.5%)
CIE-LABlab(78.47, -2.52, 48.55)
CIE-LCHlch(78.47, 48.61, 92.98°)
OKLaboklab(81.36% -0.0086 0.1146)
OKLCHoklch(81.36% 0.115 94.3)
XYZxyz(50.3835, 54.0069, 20.3383)
Luminance0.5401 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DAC166 #667FDA
analogous
#DA8766 #DAC166 #B9DA66
triadic
#DAC166 #66DAC1 #C166DA
tetradic
#DAC166 #66DA87 #667FDA #DA66B9
square
#DAC166 #66DA87 #667FDA #DA66B9
split-complementary
#DAC166 #66B9DA #8766DA
monochromatic
#9F8526 #CEAD35 #DAC166 #E6D597 #F2E9C9

Accessibility & contrast

On white

1.78
#DAC166 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.80
#DAC166 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DAC166
11.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DAC166#FFFFFF#000000##000000
##DAC1661.001.7811.8011.80
#FFFFFF1.781.0021.0021.00
#00000011.8021.001.001.00
##00000011.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#D1BE5E
Deuteranopia (green-blind)
#D8C56A
Tritanopia (blue-blind)
#E9B5AC
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #dac166;
/* rgb */ color: rgb(218, 193, 102);
/* oklch */ color: oklch(81.4% 0.115 94.3);
Tailwind
colors: {
  custom: {
    50: '#e8d394',
    500: '#dac166',
    950: '#000000',
  },
}
SCSS
$custom: #dac166;
$custom-light: #e8d394;
$custom-dark: #000000;
JSON
{
  "hex": "#dac166",
  "rgb": {
    "r": 218,
    "g": 193,
    "b": 102
  },
  "hsl": {
    "h": 47.069,
    "s": 61.053,
    "l": 62.745
  },
  "oklch": {
    "l": 0.81355,
    "c": 0.11492,
    "h": 94.3
  },
  "luminance": 0.54005
}

Semantic roles & 50–950 ramp

primary
#DAC166
secondary
#4156A3
accent
#42C91D
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#16140D
muted
#85837F

Preview Lab

Preview with #DAC166

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

Preview Lab → · Contrast checker → · Palette generator →

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