#D0D421#D0D421

#D0D421 is a very light, vivid yellow. Relative luminance 0.606; OKLCH L 83.9% C 0.178 H 111.1°. Best body text is #000000 at 13.12:1 contrast (WCAG AA passes).

Color values

HEX#D0D421
RGBrgb(208, 212, 33)
HSLhsl(61, 73%, 48%)
HSVhsv(61, 84%, 83%)
CMYKcmyk(1.9%, 0%, 84.4%, 16.9%)
CIE-LABlab(82.17, -19.96, 77.50)
CIE-LCHlch(82.17, 80.03, 104.44°)
OKLaboklab(83.95% -0.0641 0.1662)
OKLCHoklch(83.95% 0.178 111.1)
XYZxyz(49.8323, 60.6081, 10.5121)
Luminance0.6061 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D0D421 #2521D4
analogous
#D47F21 #D0D421 #76D421
triadic
#D0D421 #21D0D4 #D421D0
tetradic
#D0D421 #21D47F #2521D4 #D42176
square
#D0D421 #21D47F #2521D4 #D42176
split-complementary
#D0D421 #2176D4 #7F21D4
monochromatic
#686A11 #9C9F19 #D0D421 #E0E44F #E9EC84

Accessibility & contrast

On white

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

On black

13.12
#D0D421 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D0D421
13.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D0D421#FFFFFF#000000##000000
##D0D4211.001.6013.1213.12
#FFFFFF1.601.0021.0021.00
#00000013.1221.001.001.00
##00000013.1221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d0d421;
/* rgb */ color: rgb(208, 212, 33);
/* oklch */ color: oklch(83.9% 0.178 111.1);
Tailwind
colors: {
  custom: {
    50: '#e3e071',
    500: '#d0d421',
    950: '#000000',
  },
}
SCSS
$custom: #d0d421;
$custom-light: #e3e071;
$custom-dark: #000000;
JSON
{
  "hex": "#d0d421",
  "rgb": {
    "r": 208,
    "g": 212,
    "b": 33
  },
  "hsl": {
    "h": 61.341,
    "s": 73.061,
    "l": 48.039
  },
  "oklch": {
    "l": 0.83945,
    "c": 0.1781,
    "h": 111.1
  },
  "luminance": 0.60607
}

Semantic roles & 50–950 ramp

primary
#D0D421
secondary
#272574
accent
#38F03C
background
#FFFEFB
surface
#FEFCF1
border
#D6D5CB
text
#161509
muted
#85847D

Preview Lab

Preview with #D0D421

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

Preview Lab → · Contrast checker → · Palette generator →

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