#D9D751#D9D751

#D9D751 is a very light, vivid yellow. Relative luminance 0.639; OKLCH L 85.6% C 0.153 H 108.4°. Best body text is #000000 at 13.79:1 contrast (WCAG AA passes).

Color values

HEX#D9D751
RGBrgb(217, 215, 81)
HSLhsl(59, 64%, 58%)
HSVhsv(59, 63%, 85%)
CMYKcmyk(0%, 0.9%, 62.7%, 14.9%)
CIE-LABlab(83.94, -15.63, 64.07)
CIE-LCHlch(83.94, 65.95, 103.71°)
OKLaboklab(85.62% -0.0484 0.1453)
OKLCHoklch(85.62% 0.153 108.4)
XYZxyz(54.4027, 63.9483, 17.2605)
Luminance0.6395 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D9D751 #5153D9
analogous
#D99351 #D9D751 #97D951
triadic
#D9D751 #51D9D7 #D751D9
tetradic
#D9D751 #51D993 #5153D9 #D95197
square
#D9D751 #51D993 #5153D9 #D95197
split-complementary
#D9D751 #5197D9 #9351D9
monochromatic
#908E1F #C2C02A #D9D751 #E4E383 #EFEEB5

Accessibility & contrast

On white

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

On black

13.79
#D9D751 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D9D751
13.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D9D751#FFFFFF#000000##000000
##D9D7511.001.5213.7913.79
#FFFFFF1.521.0021.0021.00
#00000013.7921.001.001.00
##00000013.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#E8CF40
Deuteranopia (green-blind)
#EAD459
Tritanopia (blue-blind)
#E8CABB
Achromatopsia (no color)
#D1D1D1

Design tokens & code

CSS
--color: #d9d751;
/* rgb */ color: rgb(217, 215, 81);
/* oklch */ color: oklch(85.6% 0.153 108.4);
Tailwind
colors: {
  custom: {
    50: '#e8e388',
    500: '#d9d751',
    950: '#000000',
  },
}
SCSS
$custom: #d9d751;
$custom-light: #e8e388;
$custom-dark: #000000;
JSON
{
  "hex": "#d9d751",
  "rgb": {
    "r": 217,
    "g": 215,
    "b": 81
  },
  "hsl": {
    "h": 59.118,
    "s": 64.151,
    "l": 58.431
  },
  "oklch": {
    "l": 0.85615,
    "c": 0.15318,
    "h": 108.4
  },
  "luminance": 0.63947
}

Semantic roles & 50–950 ramp

primary
#D9D751
secondary
#393A95
accent
#43E741
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#16150C
muted
#85847F

Preview Lab

Preview with #D9D751

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

Preview Lab → · Contrast checker → · Palette generator →

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