#DAD542#DAD542

#DAD542 is a very light, vivid yellow. Relative luminance 0.629; OKLCH L 85.2% C 0.161 H 107.4°. Best body text is #000000 at 13.58:1 contrast (WCAG AA passes).

Color values

HEX#DAD542
RGBrgb(218, 213, 66)
HSLhsl(58, 67%, 56%)
HSVhsv(58, 70%, 85%)
CMYKcmyk(0%, 2.3%, 69.7%, 14.5%)
CIE-LABlab(83.38, -15.05, 69.30)
CIE-LCHlch(83.38, 70.92, 102.25°)
OKLaboklab(85.16% -0.0483 0.154)
OKLCHoklch(85.16% 0.161 107.4)
XYZxyz(53.6931, 62.8891, 14.4637)
Luminance0.6289 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DAD542 #4247DA
analogous
#DA8942 #DAD542 #93DA42
triadic
#DAD542 #42DAD5 #D542DA
tetradic
#DAD542 #42DA89 #4247DA #DA4293
square
#DAD542 #42DA89 #4247DA #DA4293
split-complementary
#DAD542 #4293DA #8942DA
monochromatic
#87841A #BAB524 #DAD542 #E4E075 #EEECA8

Accessibility & contrast

On white

1.55
#DAD542 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.58
#DAD542 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DAD542
13.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DAD542#FFFFFF#000000##000000
##DAD5421.001.5513.5813.58
#FFFFFF1.551.0021.0021.00
#00000013.5821.001.001.00
##00000013.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#E7CD29
Deuteranopia (green-blind)
#E9D24C
Tritanopia (blue-blind)
#EAC7B8
Achromatopsia (no color)
#D0D0D0

Design tokens & code

CSS
--color: #dad542;
/* rgb */ color: rgb(218, 213, 66);
/* oklch */ color: oklch(85.2% 0.161 107.4);
Tailwind
colors: {
  custom: {
    50: '#e9e17f',
    500: '#dad542',
    950: '#000000',
  },
}
SCSS
$custom: #dad542;
$custom-light: #e9e17f;
$custom-dark: #000000;
JSON
{
  "hex": "#dad542",
  "rgb": {
    "r": 218,
    "g": 213,
    "b": 66
  },
  "hsl": {
    "h": 58.026,
    "s": 67.257,
    "l": 55.686
  },
  "oklch": {
    "l": 0.85159,
    "c": 0.16138,
    "h": 107.4
  },
  "luminance": 0.62887
}

Semantic roles & 50–950 ramp

primary
#DAD542
secondary
#33368D
accent
#43EA3E
background
#FFFEFB
surface
#FEFCF2
border
#D6D5CC
text
#17150B
muted
#85847E

Preview Lab

Preview with #DAD542

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

Preview Lab → · Contrast checker → · Palette generator →

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