#DAC462#DAC462

#DAC462 is a light, vivid yellow. Relative luminance 0.553; OKLCH L 81.9% C 0.121 H 96.9°. Best body text is #000000 at 12.05:1 contrast (WCAG AA passes).

Color values

HEX#DAC462
RGBrgb(218, 196, 98)
HSLhsl(49, 62%, 62%)
HSVhsv(49, 55%, 85%)
CMYKcmyk(0%, 10.1%, 55%, 14.5%)
CIE-LABlab(79.20, -4.40, 51.32)
CIE-LCHlch(79.20, 51.50, 94.90°)
OKLaboklab(81.92% -0.0145 0.1202)
OKLCHoklch(81.92% 0.121 96.9)
XYZxyz(50.8598, 55.2693, 19.5419)
Luminance0.5527 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DAC462 #6278DA
analogous
#DA8862 #DAC462 #B4DA62
triadic
#DAC462 #62DAC4 #C462DA
tetradic
#DAC462 #62DA88 #6278DA #DA62B4
square
#DAC462 #62DA88 #6278DA #DA62B4
split-complementary
#DAC462 #62B4DA #8862DA
monochromatic
#9D8725 #CEB131 #DAC462 #E6D794 #F1E9C5

Accessibility & contrast

On white

1.74
#DAC462 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.05
#DAC462 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DAC462
12.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DAC462#FFFFFF#000000##000000
##DAC4621.001.7412.0512.05
#FFFFFF1.741.0021.0021.00
#00000012.0521.001.001.00
##00000012.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#D5C059
Deuteranopia (green-blind)
#DBC766
Tritanopia (blue-blind)
#E9B8AE
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #dac462;
/* rgb */ color: rgb(218, 196, 98);
/* oklch */ color: oklch(81.9% 0.121 96.9);
Tailwind
colors: {
  custom: {
    50: '#e8d591',
    500: '#dac462',
    950: '#000000',
  },
}
SCSS
$custom: #dac462;
$custom-light: #e8d591;
$custom-dark: #000000;
JSON
{
  "hex": "#dac462",
  "rgb": {
    "r": 218,
    "g": 196,
    "b": 98
  },
  "hsl": {
    "h": 49,
    "s": 61.856,
    "l": 61.961
  },
  "oklch": {
    "l": 0.81918,
    "c": 0.12109,
    "h": 96.9
  },
  "luminance": 0.55267
}

Semantic roles & 50–950 ramp

primary
#DAC462
secondary
#4051A1
accent
#3CCA1C
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#16140D
muted
#85837F

Preview Lab

Preview with #DAC462

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

Preview Lab → · Contrast checker → · Palette generator →

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