#D9D652#D9D652

#D9D652 is a very light, vivid yellow. Relative luminance 0.635; OKLCH L 85.4% C 0.151 H 108.0°. Best body text is #000000 at 13.69:1 contrast (WCAG AA passes).

Color values

HEX#D9D652
RGBrgb(217, 214, 82)
HSLhsl(59, 64%, 59%)
HSVhsv(59, 62%, 85%)
CMYKcmyk(0%, 1.4%, 62.2%, 14.9%)
CIE-LABlab(83.68, -15.07, 63.38)
CIE-LCHlch(83.68, 65.15, 103.37°)
OKLaboklab(85.41% -0.0467 0.144)
OKLCHoklch(85.41% 0.151 108)
XYZxyz(54.1866, 63.4557, 17.3748)
Luminance0.6345 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D9D652 #5255D9
analogous
#D99252 #D9D652 #98D952
triadic
#D9D652 #52D9D6 #D652D9
tetradic
#D9D652 #52D992 #5255D9 #D95298
square
#D9D652 #52D992 #5255D9 #D95298
split-complementary
#D9D652 #5298D9 #9252D9
monochromatic
#918E20 #C3C02B #D9D652 #E4E284 #EFEEB6

Accessibility & contrast

On white

1.53
#D9D652 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.69
#D9D652 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D9D652
13.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D9D652#FFFFFF#000000##000000
##D9D6521.001.5313.6913.69
#FFFFFF1.531.0021.0021.00
#00000013.6921.001.001.00
##00000013.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#E7CE42
Deuteranopia (green-blind)
#E9D35A
Tritanopia (blue-blind)
#E8C9BA
Achromatopsia (no color)
#D1D1D1

Design tokens & code

CSS
--color: #d9d652;
/* rgb */ color: rgb(217, 214, 82);
/* oklch */ color: oklch(85.4% 0.151 108.0);
Tailwind
colors: {
  custom: {
    50: '#e8e288',
    500: '#d9d652',
    950: '#000000',
  },
}
SCSS
$custom: #d9d652;
$custom-light: #e8e288;
$custom-dark: #000000;
JSON
{
  "hex": "#d9d652",
  "rgb": {
    "r": 217,
    "g": 214,
    "b": 82
  },
  "hsl": {
    "h": 58.667,
    "s": 63.981,
    "l": 58.627
  },
  "oklch": {
    "l": 0.85413,
    "c": 0.15142,
    "h": 108
  },
  "luminance": 0.63454
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D9D652

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

Preview Lab → · Contrast checker → · Palette generator →

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