#D9D950#D9D950

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

Color values

HEX#D9D950
RGBrgb(217, 217, 80)
HSLhsl(60, 64%, 58%)
HSVhsv(60, 63%, 85%)
CMYKcmyk(0%, 0%, 63.1%, 14.9%)
CIE-LABlab(84.46, -16.68, 65.02)
CIE-LCHlch(84.46, 67.13, 104.39°)
OKLaboklab(86.03% -0.0515 0.1472)
OKLCHoklch(86.03% 0.156 109.3)
XYZxyz(54.8778, 64.9582, 17.2352)
Luminance0.6496 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D9D950 #5050D9
analogous
#D99450 #D9D950 #94D950
triadic
#D9D950 #50D9D9 #D950D9
tetradic
#D9D950 #50D994 #5050D9 #D95094
square
#D9D950 #50D994 #5050D9 #D95094
split-complementary
#D9D950 #5094D9 #9450D9
monochromatic
#8F8F1F #C2C22A #D9D950 #E4E482 #EFEFB5

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D9D950#FFFFFF#000000##000000
##D9D9501.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)
#EAD03E
Deuteranopia (green-blind)
#EBD559
Tritanopia (blue-blind)
#E8CCBD
Achromatopsia (no color)
#D3D3D3

Design tokens & code

CSS
--color: #d9d950;
/* rgb */ color: rgb(217, 217, 80);
/* oklch */ color: oklch(86.0% 0.156 109.3);
Tailwind
colors: {
  custom: {
    50: '#e8e488',
    500: '#d9d950',
    950: '#000000',
  },
}
SCSS
$custom: #d9d950;
$custom-light: #e8e488;
$custom-dark: #000000;
JSON
{
  "hex": "#d9d950",
  "rgb": {
    "r": 217,
    "g": 217,
    "b": 80
  },
  "hsl": {
    "h": 60,
    "s": 64.319,
    "l": 58.235
  },
  "oklch": {
    "l": 0.8603,
    "c": 0.15594,
    "h": 109.3
  },
  "luminance": 0.64957
}

Semantic roles & 50–950 ramp

primary
#D9D950
secondary
#383895
accent
#40E740
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#16150C
muted
#85847F

Preview Lab

Preview with #D9D950

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

Preview Lab → · Contrast checker → · Palette generator →

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