#D4D422#D4D422

#D4D422 is a very light, vivid yellow. Relative luminance 0.612; OKLCH L 84.3% C 0.177 H 109.7°. Best body text is #000000 at 13.24:1 contrast (WCAG AA passes).

Color values

HEX#D4D422
RGBrgb(212, 212, 34)
HSLhsl(60, 72%, 48%)
HSVhsv(60, 84%, 83%)
CMYKcmyk(0%, 0%, 84%, 16.9%)
CIE-LABlab(82.49, -18.25, 77.68)
CIE-LCHlch(82.49, 79.80, 103.22°)
OKLaboklab(84.28% -0.0595 0.1665)
OKLCHoklch(84.28% 0.177 109.7)
XYZxyz(50.9856, 61.2011, 10.6403)
Luminance0.6120 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D4D422 #2222D4
analogous
#D47B22 #D4D422 #7BD422
triadic
#D4D422 #22D4D4 #D422D4
tetradic
#D4D422 #22D47B #2222D4 #D4227B
square
#D4D422 #22D47B #2222D4 #D4227B
split-complementary
#D4D422 #227BD4 #7B22D4
monochromatic
#6B6B11 #9F9F1A #D4D422 #E3E350 #EBEB85

Accessibility & contrast

On white

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

On black

13.24
#D4D422 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D4D422
13.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D4D422#FFFFFF#000000##000000
##D4D4221.001.5913.2413.24
#FFFFFF1.591.0021.0021.00
#00000013.2421.001.001.00
##00000013.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#E6CB00
Deuteranopia (green-blind)
#E8D035
Tritanopia (blue-blind)
#E4C6B5
Achromatopsia (no color)
#CDCDCD

Design tokens & code

CSS
--color: #d4d422;
/* rgb */ color: rgb(212, 212, 34);
/* oklch */ color: oklch(84.3% 0.177 109.7);
Tailwind
colors: {
  custom: {
    50: '#e6e071',
    500: '#d4d422',
    950: '#000000',
  },
}
SCSS
$custom: #d4d422;
$custom-light: #e6e071;
$custom-dark: #000000;
JSON
{
  "hex": "#d4d422",
  "rgb": {
    "r": 212,
    "g": 212,
    "b": 34
  },
  "hsl": {
    "h": 60,
    "s": 72.358,
    "l": 48.235
  },
  "oklch": {
    "l": 0.84278,
    "c": 0.17683,
    "h": 109.7
  },
  "luminance": 0.612
}

Semantic roles & 50–950 ramp

primary
#D4D422
secondary
#262674
accent
#39EF39
background
#FFFEFB
surface
#FEFCF1
border
#D6D5CB
text
#171509
muted
#85847D

Preview Lab

Preview with #D4D422

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

Preview Lab → · Contrast checker → · Palette generator →

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