#DACA42#DACA42

#DACA42 is a very light, vivid yellow. Relative luminance 0.575; OKLCH L 82.8% C 0.152 H 102.5°. Best body text is #000000 at 12.51:1 contrast (WCAG AA passes).

Color values

HEX#DACA42
RGBrgb(218, 202, 66)
HSLhsl(54, 67%, 56%)
HSVhsv(54, 70%, 85%)
CMYKcmyk(0%, 7.3%, 69.7%, 14.5%)
CIE-LABlab(80.48, -9.52, 66.44)
CIE-LCHlch(80.48, 67.12, 98.16°)
OKLaboklab(82.85% -0.0328 0.1479)
OKLCHoklch(82.85% 0.152 102.5)
XYZxyz(51.0195, 57.5420, 13.5725)
Luminance0.5754 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DACA42 #4252DA
analogous
#DA7E42 #DACA42 #9EDA42
triadic
#DACA42 #42DACA #CA42DA
tetradic
#DACA42 #42DA7E #4252DA #DA429E
square
#DACA42 #42DA7E #4252DA #DA429E
split-complementary
#DACA42 #429EDA #7E42DA
monochromatic
#877C1A #BAAB24 #DACA42 #E4D875 #EEE7A8

Accessibility & contrast

On white

1.68
#DACA42 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.51
#DACA42 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DACA42
12.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DACA42#FFFFFF#000000##000000
##DACA421.001.6812.5112.51
#FFFFFF1.681.0021.0021.00
#00000012.5121.001.001.00
##00000012.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#DCC42D
Deuteranopia (green-blind)
#E1CB4B
Tritanopia (blue-blind)
#EABCAF
Achromatopsia (no color)
#C8C8C8

Design tokens & code

CSS
--color: #daca42;
/* rgb */ color: rgb(218, 202, 66);
/* oklch */ color: oklch(82.8% 0.152 102.5);
Tailwind
colors: {
  custom: {
    50: '#e9d97e',
    500: '#daca42',
    950: '#000000',
  },
}
SCSS
$custom: #daca42;
$custom-light: #e9d97e;
$custom-dark: #000000;
JSON
{
  "hex": "#daca42",
  "rgb": {
    "r": 218,
    "g": 202,
    "b": 66
  },
  "hsl": {
    "h": 53.684,
    "s": 67.257,
    "l": 55.686
  },
  "oklch": {
    "l": 0.8285,
    "c": 0.15152,
    "h": 102.5
  },
  "luminance": 0.5754
}

Semantic roles & 50–950 ramp

primary
#DACA42
secondary
#333C8D
accent
#50EA3E
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#17140B
muted
#85837E

Preview Lab

Preview with #DACA42

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

Preview Lab → · Contrast checker → · Palette generator →

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