#D9D754#D9D754

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

Color values

HEX#D9D754
RGBrgb(217, 215, 84)
HSLhsl(59, 64%, 59%)
HSVhsv(59, 61%, 85%)
CMYKcmyk(0%, 0.9%, 61.3%, 14.9%)
CIE-LABlab(83.96, -15.44, 62.86)
CIE-LCHlch(83.96, 64.72, 103.80°)
OKLaboklab(85.64% -0.0475 0.1432)
OKLCHoklch(85.64% 0.151 108.4)
XYZxyz(54.5177, 63.9943, 17.8661)
Luminance0.6399 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D9D754 #5456D9
analogous
#D99554 #D9D754 #99D954
triadic
#D9D754 #54D9D7 #D754D9
tetradic
#D9D754 #54D995 #5456D9 #D95499
square
#D9D754 #54D995 #5456D9 #D95499
split-complementary
#D9D754 #5499D9 #9554D9
monochromatic
#929020 #C4C22C #D9D754 #E4E386 #EFEEB8

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D9D754#FFFFFF#000000##000000
##D9D7541.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)
#E7CF44
Deuteranopia (green-blind)
#EAD45C
Tritanopia (blue-blind)
#E8CABC
Achromatopsia (no color)
#D1D1D1

Design tokens & code

CSS
--color: #d9d754;
/* rgb */ color: rgb(217, 215, 84);
/* oklch */ color: oklch(85.6% 0.151 108.4);
Tailwind
colors: {
  custom: {
    50: '#e8e38a',
    500: '#d9d754',
    950: '#000000',
  },
}
SCSS
$custom: #d9d754;
$custom-light: #e8e38a;
$custom-dark: #000000;
JSON
{
  "hex": "#d9d754",
  "rgb": {
    "r": 217,
    "g": 215,
    "b": 84
  },
  "hsl": {
    "h": 59.098,
    "s": 63.636,
    "l": 59.02
  },
  "oklch": {
    "l": 0.85642,
    "c": 0.15089,
    "h": 108.4
  },
  "luminance": 0.63993
}

Semantic roles & 50–950 ramp

primary
#D9D754
secondary
#3A3B97
accent
#44E741
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#16150C
muted
#85847F

Preview Lab

Preview with #D9D754

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

Preview Lab → · Contrast checker → · Palette generator →

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