#D8D924#D8D924

#D8D924 is a very light, vivid yellow. Relative luminance 0.644; OKLCH L 85.7% C 0.180 H 110.0°. Best body text is #000000 at 13.87:1 contrast (WCAG AA passes).

Color values

HEX#D8D924
RGBrgb(216, 217, 36)
HSLhsl(60, 72%, 50%)
HSVhsv(60, 83%, 85%)
CMYKcmyk(0.5%, 0%, 83.4%, 14.9%)
CIE-LABlab(84.15, -18.97, 78.76)
CIE-LCHlch(84.15, 81.01, 103.54°)
OKLaboklab(85.69% -0.0615 0.169)
OKLCHoklch(85.69% 0.18 110)
XYZxyz(53.4523, 64.3537, 11.2745)
Luminance0.6435 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8D924 #2524D9
analogous
#D97F24 #D8D924 #7ED924
triadic
#D8D924 #24D8D9 #D924D8
tetradic
#D8D924 #24D97F #2524D9 #D9247E
square
#D8D924 #24D97F #2524D9 #D9247E
split-complementary
#D8D924 #247ED9 #7F24D9
monochromatic
#707013 #A4A51B #D8D924 #E2E357 #EBEC8C

Accessibility & contrast

On white

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

On black

13.87
#D8D924 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D8D924
13.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8D924#FFFFFF#000000##000000
##D8D9241.001.5113.8713.87
#FFFFFF1.511.0021.0021.00
#00000013.8721.001.001.00
##00000013.8721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d8d924;
/* rgb */ color: rgb(216, 217, 36);
/* oklch */ color: oklch(85.7% 0.180 110.0);
Tailwind
colors: {
  custom: {
    50: '#e9e473',
    500: '#d8d924',
    950: '#000000',
  },
}
SCSS
$custom: #d8d924;
$custom-light: #e9e473;
$custom-dark: #000000;
JSON
{
  "hex": "#d8d924",
  "rgb": {
    "r": 216,
    "g": 217,
    "b": 36
  },
  "hsl": {
    "h": 60.331,
    "s": 71.542,
    "l": 49.608
  },
  "oklch": {
    "l": 0.85687,
    "c": 0.17987,
    "h": 110
  },
  "luminance": 0.64352
}

Semantic roles & 50–950 ramp

primary
#D8D924
secondary
#292879
accent
#3AEE3B
background
#FFFEFB
surface
#FEFCF1
border
#D6D5CB
text
#171509
muted
#85847D

Preview Lab

Preview with #D8D924

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

Preview Lab → · Contrast checker → · Palette generator →

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