#DACC4F#DACC4F

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

Color values

HEX#DACC4F
RGBrgb(218, 204, 79)
HSLhsl(54, 65%, 58%)
HSVhsv(54, 64%, 85%)
CMYKcmyk(0%, 6.4%, 63.8%, 14.5%)
CIE-LABlab(81.10, -9.82, 61.92)
CIE-LCHlch(81.10, 62.69, 99.01°)
OKLaboklab(83.37% -0.0322 0.1405)
OKLCHoklch(83.37% 0.144 102.9)
XYZxyz(51.9196, 58.6577, 15.9828)
Luminance0.5866 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DACC4F #4F5DDA
analogous
#DA864F #DACC4F #A2DA4F
triadic
#DACC4F #4FDACC #CC4FDA
tetradic
#DACC4F #4FDA86 #4F5DDA #DA4FA2
square
#DACC4F #4FDA86 #4F5DDA #DA4FA2
split-complementary
#DACC4F #4FA2DA #864FDA
monochromatic
#90851E #C3B329 #DACC4F #E5DB82 #EFE9B4

Accessibility & contrast

On white

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

On black

12.73
#DACC4F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DACC4F
12.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DACC4F#FFFFFF#000000##000000
##DACC4F1.001.6512.7312.73
#FFFFFF1.651.0021.0021.00
#00000012.7321.001.001.00
##00000012.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#DDC63F
Deuteranopia (green-blind)
#E2CC56
Tritanopia (blue-blind)
#EABFB2
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #dacc4f;
/* rgb */ color: rgb(218, 204, 79);
/* oklch */ color: oklch(83.4% 0.144 102.9);
Tailwind
colors: {
  custom: {
    50: '#e9db86',
    500: '#dacc4f',
    950: '#000000',
  },
}
SCSS
$custom: #dacc4f;
$custom-light: #e9db86;
$custom-dark: #000000;
JSON
{
  "hex": "#dacc4f",
  "rgb": {
    "r": 218,
    "g": 204,
    "b": 79
  },
  "hsl": {
    "h": 53.957,
    "s": 65.258,
    "l": 58.235
  },
  "oklch": {
    "l": 0.83373,
    "c": 0.14411,
    "h": 102.9
  },
  "luminance": 0.58656
}

Semantic roles & 50–950 ramp

primary
#DACC4F
secondary
#384195
accent
#51E840
background
#FFFEFC
surface
#FEFBF3
border
#D6D4CD
text
#16140C
muted
#85837F

Preview Lab

Preview with #DACC4F

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

Preview Lab → · Contrast checker → · Palette generator →

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