#DACC51#DACC51

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

Color values

HEX#DACC51
RGBrgb(218, 204, 81)
HSLhsl(54, 65%, 59%)
HSVhsv(54, 63%, 85%)
CMYKcmyk(0%, 6.4%, 62.8%, 14.5%)
CIE-LABlab(81.12, -9.70, 61.10)
CIE-LCHlch(81.12, 61.86, 99.02°)
OKLaboklab(83.39% -0.0316 0.139)
OKLCHoklch(83.39% 0.143 102.8)
XYZxyz(51.9935, 58.6873, 16.3720)
Luminance0.5868 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DACC51 #515FDA
analogous
#DA8751 #DACC51 #A3DA51
triadic
#DACC51 #51DACC #CC51DA
tetradic
#DACC51 #51DA87 #515FDA #DA51A3
square
#DACC51 #51DA87 #515FDA #DA51A3
split-complementary
#DACC51 #51A3DA #8751DA
monochromatic
#92861F #C4B42A #DACC51 #E5DB83 #EFEAB6

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##DACC51#FFFFFF#000000##000000
##DACC511.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)
#DDC642
Deuteranopia (green-blind)
#E2CC58
Tritanopia (blue-blind)
#EABFB2
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #dacc51;
/* rgb */ color: rgb(218, 204, 81);
/* oklch */ color: oklch(83.4% 0.143 102.8);
Tailwind
colors: {
  custom: {
    50: '#e9db87',
    500: '#dacc51',
    950: '#000000',
  },
}
SCSS
$custom: #dacc51;
$custom-light: #e9db87;
$custom-dark: #000000;
JSON
{
  "hex": "#dacc51",
  "rgb": {
    "r": 218,
    "g": 204,
    "b": 81
  },
  "hsl": {
    "h": 53.869,
    "s": 64.929,
    "l": 58.627
  },
  "oklch": {
    "l": 0.83391,
    "c": 0.14258,
    "h": 102.8
  },
  "luminance": 0.58685
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #DACC51

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

Preview Lab → · Contrast checker → · Palette generator →

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