#D9D746#D9D746

#D9D746 is a very light, vivid yellow. Relative luminance 0.638; OKLCH L 85.5% C 0.161 H 108.6°. Best body text is #000000 at 13.76:1 contrast (WCAG AA passes).

Color values

HEX#D9D746
RGBrgb(217, 215, 70)
HSLhsl(59, 66%, 56%)
HSVhsv(59, 68%, 85%)
CMYKcmyk(0%, 0.9%, 67.7%, 14.9%)
CIE-LABlab(83.86, -16.25, 68.28)
CIE-LCHlch(83.86, 70.19, 103.39°)
OKLaboklab(85.53% -0.0513 0.1525)
OKLCHoklch(85.53% 0.161 108.6)
XYZxyz(54.0231, 63.7964, 15.2614)
Luminance0.6380 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D9D746 #4648D9
analogous
#D98E46 #D9D746 #92D946
triadic
#D9D746 #46D9D7 #D746D9
tetradic
#D9D746 #46D98E #4648D9 #D94692
square
#D9D746 #46D98E #4648D9 #D94692
split-complementary
#D9D746 #4692D9 #8E46D9
monochromatic
#89871C #BBB926 #D9D746 #E3E279 #EEEDAC

Accessibility & contrast

On white

1.53
#D9D746 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.76
#D9D746 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D9D746
13.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D9D746#FFFFFF#000000##000000
##D9D7461.001.5313.7613.76
#FFFFFF1.531.0021.0021.00
#00000013.7621.001.001.00
##00000013.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#E8CE30
Deuteranopia (green-blind)
#EAD350
Tritanopia (blue-blind)
#E8C9BA
Achromatopsia (no color)
#D1D1D1

Design tokens & code

CSS
--color: #d9d746;
/* rgb */ color: rgb(217, 215, 70);
/* oklch */ color: oklch(85.5% 0.161 108.6);
Tailwind
colors: {
  custom: {
    50: '#e8e382',
    500: '#d9d746',
    950: '#000000',
  },
}
SCSS
$custom: #d9d746;
$custom-light: #e8e382;
$custom-dark: #000000;
JSON
{
  "hex": "#d9d746",
  "rgb": {
    "r": 217,
    "g": 215,
    "b": 70
  },
  "hsl": {
    "h": 59.184,
    "s": 65.919,
    "l": 56.275
  },
  "oklch": {
    "l": 0.85527,
    "c": 0.1609,
    "h": 108.6
  },
  "luminance": 0.63795
}

Semantic roles & 50–950 ramp

primary
#D9D746
secondary
#35368F
accent
#41E93F
background
#FFFEFB
surface
#FEFCF2
border
#D6D5CC
text
#17150B
muted
#85847E

Preview Lab

Preview with #D9D746

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

Preview Lab → · Contrast checker → · Palette generator →

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