#DAC45A#DAC45A

#DAC45A is a light, vivid yellow. Relative luminance 0.551; OKLCH L 81.8% C 0.128 H 97.7°. Best body text is #000000 at 12.02:1 contrast (WCAG AA passes).

Color values

HEX#DAC45A
RGBrgb(218, 196, 90)
HSLhsl(50, 63%, 60%)
HSVhsv(50, 59%, 85%)
CMYKcmyk(0%, 10.1%, 58.7%, 14.5%)
CIE-LABlab(79.11, -5.00, 54.94)
CIE-LCHlch(79.11, 55.16, 95.20°)
OKLaboklab(81.83% -0.0172 0.1271)
OKLCHoklch(81.83% 0.128 97.7)
XYZxyz(50.5008, 55.1257, 17.6511)
Luminance0.5512 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DAC45A #5A70DA
analogous
#DA845A #DAC45A #B0DA5A
triadic
#DAC45A #5ADAC4 #C45ADA
tetradic
#DAC45A #5ADA84 #5A70DA #DA5AB0
square
#DAC45A #5ADA84 #5A70DA #DA5AB0
split-complementary
#DAC45A #5AB0DA #845ADA
monochromatic
#988322 #CAAF2D #DAC45A #E5D68C #F0E8BE

Accessibility & contrast

On white

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

On black

12.02
#DAC45A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DAC45A
12.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DAC45A#FFFFFF#000000##000000
##DAC45A1.001.7512.0212.02
#FFFFFF1.751.0021.0021.00
#00000012.0221.001.001.00
##00000012.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#D5C04F
Deuteranopia (green-blind)
#DBC75F
Tritanopia (blue-blind)
#EAB7AD
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #dac45a;
/* rgb */ color: rgb(218, 196, 90);
/* oklch */ color: oklch(81.8% 0.128 97.7);
Tailwind
colors: {
  custom: {
    50: '#e8d58c',
    500: '#dac45a',
    950: '#000000',
  },
}
SCSS
$custom: #dac45a;
$custom-light: #e8d58c;
$custom-dark: #000000;
JSON
{
  "hex": "#dac45a",
  "rgb": {
    "r": 218,
    "g": 196,
    "b": 90
  },
  "hsl": {
    "h": 49.688,
    "s": 63.366,
    "l": 60.392
  },
  "oklch": {
    "l": 0.81826,
    "c": 0.12827,
    "h": 97.7
  },
  "luminance": 0.55123
}

Semantic roles & 50–950 ramp

primary
#DAC45A
secondary
#3C4D9C
accent
#39CB1A
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#16140C
muted
#85837F

Preview Lab

Preview with #DAC45A

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

Preview Lab → · Contrast checker → · Palette generator →

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