#DAC451#DAC451

#DAC451 is a light, vivid yellow. Relative luminance 0.550; OKLCH L 81.7% C 0.136 H 98.5°. Best body text is #000000 at 12.00:1 contrast (WCAG AA passes).

Color values

HEX#DAC451
RGBrgb(218, 196, 81)
HSLhsl(50, 65%, 59%)
HSVhsv(50, 63%, 85%)
CMYKcmyk(0%, 10.1%, 62.8%, 14.5%)
CIE-LABlab(79.03, -5.61, 58.85)
CIE-LCHlch(79.03, 59.12, 95.44°)
OKLaboklab(81.73% -0.02 0.1343)
OKLCHoklch(81.73% 0.136 98.5)
XYZxyz(50.1407, 54.9816, 15.7544)
Luminance0.5498 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DAC451 #5167DA
analogous
#DA7F51 #DAC451 #ABDA51
triadic
#DAC451 #51DAC4 #C451DA
tetradic
#DAC451 #51DA7F #5167DA #DA51AB
square
#DAC451 #51DA7F #5167DA #DA51AB
split-complementary
#DAC451 #51ABDA #7F51DA
monochromatic
#927F1F #C4AB2A #DAC451 #E5D583 #EFE6B6

Accessibility & contrast

On white

1.75
#DAC451 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.00
#DAC451 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DAC451
12.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DAC451#FFFFFF#000000##000000
##DAC4511.001.7512.0012.00
#FFFFFF1.751.0021.0021.00
#00000012.0021.001.001.00
##00000012.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#D6BF44
Deuteranopia (green-blind)
#DCC757
Tritanopia (blue-blind)
#EAB7AC
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #dac451;
/* rgb */ color: rgb(218, 196, 81);
/* oklch */ color: oklch(81.7% 0.136 98.5);
Tailwind
colors: {
  custom: {
    50: '#e9d587',
    500: '#dac451',
    950: '#000000',
  },
}
SCSS
$custom: #dac451;
$custom-light: #e9d587;
$custom-dark: #000000;
JSON
{
  "hex": "#dac451",
  "rgb": {
    "r": 218,
    "g": 196,
    "b": 81
  },
  "hsl": {
    "h": 50.365,
    "s": 64.929,
    "l": 58.627
  },
  "oklch": {
    "l": 0.81733,
    "c": 0.13573,
    "h": 98.5
  },
  "luminance": 0.54979
}

Semantic roles & 50–950 ramp

primary
#DAC451
secondary
#394897
accent
#5BE840
background
#FFFEFC
surface
#FEFBF3
border
#D6D4CD
text
#16140C
muted
#85837F

Preview Lab

Preview with #DAC451

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

Preview Lab → · Contrast checker → · Palette generator →

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