#DAC052#DAC052

#DAC052 is a light, vivid yellow. Relative luminance 0.532; OKLCH L 80.9% C 0.132 H 96.0°. Best body text is #000000 at 11.64:1 contrast (WCAG AA passes).

Color values

HEX#DAC052
RGBrgb(218, 192, 82)
HSLhsl(49, 65%, 59%)
HSVhsv(49, 62%, 85%)
CMYKcmyk(0%, 11.9%, 62.4%, 14.5%)
CIE-LABlab(78.00, -3.48, 57.29)
CIE-LCHlch(78.00, 57.40, 93.48°)
OKLaboklab(80.92% -0.0137 0.1311)
OKLCHoklch(80.92% 0.132 96)
XYZxyz(49.2882, 53.2163, 15.6566)
Luminance0.5321 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DAC052 #526CDA
analogous
#DA7C52 #DAC052 #B0DA52
triadic
#DAC052 #52DAC0 #C052DA
tetradic
#DAC052 #52DA7C #526CDA #DA52B0
square
#DAC052 #52DA7C #526CDA #DA52B0
split-complementary
#DAC052 #52B0DA #7C52DA
monochromatic
#927C1F #C5A72A #DAC052 #E5D284 #F0E5B7

Accessibility & contrast

On white

1.80
#DAC052 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.64
#DAC052 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DAC052
11.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DAC052#FFFFFF#000000##000000
##DAC0521.001.8011.6411.64
#FFFFFF1.801.0021.0021.00
#00000011.6421.001.001.00
##00000011.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#D2BC46
Deuteranopia (green-blind)
#D9C457
Tritanopia (blue-blind)
#EAB3A8
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #dac052;
/* rgb */ color: rgb(218, 192, 82);
/* oklch */ color: oklch(80.9% 0.132 96.0);
Tailwind
colors: {
  custom: {
    50: '#e9d287',
    500: '#dac052',
    950: '#000000',
  },
}
SCSS
$custom: #dac052;
$custom-light: #e9d287;
$custom-dark: #000000;
JSON
{
  "hex": "#dac052",
  "rgb": {
    "r": 218,
    "g": 192,
    "b": 82
  },
  "hsl": {
    "h": 48.529,
    "s": 64.762,
    "l": 58.824
  },
  "oklch": {
    "l": 0.80922,
    "c": 0.13181,
    "h": 96
  },
  "luminance": 0.53214
}

Semantic roles & 50–950 ramp

primary
#DAC052
secondary
#394B97
accent
#60E840
background
#FFFEFC
surface
#FEFBF3
border
#D6D4CD
text
#16140C
muted
#85837F

Preview Lab

Preview with #DAC052

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

Preview Lab → · Contrast checker → · Palette generator →

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