#D4D321#D4D321

#D4D321 is a very light, vivid yellow. Relative luminance 0.607; OKLCH L 84.1% C 0.176 H 109.3°. Best body text is #000000 at 13.14:1 contrast (WCAG AA passes).

Color values

HEX#D4D321
RGBrgb(212, 211, 33)
HSLhsl(60, 73%, 48%)
HSVhsv(60, 84%, 83%)
CMYKcmyk(0%, 0.5%, 84.4%, 16.9%)
CIE-LABlab(82.22, -17.78, 77.67)
CIE-LCHlch(82.22, 79.68, 102.89°)
OKLaboklab(84.06% -0.0583 0.1663)
OKLCHoklch(84.06% 0.176 109.3)
XYZxyz(50.7222, 60.6970, 10.4824)
Luminance0.6069 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D4D321 #2122D4
analogous
#D47A21 #D4D321 #7BD421
triadic
#D4D321 #21D4D3 #D321D4
tetradic
#D4D321 #21D47A #2122D4 #D4217B
square
#D4D321 #21D47A #2122D4 #D4217B
split-complementary
#D4D321 #217BD4 #7A21D4
monochromatic
#6A6A11 #9F9E19 #D4D321 #E4E34F #ECEB84

Accessibility & contrast

On white

1.60
#D4D321 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.14
#D4D321 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D4D321
13.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D4D321#FFFFFF#000000##000000
##D4D3211.001.6013.1413.14
#FFFFFF1.601.0021.0021.00
#00000013.1421.001.001.00
##00000013.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#E5CA00
Deuteranopia (green-blind)
#E7CF34
Tritanopia (blue-blind)
#E4C5B4
Achromatopsia (no color)
#CCCCCC

Design tokens & code

CSS
--color: #d4d321;
/* rgb */ color: rgb(212, 211, 33);
/* oklch */ color: oklch(84.1% 0.176 109.3);
Tailwind
colors: {
  custom: {
    50: '#e6e071',
    500: '#d4d321',
    950: '#000000',
  },
}
SCSS
$custom: #d4d321;
$custom-light: #e6e071;
$custom-dark: #000000;
JSON
{
  "hex": "#d4d321",
  "rgb": {
    "r": 212,
    "g": 211,
    "b": 33
  },
  "hsl": {
    "h": 59.665,
    "s": 73.061,
    "l": 48.039
  },
  "oklch": {
    "l": 0.8406,
    "c": 0.17625,
    "h": 109.3
  },
  "luminance": 0.60695
}

Semantic roles & 50–950 ramp

primary
#D4D321
secondary
#252674
accent
#39F038
background
#FFFEFB
surface
#FEFCF1
border
#D6D5CB
text
#171509
muted
#85847D

Preview Lab

Preview with #D4D321

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

Preview Lab → · Contrast checker → · Palette generator →

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