#DACC56#DACC56

#DACC56 is a very light, vivid yellow. Relative luminance 0.588; OKLCH L 83.4% C 0.139 H 102.6°. Best body text is #000000 at 12.75:1 contrast (WCAG AA passes).

Color values

HEX#DACC56
RGBrgb(218, 204, 86)
HSLhsl(54, 64%, 60%)
HSVhsv(54, 61%, 85%)
CMYKcmyk(0%, 6.4%, 60.6%, 14.5%)
CIE-LABlab(81.16, -9.37, 59.00)
CIE-LCHlch(81.16, 59.74, 99.03°)
OKLaboklab(83.44% -0.0302 0.1353)
OKLCHoklch(83.44% 0.139 102.6)
XYZxyz(52.1880, 58.7650, 17.3961)
Luminance0.5876 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DACC56 #5664DA
analogous
#DA8A56 #DACC56 #A6DA56
triadic
#DACC56 #56DACC #CC56DA
tetradic
#DACC56 #56DA8A #5664DA #DA56A6
square
#DACC56 #56DA8A #5664DA #DA56A6
split-complementary
#DACC56 #56A6DA #8A56DA
monochromatic
#958921 #C7B72C #DACC56 #E5DB88 #F0EABA

Accessibility & contrast

On white

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

On black

12.75
#DACC56 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DACC56
12.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DACC56#FFFFFF#000000##000000
##DACC561.001.6512.7512.75
#FFFFFF1.651.0021.0021.00
#00000012.7521.001.001.00
##00000012.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#DDC649
Deuteranopia (green-blind)
#E1CC5C
Tritanopia (blue-blind)
#E9BFB3
Achromatopsia (no color)
#CACACA

Design tokens & code

CSS
--color: #dacc56;
/* rgb */ color: rgb(218, 204, 86);
/* oklch */ color: oklch(83.4% 0.139 102.6);
Tailwind
colors: {
  custom: {
    50: '#e8db8a',
    500: '#dacc56',
    950: '#000000',
  },
}
SCSS
$custom: #dacc56;
$custom-light: #e8db8a;
$custom-dark: #000000;
JSON
{
  "hex": "#dacc56",
  "rgb": {
    "r": 218,
    "g": 204,
    "b": 86
  },
  "hsl": {
    "h": 53.636,
    "s": 64.078,
    "l": 59.608
  },
  "oklch": {
    "l": 0.83439,
    "c": 0.13858,
    "h": 102.6
  },
  "luminance": 0.58763
}

Semantic roles & 50–950 ramp

primary
#DACC56
secondary
#3B459A
accent
#52E741
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#16140C
muted
#85837F

Preview Lab

Preview with #DACC56

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

Preview Lab → · Contrast checker → · Palette generator →

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