#D4D924#D4D924

#D4D924 is a very light, vivid yellow. Relative luminance 0.637; OKLCH L 85.4% C 0.181 H 111.4°. Best body text is #000000 at 13.75:1 contrast (WCAG AA passes).

Color values

HEX#D4D924
RGBrgb(212, 217, 36)
HSLhsl(62, 72%, 50%)
HSVhsv(62, 83%, 85%)
CMYKcmyk(2.3%, 0%, 83.4%, 14.9%)
CIE-LABlab(83.84, -20.65, 78.37)
CIE-LCHlch(83.84, 81.04, 104.76°)
OKLaboklab(85.36% -0.066 0.1683)
OKLCHoklch(85.36% 0.181 111.4)
XYZxyz(52.2846, 63.7516, 11.2198)
Luminance0.6375 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D4D924 #2924D9
analogous
#D98324 #D4D924 #7AD924
triadic
#D4D924 #24D4D9 #D924D4
tetradic
#D4D924 #24D983 #2924D9 #D9247A
square
#D4D924 #24D983 #2924D9 #D9247A
split-complementary
#D4D924 #247AD9 #8324D9
monochromatic
#6D7013 #A1A51B #D4D924 #DFE357 #E9EC8C

Accessibility & contrast

On white

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

On black

13.75
#D4D924 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D4D924
13.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D4D924#FFFFFF#000000##000000
##D4D9241.001.5313.7513.75
#FFFFFF1.531.0021.0021.00
#00000013.7521.001.001.00
##00000013.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#EBCF00
Deuteranopia (green-blind)
#ECD338
Tritanopia (blue-blind)
#E3CBBA
Achromatopsia (no color)
#D1D1D1

Design tokens & code

CSS
--color: #d4d924;
/* rgb */ color: rgb(212, 217, 36);
/* oklch */ color: oklch(85.4% 0.181 111.4);
Tailwind
colors: {
  custom: {
    50: '#e6e473',
    500: '#d4d924',
    950: '#000000',
  },
}
SCSS
$custom: #d4d924;
$custom-light: #e6e473;
$custom-dark: #000000;
JSON
{
  "hex": "#d4d924",
  "rgb": {
    "r": 212,
    "g": 217,
    "b": 36
  },
  "hsl": {
    "h": 61.657,
    "s": 71.542,
    "l": 49.608
  },
  "oklch": {
    "l": 0.8536,
    "c": 0.18082,
    "h": 111.4
  },
  "luminance": 0.6375
}

Semantic roles & 50–950 ramp

primary
#D4D924
secondary
#2A2879
accent
#3AEE3F
background
#FFFEFB
surface
#FEFCF1
border
#D6D5CB
text
#171509
muted
#85847D

Preview Lab

Preview with #D4D924

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

Preview Lab → · Contrast checker → · Palette generator →

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