#D5D557#D5D557

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

Color values

HEX#D5D557
RGBrgb(213, 213, 87)
HSLhsl(60, 60%, 59%)
HSVhsv(60, 59%, 84%)
CMYKcmyk(0%, 0%, 59.2%, 16.5%)
CIE-LABlab(83.14, -15.89, 60.61)
CIE-LCHlch(83.14, 62.66, 104.69°)
OKLaboklab(84.92% -0.0483 0.1389)
OKLCHoklch(84.92% 0.147 109.2)
XYZxyz(52.9567, 62.4242, 18.2744)
Luminance0.6242 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D5D557 #5757D5
analogous
#D59657 #D5D557 #96D557
triadic
#D5D557 #57D5D5 #D557D5
tetradic
#D5D557 #57D596 #5757D5 #D55796
square
#D5D557 #57D596 #5757D5 #D55796
split-complementary
#D5D557 #5796D5 #9657D5
monochromatic
#8E8E24 #BFBF30 #D5D557 #E1E188 #EDEDB9

Accessibility & contrast

On white

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

On black

13.48
#D5D557 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D5D557
13.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D5D557#FFFFFF#000000##000000
##D5D5571.001.5613.4813.48
#FFFFFF1.561.0021.0021.00
#00000013.4821.001.001.00
##00000013.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#E5CD48
Deuteranopia (green-blind)
#E7D15E
Tritanopia (blue-blind)
#E3C9BA
Achromatopsia (no color)
#CFCFCF

Design tokens & code

CSS
--color: #d5d557;
/* rgb */ color: rgb(213, 213, 87);
/* oklch */ color: oklch(84.9% 0.147 109.2);
Tailwind
colors: {
  custom: {
    50: '#e5e18b',
    500: '#d5d557',
    950: '#000000',
  },
}
SCSS
$custom: #d5d557;
$custom-light: #e5e18b;
$custom-dark: #000000;
JSON
{
  "hex": "#d5d557",
  "rgb": {
    "r": 213,
    "g": 213,
    "b": 87
  },
  "hsl": {
    "h": 60,
    "s": 60,
    "l": 58.824
  },
  "oklch": {
    "l": 0.84915,
    "c": 0.14708,
    "h": 109.2
  },
  "luminance": 0.62423
}

Semantic roles & 50–950 ramp

primary
#D5D557
secondary
#3C3C94
accent
#45E345
background
#FEFEFC
surface
#FDFCF4
border
#D5D5CE
text
#16150C
muted
#84847F

Preview Lab

Preview with #D5D557

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

Preview Lab → · Contrast checker → · Palette generator →

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