#DACC39#DACC39

#DACC39 is a very light, vivid yellow. Relative luminance 0.584; OKLCH L 83.2% C 0.159 H 103.7°. Best body text is #000000 at 12.68:1 contrast (WCAG AA passes).

Color values

HEX#DACC39
RGBrgb(218, 204, 57)
HSLhsl(55, 69%, 54%)
HSVhsv(55, 74%, 85%)
CMYKcmyk(0%, 6.4%, 73.9%, 14.5%)
CIE-LABlab(80.95, -10.95, 70.11)
CIE-LCHlch(80.95, 70.96, 98.88°)
OKLaboklab(83.21% -0.0377 0.1541)
OKLCHoklch(83.21% 0.159 103.7)
XYZxyz(51.2471, 58.3887, 12.4408)
Luminance0.5839 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DACC39 #3947DA
analogous
#DA7C39 #DACC39 #97DA39
triadic
#DACC39 #39DACC #CC39DA
tetradic
#DACC39 #39DA7C #3947DA #DA3997
square
#DACC39 #39DA7C #3947DA #DA3997
split-complementary
#DACC39 #3997DA #7C39DA
monochromatic
#817718 #B4A722 #DACC39 #E4D96D #EDE7A0

Accessibility & contrast

On white

1.66
#DACC39 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.68
#DACC39 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DACC39
12.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DACC39#FFFFFF#000000##000000
##DACC391.001.6612.6812.68
#FFFFFF1.661.0021.0021.00
#00000012.6821.001.001.00
##00000012.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#DEC51B
Deuteranopia (green-blind)
#E3CC44
Tritanopia (blue-blind)
#EABEB0
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #dacc39;
/* rgb */ color: rgb(218, 204, 57);
/* oklch */ color: oklch(83.2% 0.159 103.7);
Tailwind
colors: {
  custom: {
    50: '#e9db7a',
    500: '#dacc39',
    950: '#000000',
  },
}
SCSS
$custom: #dacc39;
$custom-light: #e9db7a;
$custom-dark: #000000;
JSON
{
  "hex": "#dacc39",
  "rgb": {
    "r": 218,
    "g": 204,
    "b": 57
  },
  "hsl": {
    "h": 54.783,
    "s": 68.511,
    "l": 53.922
  },
  "oklch": {
    "l": 0.83207,
    "c": 0.15863,
    "h": 103.7
  },
  "luminance": 0.58387
}

Semantic roles & 50–950 ramp

primary
#DACC39
secondary
#303788
accent
#4CEB3C
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#17140A
muted
#85837D

Preview Lab

Preview with #DACC39

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

Preview Lab → · Contrast checker → · Palette generator →

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