#DAC152#DAC152

#DAC152 is a light, vivid yellow. Relative luminance 0.537; OKLCH L 81.1% C 0.133 H 96.6°. Best body text is #000000 at 11.73:1 contrast (WCAG AA passes).

Color values

HEX#DAC152
RGBrgb(218, 193, 82)
HSLhsl(49, 65%, 59%)
HSVhsv(49, 62%, 85%)
CMYKcmyk(0%, 11.5%, 62.4%, 14.5%)
CIE-LABlab(78.26, -4.00, 57.58)
CIE-LCHlch(78.26, 57.72, 93.97°)
OKLaboklab(81.13% -0.0152 0.1317)
OKLCHoklch(81.13% 0.133 96.6)
XYZxyz(49.5085, 53.6569, 15.7300)
Luminance0.5365 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DAC152 #526BDA
analogous
#DA7D52 #DAC152 #AFDA52
triadic
#DAC152 #52DAC1 #C152DA
tetradic
#DAC152 #52DA7D #526BDA #DA52AF
square
#DAC152 #52DA7D #526BDA #DA52AF
split-complementary
#DAC152 #52AFDA #7D52DA
monochromatic
#927D1F #C5A82A #DAC152 #E5D384 #F0E5B7

Accessibility & contrast

On white

1.79
#DAC152 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.73
#DAC152 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DAC152
11.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DAC152#FFFFFF#000000##000000
##DAC1521.001.7911.7311.73
#FFFFFF1.791.0021.0021.00
#00000011.7321.001.001.00
##00000011.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#D3BD46
Deuteranopia (green-blind)
#D9C557
Tritanopia (blue-blind)
#EAB4A9
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #dac152;
/* rgb */ color: rgb(218, 193, 82);
/* oklch */ color: oklch(81.1% 0.133 96.6);
Tailwind
colors: {
  custom: {
    50: '#e9d387',
    500: '#dac152',
    950: '#000000',
  },
}
SCSS
$custom: #dac152;
$custom-light: #e9d387;
$custom-dark: #000000;
JSON
{
  "hex": "#dac152",
  "rgb": {
    "r": 218,
    "g": 193,
    "b": 82
  },
  "hsl": {
    "h": 48.971,
    "s": 64.762,
    "l": 58.824
  },
  "oklch": {
    "l": 0.81127,
    "c": 0.13257,
    "h": 96.6
  },
  "luminance": 0.53655
}

Semantic roles & 50–950 ramp

primary
#DAC152
secondary
#394A97
accent
#5FE840
background
#FFFEFC
surface
#FEFBF3
border
#D6D4CD
text
#16140C
muted
#85837F

Preview Lab

Preview with #DAC152

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

Preview Lab → · Contrast checker → · Palette generator →

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