#D9D546#D9D546

#D9D546 is a very light, vivid yellow. Relative luminance 0.628; OKLCH L 85.1% C 0.159 H 107.8°. Best body text is #000000 at 13.56:1 contrast (WCAG AA passes).

Color values

HEX#D9D546
RGBrgb(217, 213, 70)
HSLhsl(58, 66%, 56%)
HSVhsv(58, 68%, 85%)
CMYKcmyk(0%, 1.8%, 67.7%, 14.9%)
CIE-LABlab(83.33, -15.26, 67.75)
CIE-LCHlch(83.33, 69.45, 102.70°)
OKLaboklab(85.1% -0.0485 0.1514)
OKLCHoklch(85.1% 0.159 107.8)
XYZxyz(53.5170, 62.7841, 15.0926)
Luminance0.6278 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D9D546 #464AD9
analogous
#D98C46 #D9D546 #94D946
triadic
#D9D546 #46D9D5 #D546D9
tetradic
#D9D546 #46D98C #464AD9 #D94694
square
#D9D546 #46D98C #464AD9 #D94694
split-complementary
#D9D546 #4694D9 #8C46D9
monochromatic
#89861C #BBB726 #D9D546 #E3E179 #EEECAC

Accessibility & contrast

On white

1.55
#D9D546 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.56
#D9D546 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D9D546
13.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D9D546#FFFFFF#000000##000000
##D9D5461.001.5513.5613.56
#FFFFFF1.551.0021.0021.00
#00000013.5621.001.001.00
##00000013.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#E6CD30
Deuteranopia (green-blind)
#E9D250
Tritanopia (blue-blind)
#E8C7B8
Achromatopsia (no color)
#D0D0D0

Design tokens & code

CSS
--color: #d9d546;
/* rgb */ color: rgb(217, 213, 70);
/* oklch */ color: oklch(85.1% 0.159 107.8);
Tailwind
colors: {
  custom: {
    50: '#e8e182',
    500: '#d9d546',
    950: '#000000',
  },
}
SCSS
$custom: #d9d546;
$custom-light: #e8e182;
$custom-dark: #000000;
JSON
{
  "hex": "#d9d546",
  "rgb": {
    "r": 217,
    "g": 213,
    "b": 70
  },
  "hsl": {
    "h": 58.367,
    "s": 65.919,
    "l": 56.275
  },
  "oklch": {
    "l": 0.85103,
    "c": 0.15897,
    "h": 107.8
  },
  "luminance": 0.62782
}

Semantic roles & 50–950 ramp

primary
#D9D546
secondary
#35378F
accent
#44E93F
background
#FFFEFB
surface
#FEFCF2
border
#D6D5CC
text
#17150B
muted
#85847E

Preview Lab

Preview with #D9D546

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

Preview Lab → · Contrast checker → · Palette generator →

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