#DAC045#DAC045

#DAC045 is a light, vivid yellow. Relative luminance 0.530; OKLCH L 80.8% C 0.142 H 97.1°. Best body text is #000000 at 11.61:1 contrast (WCAG AA passes).

Color values

HEX#DAC045
RGBrgb(218, 192, 69)
HSLhsl(50, 67%, 56%)
HSVhsv(50, 68%, 85%)
CMYKcmyk(0%, 11.9%, 68.3%, 14.5%)
CIE-LABlab(77.90, -4.25, 62.67)
CIE-LCHlch(77.90, 62.82, 93.88°)
OKLaboklab(80.81% -0.0174 0.1405)
OKLCHoklch(80.81% 0.142 97.1)
XYZxyz(48.8396, 53.0368, 13.2937)
Luminance0.5303 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DAC045 #455FDA
analogous
#DA7645 #DAC045 #AADA45
triadic
#DAC045 #45DAC0 #C045DA
tetradic
#DAC045 #45DA76 #455FDA #DA45AA
square
#DAC045 #45DA76 #455FDA #DA45AA
split-complementary
#DAC045 #45AADA #7645DA
monochromatic
#89761B #BCA225 #DAC045 #E4D178 #EEE3AB

Accessibility & contrast

On white

1.81
#DAC045 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.61
#DAC045 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DAC045
11.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DAC045#FFFFFF#000000##000000
##DAC0451.001.8111.6111.61
#FFFFFF1.811.0021.0021.00
#00000011.6121.001.001.00
##00000011.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#D3BC34
Deuteranopia (green-blind)
#DAC44C
Tritanopia (blue-blind)
#EBB2A7
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #dac045;
/* rgb */ color: rgb(218, 192, 69);
/* oklch */ color: oklch(80.8% 0.142 97.1);
Tailwind
colors: {
  custom: {
    50: '#e9d27f',
    500: '#dac045',
    950: '#000000',
  },
}
SCSS
$custom: #dac045;
$custom-light: #e9d27f;
$custom-dark: #000000;
JSON
{
  "hex": "#dac045",
  "rgb": {
    "r": 218,
    "g": 192,
    "b": 69
  },
  "hsl": {
    "h": 49.53,
    "s": 66.816,
    "l": 56.275
  },
  "oklch": {
    "l": 0.80805,
    "c": 0.14155,
    "h": 97.1
  },
  "luminance": 0.53034
}

Semantic roles & 50–950 ramp

primary
#DAC045
secondary
#34448F
accent
#5CEA3E
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#17140A
muted
#85837D

Preview Lab

Preview with #DAC045

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

Preview Lab → · Contrast checker → · Palette generator →

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