#DACC54#DACC54

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

Color values

HEX#DACC54
RGBrgb(218, 204, 84)
HSLhsl(54, 64%, 59%)
HSVhsv(54, 61%, 85%)
CMYKcmyk(0%, 6.4%, 61.5%, 14.5%)
CIE-LABlab(81.14, -9.50, 59.84)
CIE-LCHlch(81.14, 60.59, 99.02°)
OKLaboklab(83.42% -0.0308 0.1368)
OKLCHoklch(83.42% 0.14 102.7)
XYZxyz(52.1085, 58.7333, 16.9776)
Luminance0.5873 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DACC54 #5462DA
analogous
#DA8954 #DACC54 #A5DA54
triadic
#DACC54 #54DACC #CC54DA
tetradic
#DACC54 #54DA89 #5462DA #DA54A5
square
#DACC54 #54DA89 #5462DA #DA54A5
split-complementary
#DACC54 #54A5DA #8954DA
monochromatic
#948820 #C6B62B #DACC54 #E5DB86 #F0EAB9

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##DACC54#FFFFFF#000000##000000
##DACC541.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)
#DDC646
Deuteranopia (green-blind)
#E2CC5B
Tritanopia (blue-blind)
#E9BFB2
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #dacc54;
/* rgb */ color: rgb(218, 204, 84);
/* oklch */ color: oklch(83.4% 0.140 102.7);
Tailwind
colors: {
  custom: {
    50: '#e8db89',
    500: '#dacc54',
    950: '#000000',
  },
}
SCSS
$custom: #dacc54;
$custom-light: #e8db89;
$custom-dark: #000000;
JSON
{
  "hex": "#dacc54",
  "rgb": {
    "r": 218,
    "g": 204,
    "b": 84
  },
  "hsl": {
    "h": 53.731,
    "s": 64.423,
    "l": 59.216
  },
  "oklch": {
    "l": 0.83419,
    "c": 0.14021,
    "h": 102.7
  },
  "luminance": 0.58731
}

Semantic roles & 50–950 ramp

primary
#DACC54
secondary
#3A4498
accent
#52E740
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#16140C
muted
#85837F

Preview Lab

Preview with #DACC54

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

Preview Lab → · Contrast checker → · Palette generator →

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