#D3D421#D3D421

#D3D421 is a very light, vivid yellow. Relative luminance 0.610; OKLCH L 84.2% C 0.177 H 110.0°. Best body text is #000000 at 13.21:1 contrast (WCAG AA passes).

Color values

HEX#D3D421
RGBrgb(211, 212, 33)
HSLhsl(60, 73%, 48%)
HSVhsv(60, 84%, 83%)
CMYKcmyk(0.5%, 0%, 84.4%, 16.9%)
CIE-LABlab(82.40, -18.70, 77.80)
CIE-LCHlch(82.40, 80.01, 103.51°)
OKLaboklab(84.19% -0.0607 0.1667)
OKLCHoklch(84.19% 0.177 110)
XYZxyz(50.6840, 61.0472, 10.5520)
Luminance0.6105 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D3D421 #2221D4
analogous
#D47B21 #D3D421 #7AD421
triadic
#D3D421 #21D3D4 #D421D3
tetradic
#D3D421 #21D47B #2221D4 #D4217A
square
#D3D421 #21D47B #2221D4 #D4217A
split-complementary
#D3D421 #217AD4 #7B21D4
monochromatic
#6A6A11 #9E9F19 #D3D421 #E3E44F #EBEC84

Accessibility & contrast

On white

1.59
#D3D421 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.21
#D3D421 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D3D421
13.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D3D421#FFFFFF#000000##000000
##D3D4211.001.5913.2113.21
#FFFFFF1.591.0021.0021.00
#00000013.2121.001.001.00
##00000013.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#E6CA00
Deuteranopia (green-blind)
#E7CF35
Tritanopia (blue-blind)
#E3C6B5
Achromatopsia (no color)
#CDCDCD

Design tokens & code

CSS
--color: #d3d421;
/* rgb */ color: rgb(211, 212, 33);
/* oklch */ color: oklch(84.2% 0.177 110.0);
Tailwind
colors: {
  custom: {
    50: '#e5e071',
    500: '#d3d421',
    950: '#000000',
  },
}
SCSS
$custom: #d3d421;
$custom-light: #e5e071;
$custom-dark: #000000;
JSON
{
  "hex": "#d3d421",
  "rgb": {
    "r": 211,
    "g": 212,
    "b": 33
  },
  "hsl": {
    "h": 60.335,
    "s": 73.061,
    "l": 48.039
  },
  "oklch": {
    "l": 0.84192,
    "c": 0.17739,
    "h": 110
  },
  "luminance": 0.61046
}

Semantic roles & 50–950 ramp

primary
#D3D421
secondary
#262574
accent
#38F039
background
#FFFEFB
surface
#FEFCF1
border
#D6D5CB
text
#161509
muted
#85847D

Preview Lab

Preview with #D3D421

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

Preview Lab → · Contrast checker → · Palette generator →

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