#D9C34A#D9C34A

#D9C34A is a light, vivid yellow. Relative luminance 0.543; OKLCH L 81.4% C 0.140 H 98.9°. Best body text is #000000 at 11.86:1 contrast (WCAG AA passes).

Color values

HEX#D9C34A
RGBrgb(217, 195, 74)
HSLhsl(51, 65%, 57%)
HSVhsv(51, 66%, 85%)
CMYKcmyk(0%, 10.1%, 65.9%, 14.9%)
CIE-LABlab(78.62, -5.94, 61.36)
CIE-LCHlch(78.62, 61.64, 95.53°)
OKLaboklab(81.37% -0.0217 0.1385)
OKLCHoklch(81.37% 0.14 98.9)
XYZxyz(49.3686, 54.2786, 14.3536)
Luminance0.5428 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D9C34A #4A60D9
analogous
#D97B4A #D9C34A #A8D94A
triadic
#D9C34A #4AD9C3 #C34AD9
tetradic
#D9C34A #4AD97B #4A60D9 #D94AA8
square
#D9C34A #4AD97B #4A60D9 #D94AA8
split-complementary
#D9C34A #4AA8D9 #7B4AD9
monochromatic
#8B7A1D #BEA728 #D9C34A #E4D47D #EEE5AF

Accessibility & contrast

On white

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

On black

11.86
#D9C34A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D9C34A
11.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D9C34A#FFFFFF#000000##000000
##D9C34A1.001.7711.8611.86
#FFFFFF1.771.0021.0021.00
#00000011.8621.001.001.00
##00000011.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#D5BE3B
Deuteranopia (green-blind)
#DBC651
Tritanopia (blue-blind)
#E9B5AA
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #d9c34a;
/* rgb */ color: rgb(217, 195, 74);
/* oklch */ color: oklch(81.4% 0.140 98.9);
Tailwind
colors: {
  custom: {
    50: '#e8d482',
    500: '#d9c34a',
    950: '#000000',
  },
}
SCSS
$custom: #d9c34a;
$custom-light: #e8d482;
$custom-dark: #000000;
JSON
{
  "hex": "#d9c34a",
  "rgb": {
    "r": 217,
    "g": 195,
    "b": 74
  },
  "hsl": {
    "h": 50.769,
    "s": 65.297,
    "l": 57.059
  },
  "oklch": {
    "l": 0.81372,
    "c": 0.14022,
    "h": 98.9
  },
  "luminance": 0.54276
}

Semantic roles & 50–950 ramp

primary
#D9C34A
secondary
#364491
accent
#59E840
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#17140B
muted
#85837E

Preview Lab

Preview with #D9C34A

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

Preview Lab → · Contrast checker → · Palette generator →

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