#DAC34D#DAC34D

#DAC34D is a light, vivid yellow. Relative luminance 0.545; OKLCH L 81.5% C 0.138 H 98.2°. Best body text is #000000 at 11.89:1 contrast (WCAG AA passes).

Color values

HEX#DAC34D
RGBrgb(218, 195, 77)
HSLhsl(50, 66%, 58%)
HSVhsv(50, 65%, 85%)
CMYKcmyk(0%, 10.6%, 64.7%, 14.5%)
CIE-LABlab(78.74, -5.34, 60.25)
CIE-LCHlch(78.74, 60.48, 95.07°)
OKLaboklab(81.49% -0.0197 0.1366)
OKLCHoklch(81.49% 0.138 98.2)
XYZxyz(49.7703, 54.4738, 14.9126)
Luminance0.5447 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DAC34D #4D64DA
analogous
#DA7D4D #DAC34D #AADA4D
triadic
#DAC34D #4DDAC3 #C34DDA
tetradic
#DAC34D #4DDA7D #4D64DA #DA4DAA
square
#DAC34D #4DDA7D #4D64DA #DA4DAA
split-complementary
#DAC34D #4DAADA #7D4DDA
monochromatic
#8F7C1E #C2A928 #DAC34D #E5D480 #EFE5B2

Accessibility & contrast

On white

1.77
#DAC34D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.89
#DAC34D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DAC34D
11.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DAC34D#FFFFFF#000000##000000
##DAC34D1.001.7711.8911.89
#FFFFFF1.771.0021.0021.00
#00000011.8921.001.001.00
##00000011.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#D5BE3F
Deuteranopia (green-blind)
#DBC653
Tritanopia (blue-blind)
#EAB5AA
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #dac34d;
/* rgb */ color: rgb(218, 195, 77);
/* oklch */ color: oklch(81.5% 0.138 98.2);
Tailwind
colors: {
  custom: {
    50: '#e9d484',
    500: '#dac34d',
    950: '#000000',
  },
}
SCSS
$custom: #dac34d;
$custom-light: #e9d484;
$custom-dark: #000000;
JSON
{
  "hex": "#dac34d",
  "rgb": {
    "r": 218,
    "g": 195,
    "b": 77
  },
  "hsl": {
    "h": 50.213,
    "s": 65.581,
    "l": 57.843
  },
  "oklch": {
    "l": 0.8149,
    "c": 0.13804,
    "h": 98.2
  },
  "luminance": 0.54471
}

Semantic roles & 50–950 ramp

primary
#DAC34D
secondary
#374694
accent
#5BE93F
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#17140B
muted
#85837E

Preview Lab

Preview with #DAC34D

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

Preview Lab → · Contrast checker → · Palette generator →

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