#DAC351#DAC351

#DAC351 is a light, vivid yellow. Relative luminance 0.545; OKLCH L 81.5% C 0.135 H 97.9°. Best body text is #000000 at 11.91:1 contrast (WCAG AA passes).

Color values

HEX#DAC351
RGBrgb(218, 195, 81)
HSLhsl(50, 65%, 59%)
HSVhsv(50, 63%, 85%)
CMYKcmyk(0%, 10.6%, 62.8%, 14.5%)
CIE-LABlab(78.77, -5.09, 58.57)
CIE-LCHlch(78.77, 58.79, 94.97°)
OKLaboklab(81.53% -0.0185 0.1337)
OKLCHoklch(81.53% 0.135 97.9)
XYZxyz(49.9159, 54.5320, 15.6795)
Luminance0.5453 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DAC351 #5168DA
analogous
#DA7E51 #DAC351 #ACDA51
triadic
#DAC351 #51DAC3 #C351DA
tetradic
#DAC351 #51DA7E #5168DA #DA51AC
square
#DAC351 #51DA7E #5168DA #DA51AC
split-complementary
#DAC351 #51ACDA #7E51DA
monochromatic
#927E1F #C4AA2A #DAC351 #E5D483 #EFE6B6

Accessibility & contrast

On white

1.76
#DAC351 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.91
#DAC351 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DAC351
11.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DAC351#FFFFFF#000000##000000
##DAC3511.001.7611.9111.91
#FFFFFF1.761.0021.0021.00
#00000011.9121.001.001.00
##00000011.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#D5BE44
Deuteranopia (green-blind)
#DBC657
Tritanopia (blue-blind)
#EAB6AB
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #dac351;
/* rgb */ color: rgb(218, 195, 81);
/* oklch */ color: oklch(81.5% 0.135 97.9);
Tailwind
colors: {
  custom: {
    50: '#e9d487',
    500: '#dac351',
    950: '#000000',
  },
}
SCSS
$custom: #dac351;
$custom-light: #e9d487;
$custom-dark: #000000;
JSON
{
  "hex": "#dac351",
  "rgb": {
    "r": 218,
    "g": 195,
    "b": 81
  },
  "hsl": {
    "h": 49.927,
    "s": 64.929,
    "l": 58.627
  },
  "oklch": {
    "l": 0.81528,
    "c": 0.13493,
    "h": 97.9
  },
  "luminance": 0.5453
}

Semantic roles & 50–950 ramp

primary
#DAC351
secondary
#394897
accent
#5CE840
background
#FFFEFC
surface
#FEFBF3
border
#D6D4CD
text
#16140B
muted
#85837E

Preview Lab

Preview with #DAC351

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

Preview Lab → · Contrast checker → · Palette generator →

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