#D5D954#D5D954

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

Color values

HEX#D5D954
RGBrgb(213, 217, 84)
HSLhsl(62, 64%, 59%)
HSVhsv(62, 61%, 85%)
CMYKcmyk(1.8%, 0%, 61.3%, 14.9%)
CIE-LABlab(84.18, -18.07, 63.00)
CIE-LCHlch(84.18, 65.54, 106.00°)
OKLaboklab(85.74% -0.0547 0.1436)
OKLCHoklch(85.74% 0.154 110.9)
XYZxyz(53.8552, 64.4132, 17.9818)
Luminance0.6441 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D5D954 #5854D9
analogous
#D99B54 #D5D954 #92D954
triadic
#D5D954 #54D5D9 #D954D5
tetradic
#D5D954 #54D99B #5854D9 #D95492
square
#D5D954 #54D99B #5854D9 #D95492
split-complementary
#D5D954 #5492D9 #9B54D9
monochromatic
#8F9220 #C0C42C #D5D954 #E1E486 #EEEFB8

Accessibility & contrast

On white

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

On black

13.88
#D5D954 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D5D954
13.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D5D954#FFFFFF#000000##000000
##D5D9541.001.5113.8813.88
#FFFFFF1.511.0021.0021.00
#00000013.8821.001.001.00
##00000013.8821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d5d954;
/* rgb */ color: rgb(213, 217, 84);
/* oklch */ color: oklch(85.7% 0.154 110.9);
Tailwind
colors: {
  custom: {
    50: '#e5e48a',
    500: '#d5d954',
    950: '#000000',
  },
}
SCSS
$custom: #d5d954;
$custom-light: #e5e48a;
$custom-dark: #000000;
JSON
{
  "hex": "#d5d954",
  "rgb": {
    "r": 213,
    "g": 217,
    "b": 84
  },
  "hsl": {
    "h": 61.805,
    "s": 63.636,
    "l": 59.02
  },
  "oklch": {
    "l": 0.85739,
    "c": 0.15367,
    "h": 110.9
  },
  "luminance": 0.64412
}

Semantic roles & 50–950 ramp

primary
#D5D954
secondary
#3D3A97
accent
#41E746
background
#FEFEFC
surface
#FDFCF4
border
#D5D5CE
text
#16150C
muted
#84847F

Preview Lab

Preview with #D5D954

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

Preview Lab → · Contrast checker → · Palette generator →

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