#D9D841#D9D841

#D9D841 is a very light, vivid yellow. Relative luminance 0.642; OKLCH L 85.7% C 0.165 H 109.0°. Best body text is #000000 at 13.85:1 contrast (WCAG AA passes).

Color values

HEX#D9D841
RGBrgb(217, 216, 65)
HSLhsl(60, 67%, 55%)
HSVhsv(60, 70%, 85%)
CMYKcmyk(0%, 0.5%, 70%, 14.9%)
CIE-LABlab(84.09, -17.00, 70.33)
CIE-LCHlch(84.09, 72.35, 103.59°)
OKLaboklab(85.7% -0.0539 0.156)
OKLCHoklch(85.7% 0.165 109)
XYZxyz(54.1272, 64.2467, 14.5496)
Luminance0.6424 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D9D841 #4142D9
analogous
#D98C41 #D9D841 #8ED941
triadic
#D9D841 #41D9D8 #D841D9
tetradic
#D9D841 #41D98C #4142D9 #D9418E
square
#D9D841 #41D98C #4142D9 #D9418E
split-complementary
#D9D841 #418ED9 #8C41D9
monochromatic
#85841B #B8B725 #D9D841 #E3E274 #EDEDA7

Accessibility & contrast

On white

1.52
#D9D841 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.85
#D9D841 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D9D841
13.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D9D841#FFFFFF#000000##000000
##D9D8411.001.5213.8513.85
#FFFFFF1.521.0021.0021.00
#00000013.8521.001.001.00
##00000013.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#E9CF27
Deuteranopia (green-blind)
#EBD44C
Tritanopia (blue-blind)
#E8CABB
Achromatopsia (no color)
#D2D2D2

Design tokens & code

CSS
--color: #d9d841;
/* rgb */ color: rgb(217, 216, 65);
/* oklch */ color: oklch(85.7% 0.165 109.0);
Tailwind
colors: {
  custom: {
    50: '#e8e37f',
    500: '#d9d841',
    950: '#000000',
  },
}
SCSS
$custom: #d9d841;
$custom-light: #e8e37f;
$custom-dark: #000000;
JSON
{
  "hex": "#d9d841",
  "rgb": {
    "r": 217,
    "g": 216,
    "b": 65
  },
  "hsl": {
    "h": 59.605,
    "s": 66.667,
    "l": 55.294
  },
  "oklch": {
    "l": 0.85704,
    "c": 0.16503,
    "h": 109
  },
  "luminance": 0.64245
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D9D841

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

Preview Lab → · Contrast checker → · Palette generator →

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