#D9D552#D9D552

#D9D552 is a very light, vivid yellow. Relative luminance 0.629; OKLCH L 85.2% C 0.150 H 107.5°. Best body text is #000000 at 13.59:1 contrast (WCAG AA passes).

Color values

HEX#D9D552
RGBrgb(217, 213, 82)
HSLhsl(58, 64%, 59%)
HSVhsv(58, 62%, 85%)
CMYKcmyk(0%, 1.8%, 62.2%, 14.9%)
CIE-LABlab(83.42, -14.57, 63.10)
CIE-LCHlch(83.42, 64.76, 103.00°)
OKLaboklab(85.2% -0.0453 0.1434)
OKLCHoklch(85.2% 0.15 107.5)
XYZxyz(53.9343, 62.9511, 17.2907)
Luminance0.6295 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D9D552 #5256D9
analogous
#D99152 #D9D552 #99D952
triadic
#D9D552 #52D9D5 #D552D9
tetradic
#D9D552 #52D991 #5256D9 #D95299
square
#D9D552 #52D991 #5256D9 #D95299
split-complementary
#D9D552 #5299D9 #9152D9
monochromatic
#918D20 #C3BE2B #D9D552 #E4E184 #EFEDB6

Accessibility & contrast

On white

1.55
#D9D552 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.59
#D9D552 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D9D552
13.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D9D552#FFFFFF#000000##000000
##D9D5521.001.5513.5913.59
#FFFFFF1.551.0021.0021.00
#00000013.5921.001.001.00
##00000013.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#E6CD42
Deuteranopia (green-blind)
#E8D25A
Tritanopia (blue-blind)
#E8C8BA
Achromatopsia (no color)
#D0D0D0

Design tokens & code

CSS
--color: #d9d552;
/* rgb */ color: rgb(217, 213, 82);
/* oklch */ color: oklch(85.2% 0.150 107.5);
Tailwind
colors: {
  custom: {
    50: '#e8e188',
    500: '#d9d552',
    950: '#000000',
  },
}
SCSS
$custom: #d9d552;
$custom-light: #e8e188;
$custom-dark: #000000;
JSON
{
  "hex": "#d9d552",
  "rgb": {
    "r": 217,
    "g": 213,
    "b": 82
  },
  "hsl": {
    "h": 58.222,
    "s": 63.981,
    "l": 58.627
  },
  "oklch": {
    "l": 0.85202,
    "c": 0.15042,
    "h": 107.5
  },
  "luminance": 0.62949
}

Semantic roles & 50–950 ramp

primary
#D9D552
secondary
#393C96
accent
#46E741
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#16150C
muted
#85847F

Preview Lab

Preview with #D9D552

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

Preview Lab → · Contrast checker → · Palette generator →

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