#D7D924#D7D924

#D7D924 is a very light, vivid yellow. Relative luminance 0.642; OKLCH L 85.6% C 0.180 H 110.4°. Best body text is #000000 at 13.84:1 contrast (WCAG AA passes).

Color values

HEX#D7D924
RGBrgb(215, 217, 36)
HSLhsl(61, 72%, 50%)
HSVhsv(61, 83%, 85%)
CMYKcmyk(0.9%, 0%, 83.4%, 14.9%)
CIE-LABlab(84.07, -19.39, 78.66)
CIE-LCHlch(84.07, 81.01, 103.85°)
OKLaboklab(85.61% -0.0627 0.1688)
OKLCHoklch(85.61% 0.18 110.4)
XYZxyz(53.1577, 64.2017, 11.2607)
Luminance0.6420 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7D924 #2624D9
analogous
#D98124 #D7D924 #7DD924
triadic
#D7D924 #24D7D9 #D924D7
tetradic
#D7D924 #24D981 #2624D9 #D9247D
square
#D7D924 #24D981 #2624D9 #D9247D
split-complementary
#D7D924 #247DD9 #8124D9
monochromatic
#6F7013 #A3A51B #D7D924 #E2E357 #EBEC8C

Accessibility & contrast

On white

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

On black

13.84
#D7D924 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7D924
13.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7D924#FFFFFF#000000##000000
##D7D9241.001.5213.8413.84
#FFFFFF1.521.0021.0021.00
#00000013.8421.001.001.00
##00000013.8421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d7d924;
/* rgb */ color: rgb(215, 217, 36);
/* oklch */ color: oklch(85.6% 0.180 110.4);
Tailwind
colors: {
  custom: {
    50: '#e8e473',
    500: '#d7d924',
    950: '#000000',
  },
}
SCSS
$custom: #d7d924;
$custom-light: #e8e473;
$custom-dark: #000000;
JSON
{
  "hex": "#d7d924",
  "rgb": {
    "r": 215,
    "g": 217,
    "b": 36
  },
  "hsl": {
    "h": 60.663,
    "s": 71.542,
    "l": 49.608
  },
  "oklch": {
    "l": 0.85605,
    "c": 0.18009,
    "h": 110.4
  },
  "luminance": 0.642
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D7D924

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

Preview Lab → · Contrast checker → · Palette generator →

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