#D8D950#D8D950

#D8D950 is a very light, vivid yellow. Relative luminance 0.648; OKLCH L 85.9% C 0.156 H 109.7°. Best body text is #000000 at 13.96:1 contrast (WCAG AA passes).

Color values

HEX#D8D950
RGBrgb(216, 217, 80)
HSLhsl(60, 64%, 58%)
HSVhsv(60, 63%, 85%)
CMYKcmyk(0.5%, 0%, 63.1%, 14.9%)
CIE-LABlab(84.38, -17.09, 64.92)
CIE-LCHlch(84.38, 67.13, 104.75°)
OKLaboklab(85.95% -0.0526 0.147)
OKLCHoklch(85.95% 0.156 109.7)
XYZxyz(54.5814, 64.8053, 17.2213)
Luminance0.6480 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8D950 #5150D9
analogous
#D99550 #D8D950 #93D950
triadic
#D8D950 #50D8D9 #D950D8
tetradic
#D8D950 #50D995 #5150D9 #D95093
square
#D8D950 #50D995 #5150D9 #D95093
split-complementary
#D8D950 #5093D9 #9550D9
monochromatic
#8F8F1F #C1C22A #D8D950 #E3E482 #EEEFB5

Accessibility & contrast

On white

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

On black

13.96
#D8D950 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D8D950
13.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8D950#FFFFFF#000000##000000
##D8D9501.001.5013.9613.96
#FFFFFF1.501.0021.0021.00
#00000013.9621.001.001.00
##00000013.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#E9D03E
Deuteranopia (green-blind)
#EBD559
Tritanopia (blue-blind)
#E6CCBD
Achromatopsia (no color)
#D3D3D3

Design tokens & code

CSS
--color: #d8d950;
/* rgb */ color: rgb(216, 217, 80);
/* oklch */ color: oklch(85.9% 0.156 109.7);
Tailwind
colors: {
  custom: {
    50: '#e7e488',
    500: '#d8d950',
    950: '#000000',
  },
}
SCSS
$custom: #d8d950;
$custom-light: #e7e488;
$custom-dark: #000000;
JSON
{
  "hex": "#d8d950",
  "rgb": {
    "r": 216,
    "g": 217,
    "b": 80
  },
  "hsl": {
    "h": 60.438,
    "s": 64.319,
    "l": 58.235
  },
  "oklch": {
    "l": 0.85948,
    "c": 0.15612,
    "h": 109.7
  },
  "luminance": 0.64804
}

Semantic roles & 50–950 ramp

primary
#D8D950
secondary
#393895
accent
#40E742
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#16150C
muted
#85847F

Preview Lab

Preview with #D8D950

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

Preview Lab → · Contrast checker → · Palette generator →

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