#D5D552#D5D552

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

Color values

HEX#D5D552
RGBrgb(213, 213, 82)
HSLhsl(60, 61%, 58%)
HSVhsv(60, 62%, 84%)
CMYKcmyk(0%, 0%, 61.5%, 16.5%)
CIE-LABlab(83.10, -16.22, 62.67)
CIE-LCHlch(83.10, 64.73, 104.51°)
OKLaboklab(84.87% -0.0497 0.1426)
OKLCHoklch(84.87% 0.151 109.2)
XYZxyz(52.7594, 62.3453, 17.2356)
Luminance0.6234 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D5D552 #5252D5
analogous
#D59352 #D5D552 #93D552
triadic
#D5D552 #52D5D5 #D552D5
tetradic
#D5D552 #52D593 #5252D5 #D55293
square
#D5D552 #52D593 #5252D5 #D55293
split-complementary
#D5D552 #5293D5 #9352D5
monochromatic
#8B8B22 #BCBC2E #D5D552 #E1E183 #EDEDB4

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D5D552#FFFFFF#000000##000000
##D5D5521.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)
#E5CD42
Deuteranopia (green-blind)
#E7D15A
Tritanopia (blue-blind)
#E3C8BA
Achromatopsia (no color)
#CFCFCF

Design tokens & code

CSS
--color: #d5d552;
/* rgb */ color: rgb(213, 213, 82);
/* oklch */ color: oklch(84.9% 0.151 109.2);
Tailwind
colors: {
  custom: {
    50: '#e5e188',
    500: '#d5d552',
    950: '#000000',
  },
}
SCSS
$custom: #d5d552;
$custom-light: #e5e188;
$custom-dark: #000000;
JSON
{
  "hex": "#d5d552",
  "rgb": {
    "r": 213,
    "g": 213,
    "b": 82
  },
  "hsl": {
    "h": 60,
    "s": 60.93,
    "l": 57.843
  },
  "oklch": {
    "l": 0.84869,
    "c": 0.15104,
    "h": 109.2
  },
  "luminance": 0.62344
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D5D552

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

Preview Lab → · Contrast checker → · Palette generator →

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