#DAC151#DAC151

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

Color values

HEX#DAC151
RGBrgb(218, 193, 81)
HSLhsl(49, 65%, 59%)
HSVhsv(49, 63%, 85%)
CMYKcmyk(0%, 11.5%, 62.8%, 14.5%)
CIE-LABlab(78.25, -4.06, 58.01)
CIE-LCHlch(78.25, 58.15, 94.01°)
OKLaboklab(81.12% -0.0155 0.1325)
OKLCHoklch(81.12% 0.133 96.7)
XYZxyz(49.4708, 53.6418, 15.5311)
Luminance0.5364 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DAC151 #516ADA
analogous
#DA7C51 #DAC151 #AEDA51
triadic
#DAC151 #51DAC1 #C151DA
tetradic
#DAC151 #51DA7C #516ADA #DA51AE
square
#DAC151 #51DA7C #516ADA #DA51AE
split-complementary
#DAC151 #51AEDA #7C51DA
monochromatic
#927D1F #C4A82A #DAC151 #E5D383 #EFE5B6

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##DAC151#FFFFFF#000000##000000
##DAC1511.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)
#D3BD44
Deuteranopia (green-blind)
#DAC557
Tritanopia (blue-blind)
#EAB3A9
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #dac151;
/* rgb */ color: rgb(218, 193, 81);
/* oklch */ color: oklch(81.1% 0.133 96.7);
Tailwind
colors: {
  custom: {
    50: '#e9d386',
    500: '#dac151',
    950: '#000000',
  },
}
SCSS
$custom: #dac151;
$custom-light: #e9d386;
$custom-dark: #000000;
JSON
{
  "hex": "#dac151",
  "rgb": {
    "r": 218,
    "g": 193,
    "b": 81
  },
  "hsl": {
    "h": 49.051,
    "s": 64.929,
    "l": 58.627
  },
  "oklch": {
    "l": 0.81117,
    "c": 0.13337,
    "h": 96.7
  },
  "luminance": 0.53639
}

Semantic roles & 50–950 ramp

primary
#DAC151
secondary
#394A97
accent
#5FE840
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#16140B
muted
#85837E

Preview Lab

Preview with #DAC151

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

Preview Lab → · Contrast checker → · Palette generator →

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