#DAC952#DAC952

#DAC952 is a very light, vivid yellow. Relative luminance 0.573; OKLCH L 82.8% C 0.139 H 101.2°. Best body text is #000000 at 12.46:1 contrast (WCAG AA passes).

Color values

HEX#DAC952
RGBrgb(218, 201, 82)
HSLhsl(53, 65%, 59%)
HSVhsv(53, 62%, 85%)
CMYKcmyk(0%, 7.8%, 62.4%, 14.5%)
CIE-LABlab(80.34, -8.11, 59.83)
CIE-LCHlch(80.34, 60.38, 97.72°)
OKLaboklab(82.78% -0.027 0.1365)
OKLCHoklch(82.78% 0.139 101.2)
XYZxyz(51.3251, 57.2900, 16.3356)
Luminance0.5729 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DAC952 #5263DA
analogous
#DA8552 #DAC952 #A7DA52
triadic
#DAC952 #52DAC9 #C952DA
tetradic
#DAC952 #52DA85 #5263DA #DA52A7
square
#DAC952 #52DA85 #5263DA #DA52A7
split-complementary
#DAC952 #52A7DA #8552DA
monochromatic
#92841F #C5B12A #DAC952 #E5D984 #F0E8B7

Accessibility & contrast

On white

1.69
#DAC952 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.46
#DAC952 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DAC952
12.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DAC952#FFFFFF#000000##000000
##DAC9521.001.6912.4612.46
#FFFFFF1.691.0021.0021.00
#00000012.4621.001.001.00
##00000012.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#DAC344
Deuteranopia (green-blind)
#DFCA58
Tritanopia (blue-blind)
#EABCB0
Achromatopsia (no color)
#C7C7C7

Design tokens & code

CSS
--color: #dac952;
/* rgb */ color: rgb(218, 201, 82);
/* oklch */ color: oklch(82.8% 0.139 101.2);
Tailwind
colors: {
  custom: {
    50: '#e9d988',
    500: '#dac952',
    950: '#000000',
  },
}
SCSS
$custom: #dac952;
$custom-light: #e9d988;
$custom-dark: #000000;
JSON
{
  "hex": "#dac952",
  "rgb": {
    "r": 218,
    "g": 201,
    "b": 82
  },
  "hsl": {
    "h": 52.5,
    "s": 64.762,
    "l": 58.824
  },
  "oklch": {
    "l": 0.82777,
    "c": 0.13913,
    "h": 101.2
  },
  "luminance": 0.57288
}

Semantic roles & 50–950 ramp

primary
#DAC952
secondary
#394597
accent
#55E840
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#16140C
muted
#85837F

Preview Lab

Preview with #DAC952

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

Preview Lab → · Contrast checker → · Palette generator →

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