#DACC47#DACC47

#DACC47 is a very light, vivid yellow. Relative luminance 0.585; OKLCH L 83.3% C 0.150 H 103.3°. Best body text is #000000 at 12.71:1 contrast (WCAG AA passes).

Color values

HEX#DACC47
RGBrgb(218, 204, 71)
HSLhsl(54, 67%, 57%)
HSVhsv(54, 67%, 85%)
CMYKcmyk(0%, 6.4%, 67.4%, 14.5%)
CIE-LABlab(81.04, -10.28, 65.09)
CIE-LCHlch(81.04, 65.89, 98.97°)
OKLaboklab(83.31% -0.0344 0.1459)
OKLCHoklch(83.31% 0.15 103.3)
XYZxyz(51.6458, 58.5482, 14.5405)
Luminance0.5855 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DACC47 #4755DA
analogous
#DA8347 #DACC47 #9FDA47
triadic
#DACC47 #47DACC #CC47DA
tetradic
#DACC47 #47DA83 #4755DA #DA479F
square
#DACC47 #47DA83 #4755DA #DA479F
split-complementary
#DACC47 #479FDA #8347DA
monochromatic
#8B801C #BEAF26 #DACC47 #E4DA7A #EEE8AD

Accessibility & contrast

On white

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

On black

12.71
#DACC47 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DACC47
12.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DACC47#FFFFFF#000000##000000
##DACC471.001.6512.7112.71
#FFFFFF1.651.0021.0021.00
#00000012.7121.001.001.00
##00000012.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#DEC534
Deuteranopia (green-blind)
#E2CC4F
Tritanopia (blue-blind)
#EABEB1
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #dacc47;
/* rgb */ color: rgb(218, 204, 71);
/* oklch */ color: oklch(83.3% 0.150 103.3);
Tailwind
colors: {
  custom: {
    50: '#e9db81',
    500: '#dacc47',
    950: '#000000',
  },
}
SCSS
$custom: #dacc47;
$custom-light: #e9db81;
$custom-dark: #000000;
JSON
{
  "hex": "#dacc47",
  "rgb": {
    "r": 218,
    "g": 204,
    "b": 71
  },
  "hsl": {
    "h": 54.286,
    "s": 66.516,
    "l": 56.667
  },
  "oklch": {
    "l": 0.83305,
    "c": 0.1499,
    "h": 103.3
  },
  "luminance": 0.58546
}

Semantic roles & 50–950 ramp

primary
#DACC47
secondary
#353D91
accent
#4FE93E
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#17140B
muted
#85837E

Preview Lab

Preview with #DACC47

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

Preview Lab → · Contrast checker → · Palette generator →

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