#D1D950#D1D950

#D1D950 is a very light, vivid yellow. Relative luminance 0.638; OKLCH L 85.4% C 0.158 H 112.5°. Best body text is #000000 at 13.75:1 contrast (WCAG AA passes).

Color values

HEX#D1D950
RGBrgb(209, 217, 80)
HSLhsl(64, 64%, 58%)
HSVhsv(64, 63%, 85%)
CMYKcmyk(3.7%, 0%, 63.1%, 14.9%)
CIE-LABlab(83.84, -19.96, 64.18)
CIE-LCHlch(83.84, 67.21, 107.27°)
OKLaboklab(85.38% -0.0602 0.1456)
OKLCHoklch(85.38% 0.158 112.5)
XYZxyz(52.5568, 63.7613, 17.1264)
Luminance0.6376 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D1D950 #5850D9
analogous
#D99D50 #D1D950 #8CD950
triadic
#D1D950 #50D1D9 #D950D1
tetradic
#D1D950 #50D99D #5850D9 #D9508C
square
#D1D950 #50D99D #5850D9 #D9508C
split-complementary
#D1D950 #508CD9 #9D50D9
monochromatic
#898F1F #B9C22A #D1D950 #DEE482 #EBEFB5

Accessibility & contrast

On white

1.53
#D1D950 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.75
#D1D950 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D1D950
13.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D1D950#FFFFFF#000000##000000
##D1D9501.001.5313.7513.75
#FFFFFF1.531.0021.0021.00
#00000013.7521.001.001.00
##00000013.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#E9CF3E
Deuteranopia (green-blind)
#E9D359
Tritanopia (blue-blind)
#DECDBD
Achromatopsia (no color)
#D1D1D1

Design tokens & code

CSS
--color: #d1d950;
/* rgb */ color: rgb(209, 217, 80);
/* oklch */ color: oklch(85.4% 0.158 112.5);
Tailwind
colors: {
  custom: {
    50: '#e2e487',
    500: '#d1d950',
    950: '#000000',
  },
}
SCSS
$custom: #d1d950;
$custom-light: #e2e487;
$custom-dark: #000000;
JSON
{
  "hex": "#d1d950",
  "rgb": {
    "r": 209,
    "g": 217,
    "b": 80
  },
  "hsl": {
    "h": 63.504,
    "s": 64.319,
    "l": 58.235
  },
  "oklch": {
    "l": 0.85382,
    "c": 0.15759,
    "h": 112.5
  },
  "luminance": 0.6376
}

Semantic roles & 50–950 ramp

primary
#D1D950
secondary
#3E3895
accent
#40E74A
background
#FEFEFC
surface
#FDFCF4
border
#D5D5CE
text
#16150C
muted
#84847F

Preview Lab

Preview with #D1D950

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

Preview Lab → · Contrast checker → · Palette generator →

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