#D9D756#D9D756

#D9D756 is a very light, vivid yellow. Relative luminance 0.640; OKLCH L 85.7% C 0.149 H 108.3°. Best body text is #000000 at 13.80:1 contrast (WCAG AA passes).

Color values

HEX#D9D756
RGBrgb(217, 215, 86)
HSLhsl(59, 63%, 59%)
HSVhsv(59, 60%, 85%)
CMYKcmyk(0%, 0.9%, 60.4%, 14.9%)
CIE-LABlab(83.98, -15.31, 62.04)
CIE-LCHlch(83.98, 63.90, 103.86°)
OKLaboklab(85.66% -0.047 0.1417)
OKLCHoklch(85.66% 0.149 108.3)
XYZxyz(54.5971, 64.0261, 18.2846)
Luminance0.6402 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D9D756 #5658D9
analogous
#D99656 #D9D756 #9AD956
triadic
#D9D756 #56D9D7 #D756D9
tetradic
#D9D756 #56D996 #5658D9 #D9569A
square
#D9D756 #56D996 #5658D9 #D9569A
split-complementary
#D9D756 #569AD9 #9656D9
monochromatic
#939221 #C5C32C #D9D756 #E4E388 #EFEFBA

Accessibility & contrast

On white

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

On black

13.80
#D9D756 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D9D756
13.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D9D756#FFFFFF#000000##000000
##D9D7561.001.5213.8013.80
#FFFFFF1.521.0021.0021.00
#00000013.8021.001.001.00
##00000013.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#E7CF47
Deuteranopia (green-blind)
#E9D45E
Tritanopia (blue-blind)
#E7CABC
Achromatopsia (no color)
#D1D1D1

Design tokens & code

CSS
--color: #d9d756;
/* rgb */ color: rgb(217, 215, 86);
/* oklch */ color: oklch(85.7% 0.149 108.3);
Tailwind
colors: {
  custom: {
    50: '#e8e38b',
    500: '#d9d756',
    950: '#000000',
  },
}
SCSS
$custom: #d9d756;
$custom-light: #e8e38b;
$custom-dark: #000000;
JSON
{
  "hex": "#d9d756",
  "rgb": {
    "r": 217,
    "g": 215,
    "b": 86
  },
  "hsl": {
    "h": 59.084,
    "s": 63.285,
    "l": 59.412
  },
  "oklch": {
    "l": 0.85661,
    "c": 0.14932,
    "h": 108.3
  },
  "luminance": 0.64024
}

Semantic roles & 50–950 ramp

primary
#D9D756
secondary
#3B3C98
accent
#44E641
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#16150C
muted
#85847F

Preview Lab

Preview with #D9D756

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

Preview Lab → · Contrast checker → · Palette generator →

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