#DACD52#DACD52

#DACD52 is a very light, vivid yellow. Relative luminance 0.592; OKLCH L 83.6% C 0.143 H 103.3°. Best body text is #000000 at 12.84:1 contrast (WCAG AA passes).

Color values

HEX#DACD52
RGBrgb(218, 205, 82)
HSLhsl(54, 65%, 59%)
HSVhsv(54, 62%, 85%)
CMYKcmyk(0%, 6%, 62.4%, 14.5%)
CIE-LABlab(81.39, -10.14, 60.96)
CIE-LCHlch(81.39, 61.80, 99.44°)
OKLaboklab(83.61% -0.0328 0.1389)
OKLCHoklch(83.61% 0.143 103.3)
XYZxyz(52.2697, 59.1792, 16.6504)
Luminance0.5918 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DACD52 #525FDA
analogous
#DA8952 #DACD52 #A3DA52
triadic
#DACD52 #52DACD #CD52DA
tetradic
#DACD52 #52DA89 #525FDA #DA52A3
square
#DACD52 #52DA89 #525FDA #DA52A3
split-complementary
#DACD52 #52A3DA #8952DA
monochromatic
#92871F #C5B62A #DACD52 #E5DC84 #F0EAB7

Accessibility & contrast

On white

1.64
#DACD52 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.84
#DACD52 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DACD52
12.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DACD52#FFFFFF#000000##000000
##DACD521.001.6412.8412.84
#FFFFFF1.641.0021.0021.00
#00000012.8421.001.001.00
##00000012.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#DEC743
Deuteranopia (green-blind)
#E2CD59
Tritanopia (blue-blind)
#E9C0B3
Achromatopsia (no color)
#CACACA

Design tokens & code

CSS
--color: #dacd52;
/* rgb */ color: rgb(218, 205, 82);
/* oklch */ color: oklch(83.6% 0.143 103.3);
Tailwind
colors: {
  custom: {
    50: '#e9dc88',
    500: '#dacd52',
    950: '#000000',
  },
}
SCSS
$custom: #dacd52;
$custom-light: #e9dc88;
$custom-dark: #000000;
JSON
{
  "hex": "#dacd52",
  "rgb": {
    "r": 218,
    "g": 205,
    "b": 82
  },
  "hsl": {
    "h": 54.265,
    "s": 64.762,
    "l": 58.824
  },
  "oklch": {
    "l": 0.83609,
    "c": 0.1427,
    "h": 103.3
  },
  "luminance": 0.59177
}

Semantic roles & 50–950 ramp

primary
#DACD52
secondary
#394297
accent
#50E840
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#16150C
muted
#85847F

Preview Lab

Preview with #DACD52

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

Preview Lab → · Contrast checker → · Palette generator →

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