#DAC962#DAC962

#DAC962 is a very light, vivid yellow. Relative luminance 0.576; OKLCH L 82.9% C 0.125 H 100.1°. Best body text is #000000 at 12.51:1 contrast (WCAG AA passes).

Color values

HEX#DAC962
RGBrgb(218, 201, 98)
HSLhsl(52, 62%, 62%)
HSVhsv(52, 55%, 85%)
CMYKcmyk(0%, 7.8%, 55%, 14.5%)
CIE-LABlab(80.50, -6.97, 52.83)
CIE-LCHlch(80.50, 53.28, 97.52°)
OKLaboklab(82.95% -0.0219 0.1235)
OKLCHoklch(82.95% 0.125 100.1)
XYZxyz(52.0065, 57.5626, 19.9241)
Luminance0.5756 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DAC962 #6273DA
analogous
#DA8D62 #DAC962 #AFDA62
triadic
#DAC962 #62DAC9 #C962DA
tetradic
#DAC962 #62DA8D #6273DA #DA62AF
square
#DAC962 #62DA8D #6273DA #DA62AF
split-complementary
#DAC962 #62AFDA #8D62DA
monochromatic
#9D8C25 #CEB831 #DAC962 #E6DA94 #F1EBC5

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##DAC962#FFFFFF#000000##000000
##DAC9621.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)
#D9C458
Deuteranopia (green-blind)
#DECB67
Tritanopia (blue-blind)
#E9BDB2
Achromatopsia (no color)
#C8C8C8

Design tokens & code

CSS
--color: #dac962;
/* rgb */ color: rgb(218, 201, 98);
/* oklch */ color: oklch(82.9% 0.125 100.1);
Tailwind
colors: {
  custom: {
    50: '#e8d992',
    500: '#dac962',
    950: '#000000',
  },
}
SCSS
$custom: #dac962;
$custom-light: #e8d992;
$custom-dark: #000000;
JSON
{
  "hex": "#dac962",
  "rgb": {
    "r": 218,
    "g": 201,
    "b": 98
  },
  "hsl": {
    "h": 51.5,
    "s": 61.856,
    "l": 61.961
  },
  "oklch": {
    "l": 0.82947,
    "c": 0.12541,
    "h": 100.1
  },
  "luminance": 0.57561
}

Semantic roles & 50–950 ramp

primary
#DAC962
secondary
#404DA1
accent
#35CA1C
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#16140D
muted
#85837F

Preview Lab

Preview with #DAC962

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

Preview Lab → · Contrast checker → · Palette generator →

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