#D9C346#D9C346

#D9C346 is a light, vivid yellow. Relative luminance 0.542; OKLCH L 81.3% C 0.143 H 99.1°. Best body text is #000000 at 11.84:1 contrast (WCAG AA passes).

Color values

HEX#D9C346
RGBrgb(217, 195, 70)
HSLhsl(51, 66%, 56%)
HSVhsv(51, 68%, 85%)
CMYKcmyk(0%, 10.1%, 67.7%, 14.9%)
CIE-LABlab(78.59, -6.16, 62.96)
CIE-LCHlch(78.59, 63.26, 95.59°)
OKLaboklab(81.34% -0.0227 0.1413)
OKLCHoklch(81.34% 0.143 99.1)
XYZxyz(49.2381, 54.2264, 13.6664)
Luminance0.5422 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D9C346 #465CD9
analogous
#D97A46 #D9C346 #A6D946
triadic
#D9C346 #46D9C3 #C346D9
tetradic
#D9C346 #46D97A #465CD9 #D946A6
square
#D9C346 #46D97A #465CD9 #D946A6
split-complementary
#D9C346 #46A6D9 #7A46D9
monochromatic
#89781C #BBA526 #D9C346 #E3D379 #EEE4AC

Accessibility & contrast

On white

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

On black

11.84
#D9C346 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D9C346
11.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D9C346#FFFFFF#000000##000000
##D9C3461.001.7711.8411.84
#FFFFFF1.771.0021.0021.00
#00000011.8421.001.001.00
##00000011.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#D5BE35
Deuteranopia (green-blind)
#DBC64D
Tritanopia (blue-blind)
#E9B5A9
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #d9c346;
/* rgb */ color: rgb(217, 195, 70);
/* oklch */ color: oklch(81.3% 0.143 99.1);
Tailwind
colors: {
  custom: {
    50: '#e8d480',
    500: '#d9c346',
    950: '#000000',
  },
}
SCSS
$custom: #d9c346;
$custom-light: #e8d480;
$custom-dark: #000000;
JSON
{
  "hex": "#d9c346",
  "rgb": {
    "r": 217,
    "g": 195,
    "b": 70
  },
  "hsl": {
    "h": 51.02,
    "s": 65.919,
    "l": 56.275
  },
  "oklch": {
    "l": 0.81338,
    "c": 0.14309,
    "h": 99.1
  },
  "luminance": 0.54224
}

Semantic roles & 50–950 ramp

primary
#D9C346
secondary
#35428F
accent
#58E93F
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#17140B
muted
#85837E

Preview Lab

Preview with #D9C346

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

Preview Lab → · Contrast checker → · Palette generator →

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