#DAC34C#DAC34C

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

Color values

HEX#DAC34C
RGBrgb(218, 195, 76)
HSLhsl(50, 66%, 58%)
HSVhsv(50, 65%, 85%)
CMYKcmyk(0%, 10.6%, 65.1%, 14.5%)
CIE-LABlab(78.73, -5.40, 60.66)
CIE-LCHlch(78.73, 60.90, 95.09°)
OKLaboklab(81.48% -0.0199 0.1374)
OKLCHoklch(81.48% 0.139 98.3)
XYZxyz(49.7353, 54.4598, 14.7281)
Luminance0.5446 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DAC34C #4C63DA
analogous
#DA7C4C #DAC34C #AADA4C
triadic
#DAC34C #4CDAC3 #C34CDA
tetradic
#DAC34C #4CDA7C #4C63DA #DA4CAA
square
#DAC34C #4CDA7C #4C63DA #DA4CAA
split-complementary
#DAC34C #4CAADA #7C4CDA
monochromatic
#8E7C1D #C1A828 #DAC34C #E4D47F #EFE5B1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##DAC34C#FFFFFF#000000##000000
##DAC34C1.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)
#D5BE3D
Deuteranopia (green-blind)
#DBC652
Tritanopia (blue-blind)
#EAB5AA
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #dac34c;
/* rgb */ color: rgb(218, 195, 76);
/* oklch */ color: oklch(81.5% 0.139 98.3);
Tailwind
colors: {
  custom: {
    50: '#e9d484',
    500: '#dac34c',
    950: '#000000',
  },
}
SCSS
$custom: #dac34c;
$custom-light: #e9d484;
$custom-dark: #000000;
JSON
{
  "hex": "#dac34c",
  "rgb": {
    "r": 218,
    "g": 195,
    "b": 76
  },
  "hsl": {
    "h": 50.282,
    "s": 65.741,
    "l": 57.647
  },
  "oklch": {
    "l": 0.81481,
    "c": 0.13879,
    "h": 98.3
  },
  "luminance": 0.54457
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #DAC34C

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

Preview Lab → · Contrast checker → · Palette generator →

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