#D2D422#D2D422

#D2D422 is a very light, vivid yellow. Relative luminance 0.609; OKLCH L 84.1% C 0.177 H 110.4°. Best body text is #000000 at 13.18:1 contrast (WCAG AA passes).

Color values

HEX#D2D422
RGBrgb(210, 212, 34)
HSLhsl(61, 72%, 48%)
HSVhsv(61, 84%, 83%)
CMYKcmyk(0.9%, 0%, 84%, 16.9%)
CIE-LABlab(82.33, -19.09, 77.49)
CIE-LCHlch(82.33, 79.80, 103.84°)
OKLaboklab(84.11% -0.0617 0.1662)
OKLCHoklch(84.11% 0.177 110.4)
XYZxyz(50.4125, 60.9056, 10.6135)
Luminance0.6090 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2D422 #2422D4
analogous
#D47D22 #D2D422 #79D422
triadic
#D2D422 #22D2D4 #D422D2
tetradic
#D2D422 #22D47D #2422D4 #D42279
square
#D2D422 #22D47D #2422D4 #D42279
split-complementary
#D2D422 #2279D4 #7D22D4
monochromatic
#6A6B11 #9E9F1A #D2D422 #E1E350 #EAEB85

Accessibility & contrast

On white

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

On black

13.18
#D2D422 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2D422
13.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2D422#FFFFFF#000000##000000
##D2D4221.001.5913.1813.18
#FFFFFF1.591.0021.0021.00
#00000013.1821.001.001.00
##00000013.1821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d2d422;
/* rgb */ color: rgb(210, 212, 34);
/* oklch */ color: oklch(84.1% 0.177 110.4);
Tailwind
colors: {
  custom: {
    50: '#e4e071',
    500: '#d2d422',
    950: '#000000',
  },
}
SCSS
$custom: #d2d422;
$custom-light: #e4e071;
$custom-dark: #000000;
JSON
{
  "hex": "#d2d422",
  "rgb": {
    "r": 210,
    "g": 212,
    "b": 34
  },
  "hsl": {
    "h": 60.674,
    "s": 72.358,
    "l": 48.235
  },
  "oklch": {
    "l": 0.84112,
    "c": 0.17729,
    "h": 110.4
  },
  "luminance": 0.60904
}

Semantic roles & 50–950 ramp

primary
#D2D422
secondary
#272674
accent
#39EF3B
background
#FFFEFB
surface
#FEFCF1
border
#D6D5CB
text
#161509
muted
#85847D

Preview Lab

Preview with #D2D422

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

Preview Lab → · Contrast checker → · Palette generator →

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