#DAC251#DAC251

#DAC251 is a light, vivid yellow. Relative luminance 0.541; OKLCH L 81.3% C 0.134 H 97.3°. Best body text is #000000 at 11.82:1 contrast (WCAG AA passes).

Color values

HEX#DAC251
RGBrgb(218, 194, 81)
HSLhsl(49, 65%, 59%)
HSVhsv(49, 63%, 85%)
CMYKcmyk(0%, 11%, 62.8%, 14.5%)
CIE-LABlab(78.51, -4.58, 58.29)
CIE-LCHlch(78.51, 58.47, 94.49°)
OKLaboklab(81.32% -0.017 0.1331)
OKLCHoklch(81.32% 0.134 97.3)
XYZxyz(49.6926, 54.0854, 15.6050)
Luminance0.5408 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DAC251 #5169DA
analogous
#DA7D51 #DAC251 #ADDA51
triadic
#DAC251 #51DAC2 #C251DA
tetradic
#DAC251 #51DA7D #5169DA #DA51AD
square
#DAC251 #51DA7D #5169DA #DA51AD
split-complementary
#DAC251 #51ADDA #7D51DA
monochromatic
#927E1F #C4A92A #DAC251 #E5D483 #EFE5B6

Accessibility & contrast

On white

1.78
#DAC251 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.82
#DAC251 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DAC251
11.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DAC251#FFFFFF#000000##000000
##DAC2511.001.7811.8211.82
#FFFFFF1.781.0021.0021.00
#00000011.8221.001.001.00
##00000011.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#D4BE44
Deuteranopia (green-blind)
#DAC657
Tritanopia (blue-blind)
#EAB5AA
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #dac251;
/* rgb */ color: rgb(218, 194, 81);
/* oklch */ color: oklch(81.3% 0.134 97.3);
Tailwind
colors: {
  custom: {
    50: '#e9d486',
    500: '#dac251',
    950: '#000000',
  },
}
SCSS
$custom: #dac251;
$custom-light: #e9d486;
$custom-dark: #000000;
JSON
{
  "hex": "#dac251",
  "rgb": {
    "r": 218,
    "g": 194,
    "b": 81
  },
  "hsl": {
    "h": 49.489,
    "s": 64.929,
    "l": 58.627
  },
  "oklch": {
    "l": 0.81322,
    "c": 0.13414,
    "h": 97.3
  },
  "luminance": 0.54083
}

Semantic roles & 50–950 ramp

primary
#DAC251
secondary
#394997
accent
#5DE840
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#16140B
muted
#85837E

Preview Lab

Preview with #DAC251

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

Preview Lab → · Contrast checker → · Palette generator →

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