#DACC4A#DACC4A

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

Color values

HEX#DACC4A
RGBrgb(218, 204, 74)
HSLhsl(54, 66%, 57%)
HSVhsv(54, 66%, 85%)
CMYKcmyk(0%, 6.4%, 66.1%, 14.5%)
CIE-LABlab(81.06, -10.11, 63.92)
CIE-LCHlch(81.06, 64.72, 98.99°)
OKLaboklab(83.33% -0.0336 0.1439)
OKLCHoklch(83.33% 0.148 103.1)
XYZxyz(51.7444, 58.5876, 15.0602)
Luminance0.5859 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DACC4A #4A58DA
analogous
#DA844A #DACC4A #A0DA4A
triadic
#DACC4A #4ADACC #CC4ADA
tetradic
#DACC4A #4ADA84 #4A58DA #DA4AA0
square
#DACC4A #4ADA84 #4A58DA #DA4AA0
split-complementary
#DACC4A #4AA0DA #844ADA
monochromatic
#8D821D #C0B127 #DACC4A #E4DA7D #EFE9B0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##DACC4A#FFFFFF#000000##000000
##DACC4A1.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)
#DEC639
Deuteranopia (green-blind)
#E2CC52
Tritanopia (blue-blind)
#EABEB1
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #dacc4a;
/* rgb */ color: rgb(218, 204, 74);
/* oklch */ color: oklch(83.3% 0.148 103.1);
Tailwind
colors: {
  custom: {
    50: '#e9db83',
    500: '#dacc4a',
    950: '#000000',
  },
}
SCSS
$custom: #dacc4a;
$custom-light: #e9db83;
$custom-dark: #000000;
JSON
{
  "hex": "#dacc4a",
  "rgb": {
    "r": 218,
    "g": 204,
    "b": 74
  },
  "hsl": {
    "h": 54.167,
    "s": 66.055,
    "l": 57.255
  },
  "oklch": {
    "l": 0.83329,
    "c": 0.1478,
    "h": 103.1
  },
  "luminance": 0.58586
}

Semantic roles & 50–950 ramp

primary
#DACC4A
secondary
#363F92
accent
#4FE93F
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#17140B
muted
#85837E

Preview Lab

Preview with #DACC4A

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

Preview Lab → · Contrast checker → · Palette generator →

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