#D9D941#D9D941

#D9D941 is a very light, vivid yellow. Relative luminance 0.648; OKLCH L 85.9% C 0.166 H 109.4°. Best body text is #000000 at 13.95:1 contrast (WCAG AA passes).

Color values

HEX#D9D941
RGBrgb(217, 217, 65)
HSLhsl(60, 67%, 55%)
HSVhsv(60, 70%, 85%)
CMYKcmyk(0%, 0%, 70%, 14.9%)
CIE-LABlab(84.36, -17.49, 70.59)
CIE-LCHlch(84.36, 72.72, 103.92°)
OKLaboklab(85.92% -0.0552 0.1565)
OKLCHoklch(85.92% 0.166 109.4)
XYZxyz(54.3842, 64.7607, 14.6353)
Luminance0.6476 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D9D941 #4141D9
analogous
#D98D41 #D9D941 #8DD941
triadic
#D9D941 #41D9D9 #D941D9
tetradic
#D9D941 #41D98D #4141D9 #D9418D
square
#D9D941 #41D98D #4141D9 #D9418D
split-complementary
#D9D941 #418DD9 #8D41D9
monochromatic
#85851B #B8B825 #D9D941 #E3E374 #EDEDA7

Accessibility & contrast

On white

1.51
#D9D941 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.95
#D9D941 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D9D941
13.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D9D941#FFFFFF#000000##000000
##D9D9411.001.5113.9513.95
#FFFFFF1.511.0021.0021.00
#00000013.9521.001.001.00
##00000013.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#EAD026
Deuteranopia (green-blind)
#ECD54C
Tritanopia (blue-blind)
#E8CBBB
Achromatopsia (no color)
#D2D2D2

Design tokens & code

CSS
--color: #d9d941;
/* rgb */ color: rgb(217, 217, 65);
/* oklch */ color: oklch(85.9% 0.166 109.4);
Tailwind
colors: {
  custom: {
    50: '#e8e47f',
    500: '#d9d941',
    950: '#000000',
  },
}
SCSS
$custom: #d9d941;
$custom-light: #e8e47f;
$custom-dark: #000000;
JSON
{
  "hex": "#d9d941",
  "rgb": {
    "r": 217,
    "g": 217,
    "b": 65
  },
  "hsl": {
    "h": 60,
    "s": 66.667,
    "l": 55.294
  },
  "oklch": {
    "l": 0.85917,
    "c": 0.16599,
    "h": 109.4
  },
  "luminance": 0.64759
}

Semantic roles & 50–950 ramp

primary
#D9D941
secondary
#33338B
accent
#3EEA3E
background
#FFFEFB
surface
#FEFCF2
border
#D6D5CC
text
#17150B
muted
#85847E

Preview Lab

Preview with #D9D941

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

Preview Lab → · Contrast checker → · Palette generator →

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