#D5D956#D5D956

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

Color values

HEX#D5D956
RGBrgb(213, 217, 86)
HSLhsl(62, 63%, 59%)
HSVhsv(62, 60%, 85%)
CMYKcmyk(1.8%, 0%, 60.4%, 14.9%)
CIE-LABlab(84.20, -17.93, 62.18)
CIE-LCHlch(84.20, 64.71, 106.09°)
OKLaboklab(85.76% -0.0542 0.1421)
OKLCHoklch(85.76% 0.152 110.9)
XYZxyz(53.9347, 64.4450, 18.4003)
Luminance0.6444 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D5D956 #5A56D9
analogous
#D99C56 #D5D956 #94D956
triadic
#D5D956 #56D5D9 #D956D5
tetradic
#D5D956 #56D99C #5A56D9 #D95694
square
#D5D956 #56D99C #5A56D9 #D95694
split-complementary
#D5D956 #5694D9 #9C56D9
monochromatic
#909321 #C1C52C #D5D956 #E1E488 #EEEFBA

Accessibility & contrast

On white

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

On black

13.89
#D5D956 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D5D956
13.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D5D956#FFFFFF#000000##000000
##D5D9561.001.5113.8913.89
#FFFFFF1.511.0021.0021.00
#00000013.8921.001.001.00
##00000013.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#E9D046
Deuteranopia (green-blind)
#EAD45E
Tritanopia (blue-blind)
#E3CDBD
Achromatopsia (no color)
#D2D2D2

Design tokens & code

CSS
--color: #d5d956;
/* rgb */ color: rgb(213, 217, 86);
/* oklch */ color: oklch(85.8% 0.152 110.9);
Tailwind
colors: {
  custom: {
    50: '#e5e48b',
    500: '#d5d956',
    950: '#000000',
  },
}
SCSS
$custom: #d5d956;
$custom-light: #e5e48b;
$custom-dark: #000000;
JSON
{
  "hex": "#d5d956",
  "rgb": {
    "r": 213,
    "g": 217,
    "b": 86
  },
  "hsl": {
    "h": 61.832,
    "s": 63.285,
    "l": 59.412
  },
  "oklch": {
    "l": 0.85758,
    "c": 0.1521,
    "h": 110.9
  },
  "luminance": 0.64444
}

Semantic roles & 50–950 ramp

primary
#D5D956
secondary
#3E3B98
accent
#41E647
background
#FEFEFC
surface
#FDFCF4
border
#D5D5CE
text
#16150C
muted
#84847F

Preview Lab

Preview with #D5D956

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

Preview Lab → · Contrast checker → · Palette generator →

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