#D9D752#D9D752

#D9D752 is a very light, vivid yellow. Relative luminance 0.640; OKLCH L 85.6% C 0.152 H 108.4°. Best body text is #000000 at 13.79:1 contrast (WCAG AA passes).

Color values

HEX#D9D752
RGBrgb(217, 215, 82)
HSLhsl(59, 64%, 59%)
HSVhsv(59, 62%, 85%)
CMYKcmyk(0%, 0.9%, 62.2%, 14.9%)
CIE-LABlab(83.95, -15.57, 63.67)
CIE-LCHlch(83.95, 65.54, 103.74°)
OKLaboklab(85.62% -0.0481 0.1446)
OKLCHoklch(85.62% 0.152 108.4)
XYZxyz(54.4405, 63.9634, 17.4594)
Luminance0.6396 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D9D752 #5254D9
analogous
#D99352 #D9D752 #97D952
triadic
#D9D752 #52D9D7 #D752D9
tetradic
#D9D752 #52D993 #5254D9 #D95297
square
#D9D752 #52D993 #5254D9 #D95297
split-complementary
#D9D752 #5297D9 #9352D9
monochromatic
#918F20 #C3C12B #D9D752 #E4E384 #EFEEB6

Accessibility & contrast

On white

1.52
#D9D752 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.79
#D9D752 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D9D752
13.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D9D752#FFFFFF#000000##000000
##D9D7521.001.5213.7913.79
#FFFFFF1.521.0021.0021.00
#00000013.7921.001.001.00
##00000013.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#E8CF41
Deuteranopia (green-blind)
#EAD45A
Tritanopia (blue-blind)
#E8CABB
Achromatopsia (no color)
#D1D1D1

Design tokens & code

CSS
--color: #d9d752;
/* rgb */ color: rgb(217, 215, 82);
/* oklch */ color: oklch(85.6% 0.152 108.4);
Tailwind
colors: {
  custom: {
    50: '#e8e389',
    500: '#d9d752',
    950: '#000000',
  },
}
SCSS
$custom: #d9d752;
$custom-light: #e8e389;
$custom-dark: #000000;
JSON
{
  "hex": "#d9d752",
  "rgb": {
    "r": 217,
    "g": 215,
    "b": 82
  },
  "hsl": {
    "h": 59.111,
    "s": 63.981,
    "l": 58.627
  },
  "oklch": {
    "l": 0.85624,
    "c": 0.15242,
    "h": 108.4
  },
  "luminance": 0.63962
}

Semantic roles & 50–950 ramp

primary
#D9D752
secondary
#393B96
accent
#43E741
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#16150C
muted
#85847F

Preview Lab

Preview with #D9D752

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

Preview Lab → · Contrast checker → · Palette generator →

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