#D1D924#D1D924

#D1D924 is a very light, vivid yellow. Relative luminance 0.633; OKLCH L 85.1% C 0.182 H 112.4°. Best body text is #000000 at 13.66:1 contrast (WCAG AA passes).

Color values

HEX#D1D924
RGBrgb(209, 217, 36)
HSLhsl(63, 72%, 50%)
HSVhsv(63, 83%, 85%)
CMYKcmyk(3.7%, 0%, 83.4%, 14.9%)
CIE-LABlab(83.61, -21.90, 78.08)
CIE-LCHlch(83.61, 81.09, 105.67°)
OKLaboklab(85.12% -0.0693 0.1679)
OKLCHoklch(85.12% 0.182 112.4)
XYZxyz(51.4276, 63.3097, 11.1796)
Luminance0.6331 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D1D924 #2C24D9
analogous
#D98724 #D1D924 #77D924
triadic
#D1D924 #24D1D9 #D924D1
tetradic
#D1D924 #24D987 #2C24D9 #D92477
square
#D1D924 #24D987 #2C24D9 #D92477
split-complementary
#D1D924 #2477D9 #8724D9
monochromatic
#6C7013 #9EA51B #D1D924 #DDE357 #E8EC8C

Accessibility & contrast

On white

1.54
#D1D924 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.66
#D1D924 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D1D924
13.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D1D924#FFFFFF#000000##000000
##D1D9241.001.5413.6613.66
#FFFFFF1.541.0021.0021.00
#00000013.6621.001.001.00
##00000013.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#EACE00
Deuteranopia (green-blind)
#EBD238
Tritanopia (blue-blind)
#E0CBBA
Achromatopsia (no color)
#D0D0D0

Design tokens & code

CSS
--color: #d1d924;
/* rgb */ color: rgb(209, 217, 36);
/* oklch */ color: oklch(85.1% 0.182 112.4);
Tailwind
colors: {
  custom: {
    50: '#e4e473',
    500: '#d1d924',
    950: '#000000',
  },
}
SCSS
$custom: #d1d924;
$custom-light: #e4e473;
$custom-dark: #000000;
JSON
{
  "hex": "#d1d924",
  "rgb": {
    "r": 209,
    "g": 217,
    "b": 36
  },
  "hsl": {
    "h": 62.652,
    "s": 71.542,
    "l": 49.608
  },
  "oklch": {
    "l": 0.85118,
    "c": 0.1816,
    "h": 112.4
  },
  "luminance": 0.63308
}

Semantic roles & 50–950 ramp

primary
#D1D924
secondary
#2C2879
accent
#3AEE42
background
#FFFEFB
surface
#FEFCF1
border
#D6D5CB
text
#161509
muted
#85847D

Preview Lab

Preview with #D1D924

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

Preview Lab → · Contrast checker → · Palette generator →

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