#DACB42#DACB42

#DACB42 is a very light, vivid yellow. Relative luminance 0.580; OKLCH L 83.1% C 0.152 H 103.0°. Best body text is #000000 at 12.60:1 contrast (WCAG AA passes).

Color values

HEX#DACB42
RGBrgb(218, 203, 66)
HSLhsl(54, 67%, 56%)
HSVhsv(54, 70%, 85%)
CMYKcmyk(0%, 6.9%, 69.7%, 14.5%)
CIE-LABlab(80.75, -10.03, 66.70)
CIE-LCHlch(80.75, 67.45, 98.55°)
OKLaboklab(83.06% -0.0342 0.1485)
OKLCHoklch(83.06% 0.152 103)
XYZxyz(51.2549, 58.0128, 13.6510)
Luminance0.5801 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DACB42 #4251DA
analogous
#DA7F42 #DACB42 #9DDA42
triadic
#DACB42 #42DACB #CB42DA
tetradic
#DACB42 #42DA7F #4251DA #DA429D
square
#DACB42 #42DA7F #4251DA #DA429D
split-complementary
#DACB42 #429DDA #7F42DA
monochromatic
#877C1A #BAAC24 #DACB42 #E4D975 #EEE7A8

Accessibility & contrast

On white

1.67
#DACB42 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.60
#DACB42 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DACB42
12.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DACB42#FFFFFF#000000##000000
##DACB421.001.6712.6012.60
#FFFFFF1.671.0021.0021.00
#00000012.6021.001.001.00
##00000012.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#DDC52D
Deuteranopia (green-blind)
#E2CC4B
Tritanopia (blue-blind)
#EABDB0
Achromatopsia (no color)
#C8C8C8

Design tokens & code

CSS
--color: #dacb42;
/* rgb */ color: rgb(218, 203, 66);
/* oklch */ color: oklch(83.1% 0.152 103.0);
Tailwind
colors: {
  custom: {
    50: '#e9da7f',
    500: '#dacb42',
    950: '#000000',
  },
}
SCSS
$custom: #dacb42;
$custom-light: #e9da7f;
$custom-dark: #000000;
JSON
{
  "hex": "#dacb42",
  "rgb": {
    "r": 218,
    "g": 203,
    "b": 66
  },
  "hsl": {
    "h": 54.079,
    "s": 67.257,
    "l": 55.686
  },
  "oklch": {
    "l": 0.83058,
    "c": 0.15237,
    "h": 103
  },
  "luminance": 0.58011
}

Semantic roles & 50–950 ramp

primary
#DACB42
secondary
#333C8D
accent
#4FEA3E
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#17140B
muted
#85837E

Preview Lab

Preview with #DACB42

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

Preview Lab → · Contrast checker → · Palette generator →

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