#D5D250#D5D250

#D5D250 is a very light, vivid yellow. Relative luminance 0.608; OKLCH L 84.2% C 0.150 H 108.0°. Best body text is #000000 at 13.16:1 contrast (WCAG AA passes).

Color values

HEX#D5D250
RGBrgb(213, 210, 80)
HSLhsl(59, 61%, 57%)
HSVhsv(59, 62%, 84%)
CMYKcmyk(0%, 1.4%, 62.4%, 16.5%)
CIE-LABlab(82.28, -14.86, 62.63)
CIE-LCHlch(82.28, 64.36, 103.34°)
OKLaboklab(84.21% -0.0461 0.1422)
OKLCHoklch(84.21% 0.15 108)
XYZxyz(51.9368, 60.8201, 16.5915)
Luminance0.6082 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D5D250 #5053D5
analogous
#D59050 #D5D250 #95D550
triadic
#D5D250 #50D5D2 #D250D5
tetradic
#D5D250 #50D590 #5053D5 #D55095
square
#D5D250 #50D590 #5053D5 #D55095
split-complementary
#D5D250 #5095D5 #9050D5
monochromatic
#8A8721 #BBB82D #D5D250 #E1DF81 #EDEBB3

Accessibility & contrast

On white

1.60
#D5D250 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.16
#D5D250 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D5D250
13.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D5D250#FFFFFF#000000##000000
##D5D2501.001.6013.1613.16
#FFFFFF1.601.0021.0021.00
#00000013.1621.001.001.00
##00000013.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#E2CA40
Deuteranopia (green-blind)
#E5CF58
Tritanopia (blue-blind)
#E3C5B7
Achromatopsia (no color)
#CDCDCD

Design tokens & code

CSS
--color: #d5d250;
/* rgb */ color: rgb(213, 210, 80);
/* oklch */ color: oklch(84.2% 0.150 108.0);
Tailwind
colors: {
  custom: {
    50: '#e5df87',
    500: '#d5d250',
    950: '#000000',
  },
}
SCSS
$custom: #d5d250;
$custom-light: #e5df87;
$custom-dark: #000000;
JSON
{
  "hex": "#d5d250",
  "rgb": {
    "r": 213,
    "g": 210,
    "b": 80
  },
  "hsl": {
    "h": 58.647,
    "s": 61.29,
    "l": 57.451
  },
  "oklch": {
    "l": 0.84214,
    "c": 0.14952,
    "h": 108
  },
  "luminance": 0.60819
}

Semantic roles & 50–950 ramp

primary
#D5D250
secondary
#393B90
accent
#47E443
background
#FEFEFC
surface
#FDFCF4
border
#D5D5CE
text
#16150C
muted
#84847F

Preview Lab

Preview with #D5D250

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

Preview Lab → · Contrast checker → · Palette generator →

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