#DAC942#DAC942

#DAC942 is a very light, vivid yellow. Relative luminance 0.571; OKLCH L 82.6% C 0.151 H 102.0°. Best body text is #000000 at 12.41:1 contrast (WCAG AA passes).

Color values

HEX#DAC942
RGBrgb(218, 201, 66)
HSLhsl(53, 67%, 56%)
HSVhsv(53, 70%, 85%)
CMYKcmyk(0%, 7.8%, 69.7%, 14.5%)
CIE-LABlab(80.22, -9.02, 66.18)
CIE-LCHlch(80.22, 66.79, 97.76°)
OKLaboklab(82.64% -0.0313 0.1474)
OKLCHoklch(82.64% 0.151 102)
XYZxyz(50.7857, 57.0742, 13.4945)
Luminance0.5707 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DAC942 #4253DA
analogous
#DA7D42 #DAC942 #9FDA42
triadic
#DAC942 #42DAC9 #C942DA
tetradic
#DAC942 #42DA7D #4253DA #DA429F
square
#DAC942 #42DA7D #4253DA #DA429F
split-complementary
#DAC942 #429FDA #7D42DA
monochromatic
#877B1A #BAAA24 #DAC942 #E4D875 #EEE6A8

Accessibility & contrast

On white

1.69
#DAC942 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.41
#DAC942 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DAC942
12.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DAC942#FFFFFF#000000##000000
##DAC9421.001.6912.4112.41
#FFFFFF1.691.0021.0021.00
#00000012.4121.001.001.00
##00000012.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#DBC32D
Deuteranopia (green-blind)
#E0CA4B
Tritanopia (blue-blind)
#EABBAE
Achromatopsia (no color)
#C7C7C7

Design tokens & code

CSS
--color: #dac942;
/* rgb */ color: rgb(218, 201, 66);
/* oklch */ color: oklch(82.6% 0.151 102.0);
Tailwind
colors: {
  custom: {
    50: '#e9d97e',
    500: '#dac942',
    950: '#000000',
  },
}
SCSS
$custom: #dac942;
$custom-light: #e9d97e;
$custom-dark: #000000;
JSON
{
  "hex": "#dac942",
  "rgb": {
    "r": 218,
    "g": 201,
    "b": 66
  },
  "hsl": {
    "h": 53.289,
    "s": 67.257,
    "l": 55.686
  },
  "oklch": {
    "l": 0.82642,
    "c": 0.15067,
    "h": 102
  },
  "luminance": 0.57072
}

Semantic roles & 50–950 ramp

primary
#DAC942
secondary
#333D8D
accent
#51EA3E
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#17140A
muted
#85837D

Preview Lab

Preview with #DAC942

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

Preview Lab → · Contrast checker → · Palette generator →

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