#DACC42#DACC42

#DACC42 is a very light, vivid yellow. Relative luminance 0.585; OKLCH L 83.3% C 0.153 H 103.4°. Best body text is #000000 at 12.70:1 contrast (WCAG AA passes).

Color values

HEX#DACC42
RGBrgb(218, 204, 66)
HSLhsl(54, 67%, 56%)
HSVhsv(54, 70%, 85%)
CMYKcmyk(0%, 6.4%, 69.7%, 14.5%)
CIE-LABlab(81.01, -10.54, 66.96)
CIE-LCHlch(81.01, 67.79, 98.94°)
OKLaboklab(83.27% -0.0356 0.149)
OKLCHoklch(83.27% 0.153 103.4)
XYZxyz(51.4918, 58.4866, 13.7299)
Luminance0.5848 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DACC42 #4250DA
analogous
#DA8042 #DACC42 #9CDA42
triadic
#DACC42 #42DACC #CC42DA
tetradic
#DACC42 #42DA80 #4250DA #DA429C
square
#DACC42 #42DA80 #4250DA #DA429C
split-complementary
#DACC42 #429CDA #8042DA
monochromatic
#877D1A #BAAD24 #DACC42 #E4DA75 #EEE8A8

Accessibility & contrast

On white

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

On black

12.70
#DACC42 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DACC42
12.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DACC42#FFFFFF#000000##000000
##DACC421.001.6512.7012.70
#FFFFFF1.651.0021.0021.00
#00000012.7021.001.001.00
##00000012.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#DEC52C
Deuteranopia (green-blind)
#E3CC4B
Tritanopia (blue-blind)
#EABEB1
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #dacc42;
/* rgb */ color: rgb(218, 204, 66);
/* oklch */ color: oklch(83.3% 0.153 103.4);
Tailwind
colors: {
  custom: {
    50: '#e9db7f',
    500: '#dacc42',
    950: '#000000',
  },
}
SCSS
$custom: #dacc42;
$custom-light: #e9db7f;
$custom-dark: #000000;
JSON
{
  "hex": "#dacc42",
  "rgb": {
    "r": 218,
    "g": 204,
    "b": 66
  },
  "hsl": {
    "h": 54.474,
    "s": 67.257,
    "l": 55.686
  },
  "oklch": {
    "l": 0.83267,
    "c": 0.15323,
    "h": 103.4
  },
  "luminance": 0.58485
}

Semantic roles & 50–950 ramp

primary
#DACC42
secondary
#333B8D
accent
#4EEA3E
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#17140B
muted
#85837E

Preview Lab

Preview with #DACC42

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

Preview Lab → · Contrast checker → · Palette generator →

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