#D5D050#D5D050

#D5D050 is a very light, vivid yellow. Relative luminance 0.598; OKLCH L 83.8% C 0.148 H 107.1°. Best body text is #000000 at 12.97:1 contrast (WCAG AA passes).

Color values

HEX#D5D050
RGBrgb(213, 208, 80)
HSLhsl(58, 61%, 57%)
HSVhsv(58, 62%, 84%)
CMYKcmyk(0%, 2.3%, 62.4%, 16.5%)
CIE-LABlab(81.75, -13.86, 62.06)
CIE-LCHlch(81.75, 63.59, 102.59°)
OKLaboklab(83.79% -0.0433 0.1411)
OKLCHoklch(83.79% 0.148 107.1)
XYZxyz(51.4462, 59.8387, 16.4279)
Luminance0.5984 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D5D050 #5055D5
analogous
#D58D50 #D5D050 #98D550
triadic
#D5D050 #50D5D0 #D050D5
tetradic
#D5D050 #50D58D #5055D5 #D55098
square
#D5D050 #50D58D #5055D5 #D55098
split-complementary
#D5D050 #5098D5 #8D50D5
monochromatic
#8A8621 #BBB62D #D5D050 #E1DD81 #EDEBB3

Accessibility & contrast

On white

1.62
#D5D050 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.97
#D5D050 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D5D050
12.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D5D050#FFFFFF#000000##000000
##D5D0501.001.6212.9712.97
#FFFFFF1.621.0021.0021.00
#00000012.9721.001.001.00
##00000012.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#E0C840
Deuteranopia (green-blind)
#E3CE58
Tritanopia (blue-blind)
#E4C3B5
Achromatopsia (no color)
#CBCBCB

Design tokens & code

CSS
--color: #d5d050;
/* rgb */ color: rgb(213, 208, 80);
/* oklch */ color: oklch(83.8% 0.148 107.1);
Tailwind
colors: {
  custom: {
    50: '#e5de87',
    500: '#d5d050',
    950: '#000000',
  },
}
SCSS
$custom: #d5d050;
$custom-light: #e5de87;
$custom-dark: #000000;
JSON
{
  "hex": "#d5d050",
  "rgb": {
    "r": 213,
    "g": 208,
    "b": 80
  },
  "hsl": {
    "h": 57.744,
    "s": 61.29,
    "l": 57.451
  },
  "oklch": {
    "l": 0.8379,
    "c": 0.14754,
    "h": 107.1
  },
  "luminance": 0.59837
}

Semantic roles & 50–950 ramp

primary
#D5D050
secondary
#393D90
accent
#49E443
background
#FEFEFC
surface
#FDFCF3
border
#D5D5CD
text
#16150C
muted
#84847F

Preview Lab

Preview with #D5D050

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

Preview Lab → · Contrast checker → · Palette generator →

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