#D9D551#D9D551

#D9D551 is a very light, vivid yellow. Relative luminance 0.629; OKLCH L 85.2% C 0.151 H 107.6°. Best body text is #000000 at 13.59:1 contrast (WCAG AA passes).

Color values

HEX#D9D551
RGBrgb(217, 213, 81)
HSLhsl(58, 64%, 58%)
HSVhsv(58, 63%, 85%)
CMYKcmyk(0%, 1.8%, 62.7%, 14.9%)
CIE-LABlab(83.41, -14.63, 63.51)
CIE-LCHlch(83.41, 65.17, 102.98°)
OKLaboklab(85.19% -0.0456 0.1441)
OKLCHoklch(85.19% 0.151 107.6)
XYZxyz(53.8965, 62.9360, 17.0918)
Luminance0.6293 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D9D551 #5155D9
analogous
#D99151 #D9D551 #99D951
triadic
#D9D551 #51D9D5 #D551D9
tetradic
#D9D551 #51D991 #5155D9 #D95199
square
#D9D551 #51D991 #5155D9 #D95199
split-complementary
#D9D551 #5199D9 #9151D9
monochromatic
#908D1F #C2BE2A #D9D551 #E4E183 #EFEDB5

Accessibility & contrast

On white

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

On black

13.59
#D9D551 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D9D551
13.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D9D551#FFFFFF#000000##000000
##D9D5511.001.5513.5913.59
#FFFFFF1.551.0021.0021.00
#00000013.5921.001.001.00
##00000013.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#E6CD40
Deuteranopia (green-blind)
#E8D259
Tritanopia (blue-blind)
#E8C8BA
Achromatopsia (no color)
#D0D0D0

Design tokens & code

CSS
--color: #d9d551;
/* rgb */ color: rgb(217, 213, 81);
/* oklch */ color: oklch(85.2% 0.151 107.6);
Tailwind
colors: {
  custom: {
    50: '#e8e188',
    500: '#d9d551',
    950: '#000000',
  },
}
SCSS
$custom: #d9d551;
$custom-light: #e8e188;
$custom-dark: #000000;
JSON
{
  "hex": "#d9d551",
  "rgb": {
    "r": 217,
    "g": 213,
    "b": 81
  },
  "hsl": {
    "h": 58.235,
    "s": 64.151,
    "l": 58.431
  },
  "oklch": {
    "l": 0.85193,
    "c": 0.15118,
    "h": 107.6
  },
  "luminance": 0.62934
}

Semantic roles & 50–950 ramp

primary
#D9D551
secondary
#393C95
accent
#46E741
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#16150C
muted
#85847F

Preview Lab

Preview with #D9D551

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

Preview Lab → · Contrast checker → · Palette generator →

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