#D5D150#D5D150

#D5D150 is a very light, vivid yellow. Relative luminance 0.603; OKLCH L 84.0% C 0.149 H 107.5°. Best body text is #000000 at 13.07:1 contrast (WCAG AA passes).

Color values

HEX#D5D150
RGBrgb(213, 209, 80)
HSLhsl(58, 61%, 57%)
HSVhsv(58, 62%, 84%)
CMYKcmyk(0%, 1.9%, 62.4%, 16.5%)
CIE-LABlab(82.02, -14.36, 62.34)
CIE-LCHlch(82.02, 63.98, 102.97°)
OKLaboklab(84% -0.0447 0.1416)
OKLCHoklch(84% 0.149 107.5)
XYZxyz(51.6907, 60.3279, 16.5094)
Luminance0.6033 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D5D150 #5054D5
analogous
#D58E50 #D5D150 #97D550
triadic
#D5D150 #50D5D1 #D150D5
tetradic
#D5D150 #50D58E #5054D5 #D55097
square
#D5D150 #50D58E #5054D5 #D55097
split-complementary
#D5D150 #5097D5 #8E50D5
monochromatic
#8A8621 #BBB72D #D5D150 #E1DE81 #EDEBB3

Accessibility & contrast

On white

1.61
#D5D150 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.07
#D5D150 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D5D150
13.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D5D150#FFFFFF#000000##000000
##D5D1501.001.6113.0713.07
#FFFFFF1.611.0021.0021.00
#00000013.0721.001.001.00
##00000013.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#E1C940
Deuteranopia (green-blind)
#E4CE58
Tritanopia (blue-blind)
#E4C4B6
Achromatopsia (no color)
#CCCCCC

Design tokens & code

CSS
--color: #d5d150;
/* rgb */ color: rgb(213, 209, 80);
/* oklch */ color: oklch(84.0% 0.149 107.5);
Tailwind
colors: {
  custom: {
    50: '#e5de87',
    500: '#d5d150',
    950: '#000000',
  },
}
SCSS
$custom: #d5d150;
$custom-light: #e5de87;
$custom-dark: #000000;
JSON
{
  "hex": "#d5d150",
  "rgb": {
    "r": 213,
    "g": 209,
    "b": 80
  },
  "hsl": {
    "h": 58.195,
    "s": 61.29,
    "l": 57.451
  },
  "oklch": {
    "l": 0.84002,
    "c": 0.14852,
    "h": 107.5
  },
  "luminance": 0.60326
}

Semantic roles & 50–950 ramp

primary
#D5D150
secondary
#393C90
accent
#48E443
background
#FEFEFC
surface
#FDFCF4
border
#D5D5CE
text
#16150C
muted
#84847F

Preview Lab

Preview with #D5D150

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

Preview Lab → · Contrast checker → · Palette generator →

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