#D5D456#D5D456

#D5D456 is a very light, vivid yellow. Relative luminance 0.619; OKLCH L 84.7% C 0.147 H 108.7°. Best body text is #000000 at 13.38:1 contrast (WCAG AA passes).

Color values

HEX#D5D456
RGBrgb(213, 212, 86)
HSLhsl(60, 60%, 59%)
HSVhsv(60, 60%, 84%)
CMYKcmyk(0%, 0.5%, 59.6%, 16.5%)
CIE-LABlab(82.86, -15.46, 60.74)
CIE-LCHlch(82.86, 62.67, 104.28°)
OKLaboklab(84.69% -0.0472 0.1391)
OKLCHoklch(84.69% 0.147 108.7)
XYZxyz(52.6654, 61.9065, 17.9772)
Luminance0.6190 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D5D456 #5657D5
analogous
#D59456 #D5D456 #96D556
triadic
#D5D456 #56D5D4 #D456D5
tetradic
#D5D456 #56D594 #5657D5 #D55696
square
#D5D456 #56D594 #5657D5 #D55696
split-complementary
#D5D456 #5696D5 #9456D5
monochromatic
#8D8D23 #BEBD2F #D5D456 #E1E087 #EDEDB8

Accessibility & contrast

On white

1.57
#D5D456 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.38
#D5D456 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D5D456
13.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D5D456#FFFFFF#000000##000000
##D5D4561.001.5713.3813.38
#FFFFFF1.571.0021.0021.00
#00000013.3821.001.001.00
##00000013.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#E4CC47
Deuteranopia (green-blind)
#E6D05D
Tritanopia (blue-blind)
#E3C8B9
Achromatopsia (no color)
#CECECE

Design tokens & code

CSS
--color: #d5d456;
/* rgb */ color: rgb(213, 212, 86);
/* oklch */ color: oklch(84.7% 0.147 108.7);
Tailwind
colors: {
  custom: {
    50: '#e5e18b',
    500: '#d5d456',
    950: '#000000',
  },
}
SCSS
$custom: #d5d456;
$custom-light: #e5e18b;
$custom-dark: #000000;
JSON
{
  "hex": "#d5d456",
  "rgb": {
    "r": 213,
    "g": 212,
    "b": 86
  },
  "hsl": {
    "h": 59.528,
    "s": 60.19,
    "l": 58.627
  },
  "oklch": {
    "l": 0.84693,
    "c": 0.14685,
    "h": 108.7
  },
  "luminance": 0.61905
}

Semantic roles & 50–950 ramp

primary
#D5D456
secondary
#3C3D93
accent
#46E344
background
#FEFEFC
surface
#FDFCF4
border
#D5D5CE
text
#16150C
muted
#84847F

Preview Lab

Preview with #D5D456

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

Preview Lab → · Contrast checker → · Palette generator →

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