#D9D442#D9D442

#D9D442 is a very light, vivid yellow. Relative luminance 0.622; OKLCH L 84.9% C 0.161 H 107.4°. Best body text is #000000 at 13.45:1 contrast (WCAG AA passes).

Color values

HEX#D9D442
RGBrgb(217, 212, 66)
HSLhsl(58, 67%, 55%)
HSVhsv(58, 70%, 85%)
CMYKcmyk(0%, 2.3%, 69.6%, 14.9%)
CIE-LABlab(83.04, -14.97, 68.94)
CIE-LCHlch(83.04, 70.54, 102.25°)
OKLaboklab(84.86% -0.0481 0.1532)
OKLCHoklch(84.86% 0.161 107.4)
XYZxyz(53.1441, 62.2338, 14.3661)
Luminance0.6223 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D9D442 #4247D9
analogous
#D98842 #D9D442 #93D942
triadic
#D9D442 #42D9D4 #D442D9
tetradic
#D9D442 #42D988 #4247D9 #D94293
square
#D9D442 #42D988 #4247D9 #D94293
split-complementary
#D9D442 #4293D9 #8842D9
monochromatic
#86821B #B9B425 #D9D442 #E3E075 #EDEBA8

Accessibility & contrast

On white

1.56
#D9D442 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.45
#D9D442 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D9D442
13.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D9D442#FFFFFF#000000##000000
##D9D4421.001.5613.4513.45
#FFFFFF1.561.0021.0021.00
#00000013.4521.001.001.00
##00000013.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#E6CC2A
Deuteranopia (green-blind)
#E8D14C
Tritanopia (blue-blind)
#E9C6B7
Achromatopsia (no color)
#CFCFCF

Design tokens & code

CSS
--color: #d9d442;
/* rgb */ color: rgb(217, 212, 66);
/* oklch */ color: oklch(84.9% 0.161 107.4);
Tailwind
colors: {
  custom: {
    50: '#e8e07f',
    500: '#d9d442',
    950: '#000000',
  },
}
SCSS
$custom: #d9d442;
$custom-light: #e8e07f;
$custom-dark: #000000;
JSON
{
  "hex": "#d9d442",
  "rgb": {
    "r": 217,
    "g": 212,
    "b": 66
  },
  "hsl": {
    "h": 58.013,
    "s": 66.52,
    "l": 55.49
  },
  "oklch": {
    "l": 0.84863,
    "c": 0.16058,
    "h": 107.4
  },
  "luminance": 0.62232
}

Semantic roles & 50–950 ramp

primary
#D9D442
secondary
#33368C
accent
#44E93E
background
#FFFEFB
surface
#FEFCF2
border
#D6D5CC
text
#17150B
muted
#85847E

Preview Lab

Preview with #D9D442

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

Preview Lab → · Contrast checker → · Palette generator →

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