#DACC71#DACC71

#DACC71 is a very light, moderate yellow. Relative luminance 0.593; OKLCH L 83.8% C 0.114 H 100.7°. Best body text is #000000 at 12.86:1 contrast (WCAG AA passes).

Color values

HEX#DACC71
RGBrgb(218, 204, 113)
HSLhsl(52, 59%, 65%)
HSVhsv(52, 48%, 85%)
CMYKcmyk(0%, 6.4%, 48.2%, 14.5%)
CIE-LABlab(81.45, -7.23, 46.79)
CIE-LCHlch(81.45, 47.35, 98.78°)
OKLaboklab(83.76% -0.0211 0.1117)
OKLCHoklch(83.76% 0.114 100.7)
XYZxyz(53.4884, 59.2852, 24.2452)
Luminance0.5928 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DACC71 #717FDA
analogous
#DA9871 #DACC71 #B4DA71
triadic
#DACC71 #71DACC #CC71DA
tetradic
#DACC71 #71DA98 #717FDA #DA71B4
square
#DACC71 #71DA98 #717FDA #DA71B4
split-complementary
#DACC71 #71B4DA #9871DA
monochromatic
#A5952B #CDBB40 #DACC71 #E7DDA2 #F3EFD2

Accessibility & contrast

On white

1.63
#DACC71 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.86
#DACC71 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DACC71
12.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DACC71#FFFFFF#000000##000000
##DACC711.001.6312.8612.86
#FFFFFF1.631.0021.0021.00
#00000012.8621.001.001.00
##00000012.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#DBC769
Deuteranopia (green-blind)
#DFCD75
Tritanopia (blue-blind)
#E8C1B7
Achromatopsia (no color)
#CACACA

Design tokens & code

CSS
--color: #dacc71;
/* rgb */ color: rgb(218, 204, 113);
/* oklch */ color: oklch(83.8% 0.114 100.7);
Tailwind
colors: {
  custom: {
    50: '#e7db9c',
    500: '#dacc71',
    950: '#000000',
  },
}
SCSS
$custom: #dacc71;
$custom-light: #e7db9c;
$custom-dark: #000000;
JSON
{
  "hex": "#dacc71",
  "rgb": {
    "r": 218,
    "g": 204,
    "b": 113
  },
  "hsl": {
    "h": 52,
    "s": 58.659,
    "l": 64.902
  },
  "oklch": {
    "l": 0.83758,
    "c": 0.11364,
    "h": 100.7
  },
  "luminance": 0.59283
}

Semantic roles & 50–950 ramp

primary
#DACC71
secondary
#4654A9
accent
#35C61F
background
#FEFEFC
surface
#FDFBF5
border
#D5D4CF
text
#16140E
muted
#84837F

Preview Lab

Preview with #DACC71

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

Preview Lab → · Contrast checker → · Palette generator →

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