#D9D924#D9D924

#D9D924 is a very light, vivid yellow. Relative luminance 0.645; OKLCH L 85.8% C 0.180 H 109.7°. Best body text is #000000 at 13.90:1 contrast (WCAG AA passes).

Color values

HEX#D9D924
RGBrgb(217, 217, 36)
HSLhsl(60, 72%, 50%)
HSVhsv(60, 83%, 85%)
CMYKcmyk(0%, 0%, 83.4%, 14.9%)
CIE-LABlab(84.23, -18.55, 78.85)
CIE-LCHlch(84.23, 81.01, 103.24°)
OKLaboklab(85.77% -0.0604 0.1692)
OKLCHoklch(85.77% 0.18 109.7)
XYZxyz(53.7487, 64.5065, 11.2884)
Luminance0.6451 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D9D924 #2424D9
analogous
#D97F24 #D9D924 #7FD924
triadic
#D9D924 #24D9D9 #D924D9
tetradic
#D9D924 #24D97F #2424D9 #D9247F
square
#D9D924 #24D97F #2424D9 #D9247F
split-complementary
#D9D924 #247FD9 #7F24D9
monochromatic
#707013 #A5A51B #D9D924 #E3E357 #ECEC8C

Accessibility & contrast

On white

1.51
#D9D924 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.90
#D9D924 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D9D924
13.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D9D924#FFFFFF#000000##000000
##D9D9241.001.5113.9013.90
#FFFFFF1.511.0021.0021.00
#00000013.9021.001.001.00
##00000013.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#EBCF00
Deuteranopia (green-blind)
#EDD437
Tritanopia (blue-blind)
#E9CBBA
Achromatopsia (no color)
#D2D2D2

Design tokens & code

CSS
--color: #d9d924;
/* rgb */ color: rgb(217, 217, 36);
/* oklch */ color: oklch(85.8% 0.180 109.7);
Tailwind
colors: {
  custom: {
    50: '#e9e473',
    500: '#d9d924',
    950: '#000000',
  },
}
SCSS
$custom: #d9d924;
$custom-light: #e9e473;
$custom-dark: #000000;
JSON
{
  "hex": "#d9d924",
  "rgb": {
    "r": 217,
    "g": 217,
    "b": 36
  },
  "hsl": {
    "h": 60,
    "s": 71.542,
    "l": 49.608
  },
  "oklch": {
    "l": 0.8577,
    "c": 0.17964,
    "h": 109.7
  },
  "luminance": 0.64505
}

Semantic roles & 50–950 ramp

primary
#D9D924
secondary
#282879
accent
#3AEE3A
background
#FFFEFB
surface
#FEFCF1
border
#D6D5CB
text
#171509
muted
#85847D

Preview Lab

Preview with #D9D924

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

Preview Lab → · Contrast checker → · Palette generator →

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