#D5D551#D5D551

#D5D551 is a very light, vivid yellow. Relative luminance 0.623; OKLCH L 84.9% C 0.152 H 109.2°. Best body text is #000000 at 13.47:1 contrast (WCAG AA passes).

Color values

HEX#D5D551
RGBrgb(213, 213, 81)
HSLhsl(60, 61%, 58%)
HSVhsv(60, 62%, 84%)
CMYKcmyk(0%, 0%, 62%, 16.5%)
CIE-LABlab(83.09, -16.28, 63.07)
CIE-LCHlch(83.09, 65.14, 104.48°)
OKLaboklab(84.86% -0.05 0.1433)
OKLCHoklch(84.86% 0.152 109.2)
XYZxyz(52.7217, 62.3302, 17.0367)
Luminance0.6233 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D5D551 #5151D5
analogous
#D59351 #D5D551 #93D551
triadic
#D5D551 #51D5D5 #D551D5
tetradic
#D5D551 #51D593 #5151D5 #D55193
square
#D5D551 #51D593 #5151D5 #D55193
split-complementary
#D5D551 #5193D5 #9351D5
monochromatic
#8A8A21 #BCBC2D #D5D551 #E1E182 #EDEDB4

Accessibility & contrast

On white

1.56
#D5D551 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.47
#D5D551 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D5D551
13.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D5D551#FFFFFF#000000##000000
##D5D5511.001.5613.4713.47
#FFFFFF1.561.0021.0021.00
#00000013.4721.001.001.00
##00000013.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#E5CD40
Deuteranopia (green-blind)
#E7D159
Tritanopia (blue-blind)
#E3C8BA
Achromatopsia (no color)
#CFCFCF

Design tokens & code

CSS
--color: #d5d551;
/* rgb */ color: rgb(213, 213, 81);
/* oklch */ color: oklch(84.9% 0.152 109.2);
Tailwind
colors: {
  custom: {
    50: '#e5e188',
    500: '#d5d551',
    950: '#000000',
  },
}
SCSS
$custom: #d5d551;
$custom-light: #e5e188;
$custom-dark: #000000;
JSON
{
  "hex": "#d5d551",
  "rgb": {
    "r": 213,
    "g": 213,
    "b": 81
  },
  "hsl": {
    "h": 60,
    "s": 61.111,
    "l": 57.647
  },
  "oklch": {
    "l": 0.8486,
    "c": 0.1518,
    "h": 109.2
  },
  "luminance": 0.62329
}

Semantic roles & 50–950 ramp

primary
#D5D551
secondary
#3A3A90
accent
#44E444
background
#FEFEFC
surface
#FDFCF4
border
#D5D5CE
text
#16150C
muted
#84847F

Preview Lab

Preview with #D5D551

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

Preview Lab → · Contrast checker → · Palette generator →

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