#DACC52#DACC52

#DACC52 is a very light, vivid yellow. Relative luminance 0.587; OKLCH L 83.4% C 0.142 H 102.8°. Best body text is #000000 at 12.74:1 contrast (WCAG AA passes).

Color values

HEX#DACC52
RGBrgb(218, 204, 82)
HSLhsl(54, 65%, 59%)
HSVhsv(54, 62%, 85%)
CMYKcmyk(0%, 6.4%, 62.4%, 14.5%)
CIE-LABlab(81.13, -9.63, 60.68)
CIE-LCHlch(81.13, 61.44, 99.02°)
OKLaboklab(83.4% -0.0314 0.1383)
OKLCHoklch(83.4% 0.142 102.8)
XYZxyz(52.0313, 58.7024, 16.5709)
Luminance0.5870 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DACC52 #5260DA
analogous
#DA8852 #DACC52 #A4DA52
triadic
#DACC52 #52DACC #CC52DA
tetradic
#DACC52 #52DA88 #5260DA #DA52A4
square
#DACC52 #52DA88 #5260DA #DA52A4
split-complementary
#DACC52 #52A4DA #8852DA
monochromatic
#92861F #C5B52A #DACC52 #E5DB84 #F0EAB7

Accessibility & contrast

On white

1.65
#DACC52 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.74
#DACC52 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DACC52
12.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DACC52#FFFFFF#000000##000000
##DACC521.001.6512.7412.74
#FFFFFF1.651.0021.0021.00
#00000012.7421.001.001.00
##00000012.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#DDC644
Deuteranopia (green-blind)
#E2CC59
Tritanopia (blue-blind)
#EABFB2
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #dacc52;
/* rgb */ color: rgb(218, 204, 82);
/* oklch */ color: oklch(83.4% 0.142 102.8);
Tailwind
colors: {
  custom: {
    50: '#e9db88',
    500: '#dacc52',
    950: '#000000',
  },
}
SCSS
$custom: #dacc52;
$custom-light: #e9db88;
$custom-dark: #000000;
JSON
{
  "hex": "#dacc52",
  "rgb": {
    "r": 218,
    "g": 204,
    "b": 82
  },
  "hsl": {
    "h": 53.824,
    "s": 64.762,
    "l": 58.824
  },
  "oklch": {
    "l": 0.834,
    "c": 0.14179,
    "h": 102.8
  },
  "luminance": 0.587
}

Semantic roles & 50–950 ramp

primary
#DACC52
secondary
#394397
accent
#51E840
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#16140C
muted
#85837F

Preview Lab

Preview with #DACC52

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

Preview Lab → · Contrast checker → · Palette generator →

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