#D9D951#D9D951

#D9D951 is a very light, vivid yellow. Relative luminance 0.650; OKLCH L 86.0% C 0.155 H 109.3°. Best body text is #000000 at 13.99:1 contrast (WCAG AA passes).

Color values

HEX#D9D951
RGBrgb(217, 217, 81)
HSLhsl(60, 64%, 58%)
HSVhsv(60, 63%, 85%)
CMYKcmyk(0%, 0%, 62.7%, 14.9%)
CIE-LABlab(84.47, -16.62, 64.63)
CIE-LCHlch(84.47, 66.73, 104.42°)
OKLaboklab(86.04% -0.0512 0.1465)
OKLCHoklch(86.04% 0.155 109.3)
XYZxyz(54.9151, 64.9730, 17.4313)
Luminance0.6497 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D9D951 #5151D9
analogous
#D99551 #D9D951 #95D951
triadic
#D9D951 #51D9D9 #D951D9
tetradic
#D9D951 #51D995 #5151D9 #D95195
square
#D9D951 #51D995 #5151D9 #D95195
split-complementary
#D9D951 #5195D9 #9551D9
monochromatic
#90901F #C2C22A #D9D951 #E4E483 #EFEFB5

Accessibility & contrast

On white

1.50
#D9D951 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.99
#D9D951 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D9D951
13.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D9D951#FFFFFF#000000##000000
##D9D9511.001.5013.9913.99
#FFFFFF1.501.0021.0021.00
#00000013.9921.001.001.00
##00000013.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#EAD03F
Deuteranopia (green-blind)
#EBD55A
Tritanopia (blue-blind)
#E8CCBD
Achromatopsia (no color)
#D3D3D3

Design tokens & code

CSS
--color: #d9d951;
/* rgb */ color: rgb(217, 217, 81);
/* oklch */ color: oklch(86.0% 0.155 109.3);
Tailwind
colors: {
  custom: {
    50: '#e8e488',
    500: '#d9d951',
    950: '#000000',
  },
}
SCSS
$custom: #d9d951;
$custom-light: #e8e488;
$custom-dark: #000000;
JSON
{
  "hex": "#d9d951",
  "rgb": {
    "r": 217,
    "g": 217,
    "b": 81
  },
  "hsl": {
    "h": 60,
    "s": 64.151,
    "l": 58.431
  },
  "oklch": {
    "l": 0.86039,
    "c": 0.1552,
    "h": 109.3
  },
  "luminance": 0.64972
}

Semantic roles & 50–950 ramp

primary
#D9D951
secondary
#393995
accent
#41E741
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#16150C
muted
#85847F

Preview Lab

Preview with #D9D951

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

Preview Lab → · Contrast checker → · Palette generator →

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