#D9D846#D9D846

#D9D846 is a very light, vivid yellow. Relative luminance 0.643; OKLCH L 85.7% C 0.162 H 109.0°. Best body text is #000000 at 13.86:1 contrast (WCAG AA passes).

Color values

HEX#D9D846
RGBrgb(217, 216, 70)
HSLhsl(60, 66%, 56%)
HSVhsv(60, 68%, 85%)
CMYKcmyk(0%, 0.5%, 67.7%, 14.9%)
CIE-LABlab(84.13, -16.75, 68.55)
CIE-LCHlch(84.13, 70.56, 103.73°)
OKLaboklab(85.74% -0.0527 0.1531)
OKLCHoklch(85.74% 0.162 109)
XYZxyz(54.2785, 64.3073, 15.3465)
Luminance0.6431 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D9D846 #4647D9
analogous
#D98F46 #D9D846 #91D946
triadic
#D9D846 #46D9D8 #D846D9
tetradic
#D9D846 #46D98F #4647D9 #D94691
square
#D9D846 #46D98F #4647D9 #D94691
split-complementary
#D9D846 #4691D9 #8F46D9
monochromatic
#89881C #BBBA26 #D9D846 #E3E379 #EEEDAC

Accessibility & contrast

On white

1.52
#D9D846 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.86
#D9D846 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D9D846
13.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D9D846#FFFFFF#000000##000000
##D9D8461.001.5213.8613.86
#FFFFFF1.521.0021.0021.00
#00000013.8621.001.001.00
##00000013.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#E9CF2F
Deuteranopia (green-blind)
#EBD450
Tritanopia (blue-blind)
#E8CABB
Achromatopsia (no color)
#D2D2D2

Design tokens & code

CSS
--color: #d9d846;
/* rgb */ color: rgb(217, 216, 70);
/* oklch */ color: oklch(85.7% 0.162 109.0);
Tailwind
colors: {
  custom: {
    50: '#e8e382',
    500: '#d9d846',
    950: '#000000',
  },
}
SCSS
$custom: #d9d846;
$custom-light: #e8e382;
$custom-dark: #000000;
JSON
{
  "hex": "#d9d846",
  "rgb": {
    "r": 217,
    "g": 216,
    "b": 70
  },
  "hsl": {
    "h": 59.592,
    "s": 65.919,
    "l": 56.275
  },
  "oklch": {
    "l": 0.85739,
    "c": 0.16188,
    "h": 109
  },
  "luminance": 0.64306
}

Semantic roles & 50–950 ramp

primary
#D9D846
secondary
#35358F
accent
#40E93F
background
#FFFEFB
surface
#FEFCF2
border
#D6D5CC
text
#17150B
muted
#85847E

Preview Lab

Preview with #D9D846

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

Preview Lab → · Contrast checker → · Palette generator →

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