#DAC45F#DAC45F

#DAC45F is a light, vivid yellow. Relative luminance 0.552; OKLCH L 81.9% C 0.124 H 97.2°. Best body text is #000000 at 12.04:1 contrast (WCAG AA passes).

Color values

HEX#DAC45F
RGBrgb(218, 196, 95)
HSLhsl(49, 62%, 61%)
HSVhsv(49, 56%, 85%)
CMYKcmyk(0%, 10.1%, 56.4%, 14.5%)
CIE-LABlab(79.16, -4.63, 52.69)
CIE-LCHlch(79.16, 52.89, 95.03°)
OKLaboklab(81.88% -0.0155 0.1229)
OKLCHoklch(81.88% 0.124 97.2)
XYZxyz(50.7208, 55.2137, 18.8099)
Luminance0.5521 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DAC45F #5F75DA
analogous
#DA875F #DAC45F #B3DA5F
triadic
#DAC45F #5FDAC4 #C45FDA
tetradic
#DAC45F #5FDA87 #5F75DA #DA5FB3
square
#DAC45F #5FDA87 #5F75DA #DA5FB3
split-complementary
#DAC45F #5FB3DA #875FDA
monochromatic
#9B8624 #CDB02F #DAC45F #E5D691 #F1E9C2

Accessibility & contrast

On white

1.74
#DAC45F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.04
#DAC45F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DAC45F
12.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DAC45F#FFFFFF#000000##000000
##DAC45F1.001.7412.0412.04
#FFFFFF1.741.0021.0021.00
#00000012.0421.001.001.00
##00000012.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#D5C055
Deuteranopia (green-blind)
#DBC764
Tritanopia (blue-blind)
#E9B7AD
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #dac45f;
/* rgb */ color: rgb(218, 196, 95);
/* oklch */ color: oklch(81.9% 0.124 97.2);
Tailwind
colors: {
  custom: {
    50: '#e8d58f',
    500: '#dac45f',
    950: '#000000',
  },
}
SCSS
$custom: #dac45f;
$custom-light: #e8d58f;
$custom-dark: #000000;
JSON
{
  "hex": "#dac45f",
  "rgb": {
    "r": 218,
    "g": 196,
    "b": 95
  },
  "hsl": {
    "h": 49.268,
    "s": 62.437,
    "l": 61.373
  },
  "oklch": {
    "l": 0.81882,
    "c": 0.12384,
    "h": 97.2
  },
  "luminance": 0.55212
}

Semantic roles & 50–950 ramp

primary
#DAC45F
secondary
#3E509F
accent
#3BCA1B
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#16140D
muted
#85837F

Preview Lab

Preview with #DAC45F

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

Preview Lab → · Contrast checker → · Palette generator →

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