#D5D950#D5D950

#D5D950 is a very light, vivid yellow. Relative luminance 0.644; OKLCH L 85.7% C 0.157 H 110.9°. Best body text is #000000 at 13.87:1 contrast (WCAG AA passes).

Color values

HEX#D5D950
RGBrgb(213, 217, 80)
HSLhsl(62, 64%, 58%)
HSVhsv(62, 63%, 85%)
CMYKcmyk(1.8%, 0%, 63.1%, 14.9%)
CIE-LABlab(84.15, -18.32, 64.60)
CIE-LCHlch(84.15, 67.14, 105.83°)
OKLaboklab(85.7% -0.0559 0.1464)
OKLCHoklch(85.7% 0.157 110.9)
XYZxyz(53.7030, 64.3524, 17.1802)
Luminance0.6435 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D5D950 #5450D9
analogous
#D99850 #D5D950 #90D950
triadic
#D5D950 #50D5D9 #D950D5
tetradic
#D5D950 #50D998 #5450D9 #D95090
square
#D5D950 #50D998 #5450D9 #D95090
split-complementary
#D5D950 #5090D9 #9850D9
monochromatic
#8C8F1F #BDC22A #D5D950 #E1E482 #EDEFB5

Accessibility & contrast

On white

1.51
#D5D950 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.87
#D5D950 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D5D950
13.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D5D950#FFFFFF#000000##000000
##D5D9501.001.5113.8713.87
#FFFFFF1.511.0021.0021.00
#00000013.8721.001.001.00
##00000013.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#E9D03E
Deuteranopia (green-blind)
#EAD459
Tritanopia (blue-blind)
#E3CCBD
Achromatopsia (no color)
#D2D2D2

Design tokens & code

CSS
--color: #d5d950;
/* rgb */ color: rgb(213, 217, 80);
/* oklch */ color: oklch(85.7% 0.157 110.9);
Tailwind
colors: {
  custom: {
    50: '#e5e487',
    500: '#d5d950',
    950: '#000000',
  },
}
SCSS
$custom: #d5d950;
$custom-light: #e5e487;
$custom-dark: #000000;
JSON
{
  "hex": "#d5d950",
  "rgb": {
    "r": 213,
    "g": 217,
    "b": 80
  },
  "hsl": {
    "h": 61.752,
    "s": 64.319,
    "l": 58.235
  },
  "oklch": {
    "l": 0.85704,
    "c": 0.1567,
    "h": 110.9
  },
  "luminance": 0.64351
}

Semantic roles & 50–950 ramp

primary
#D5D950
secondary
#3B3895
accent
#40E745
background
#FEFEFC
surface
#FDFCF4
border
#D5D5CE
text
#16150C
muted
#84847F

Preview Lab

Preview with #D5D950

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

Preview Lab → · Contrast checker → · Palette generator →

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