#D4D122#D4D122

#D4D122 is a very light, vivid yellow. Relative luminance 0.597; OKLCH L 83.6% C 0.174 H 108.6°. Best body text is #000000 at 12.94:1 contrast (WCAG AA passes).

Color values

HEX#D4D122
RGBrgb(212, 209, 34)
HSLhsl(59, 72%, 48%)
HSVhsv(59, 84%, 83%)
CMYKcmyk(0%, 1.4%, 84%, 16.9%)
CIE-LABlab(81.68, -16.77, 77.02)
CIE-LCHlch(81.68, 78.82, 102.28°)
OKLaboklab(83.64% -0.0554 0.1651)
OKLCHoklch(83.64% 0.174 108.6)
XYZxyz(50.2427, 59.7152, 10.3927)
Luminance0.5971 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D4D122 #2225D4
analogous
#D47822 #D4D122 #7ED422
triadic
#D4D122 #22D4D1 #D122D4
tetradic
#D4D122 #22D478 #2225D4 #D4227E
square
#D4D122 #22D478 #2225D4 #D4227E
split-complementary
#D4D122 #227ED4 #7822D4
monochromatic
#6B6911 #9F9D1A #D4D122 #E3E050 #EBEA85

Accessibility & contrast

On white

1.62
#D4D122 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.94
#D4D122 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D4D122
12.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D4D122#FFFFFF#000000##000000
##D4D1221.001.6212.9412.94
#FFFFFF1.621.0021.0021.00
#00000012.9421.001.001.00
##00000012.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#E3C800
Deuteranopia (green-blind)
#E5CE35
Tritanopia (blue-blind)
#E4C3B3
Achromatopsia (no color)
#CBCBCB

Design tokens & code

CSS
--color: #d4d122;
/* rgb */ color: rgb(212, 209, 34);
/* oklch */ color: oklch(83.6% 0.174 108.6);
Tailwind
colors: {
  custom: {
    50: '#e6de71',
    500: '#d4d122',
    950: '#000000',
  },
}
SCSS
$custom: #d4d122;
$custom-light: #e6de71;
$custom-dark: #000000;
JSON
{
  "hex": "#d4d122",
  "rgb": {
    "r": 212,
    "g": 209,
    "b": 34
  },
  "hsl": {
    "h": 58.989,
    "s": 72.358,
    "l": 48.235
  },
  "oklch": {
    "l": 0.83636,
    "c": 0.17412,
    "h": 108.6
  },
  "luminance": 0.59713
}

Semantic roles & 50–950 ramp

primary
#D4D122
secondary
#262774
accent
#3CEF39
background
#FFFEFB
surface
#FEFCF1
border
#D6D5CB
text
#171509
muted
#85847D

Preview Lab

Preview with #D4D122

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

Preview Lab → · Contrast checker → · Palette generator →

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