#DACC4C#DACC4C

#DACC4C is a very light, vivid yellow. Relative luminance 0.586; OKLCH L 83.3% C 0.146 H 103.1°. Best body text is #000000 at 12.72:1 contrast (WCAG AA passes).

Color values

HEX#DACC4C
RGBrgb(218, 204, 76)
HSLhsl(54, 66%, 58%)
HSVhsv(54, 65%, 85%)
CMYKcmyk(0%, 6.4%, 65.1%, 14.5%)
CIE-LABlab(81.08, -10.00, 63.13)
CIE-LCHlch(81.08, 63.91, 99.00°)
OKLaboklab(83.35% -0.0331 0.1426)
OKLCHoklch(83.35% 0.146 103.1)
XYZxyz(51.8129, 58.6150, 15.4207)
Luminance0.5861 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DACC4C #4C5ADA
analogous
#DA854C #DACC4C #A1DA4C
triadic
#DACC4C #4CDACC #CC4CDA
tetradic
#DACC4C #4CDA85 #4C5ADA #DA4CA1
square
#DACC4C #4CDA85 #4C5ADA #DA4CA1
split-complementary
#DACC4C #4CA1DA #854CDA
monochromatic
#8E831D #C1B228 #DACC4C #E4DA7F #EFE9B1

Accessibility & contrast

On white

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

On black

12.72
#DACC4C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DACC4C
12.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DACC4C#FFFFFF#000000##000000
##DACC4C1.001.6512.7212.72
#FFFFFF1.651.0021.0021.00
#00000012.7221.001.001.00
##00000012.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#DEC63B
Deuteranopia (green-blind)
#E2CC54
Tritanopia (blue-blind)
#EABEB2
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #dacc4c;
/* rgb */ color: rgb(218, 204, 76);
/* oklch */ color: oklch(83.3% 0.146 103.1);
Tailwind
colors: {
  custom: {
    50: '#e9db84',
    500: '#dacc4c',
    950: '#000000',
  },
}
SCSS
$custom: #dacc4c;
$custom-light: #e9db84;
$custom-dark: #000000;
JSON
{
  "hex": "#dacc4c",
  "rgb": {
    "r": 218,
    "g": 204,
    "b": 76
  },
  "hsl": {
    "h": 54.085,
    "s": 65.741,
    "l": 57.647
  },
  "oklch": {
    "l": 0.83346,
    "c": 0.14635,
    "h": 103.1
  },
  "luminance": 0.58613
}

Semantic roles & 50–950 ramp

primary
#DACC4C
secondary
#374094
accent
#50E93F
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#17140B
muted
#85837E

Preview Lab

Preview with #DACC4C

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

Preview Lab → · Contrast checker → · Palette generator →

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