#D9D041#D9D041

#D9D041 is a very light, vivid yellow. Relative luminance 0.602; OKLCH L 84.0% C 0.158 H 105.7°. Best body text is #000000 at 13.05:1 contrast (WCAG AA passes).

Color values

HEX#D9D041
RGBrgb(217, 208, 65)
HSLhsl(56, 67%, 55%)
HSVhsv(56, 70%, 85%)
CMYKcmyk(0%, 4.1%, 70%, 14.9%)
CIE-LABlab(81.97, -13.02, 68.25)
CIE-LCHlch(81.97, 69.49, 100.80°)
OKLaboklab(84.01% -0.0427 0.1516)
OKLCHoklch(84.01% 0.158 105.7)
XYZxyz(52.1274, 60.2470, 13.8830)
Luminance0.6025 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D9D041 #414AD9
analogous
#D98441 #D9D041 #96D941
triadic
#D9D041 #41D9D0 #D041D9
tetradic
#D9D041 #41D984 #414AD9 #D94196
square
#D9D041 #41D984 #414AD9 #D94196
split-complementary
#D9D041 #4196D9 #8441D9
monochromatic
#857F1B #B8AF25 #D9D041 #E3DD74 #EDE9A7

Accessibility & contrast

On white

1.61
#D9D041 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.05
#D9D041 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D9D041
13.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D9D041#FFFFFF#000000##000000
##D9D0411.001.6113.0513.05
#FFFFFF1.611.0021.0021.00
#00000013.0521.001.001.00
##00000013.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#E2C829
Deuteranopia (green-blind)
#E5CF4B
Tritanopia (blue-blind)
#E9C2B4
Achromatopsia (no color)
#CCCCCC

Design tokens & code

CSS
--color: #d9d041;
/* rgb */ color: rgb(217, 208, 65);
/* oklch */ color: oklch(84.0% 0.158 105.7);
Tailwind
colors: {
  custom: {
    50: '#e8de7e',
    500: '#d9d041',
    950: '#000000',
  },
}
SCSS
$custom: #d9d041;
$custom-light: #e8de7e;
$custom-dark: #000000;
JSON
{
  "hex": "#d9d041",
  "rgb": {
    "r": 217,
    "g": 208,
    "b": 65
  },
  "hsl": {
    "h": 56.447,
    "s": 66.667,
    "l": 55.294
  },
  "oklch": {
    "l": 0.84012,
    "c": 0.15751,
    "h": 105.7
  },
  "luminance": 0.60245
}

Semantic roles & 50–950 ramp

primary
#D9D041
secondary
#33388B
accent
#48EA3E
background
#FFFEFB
surface
#FEFCF2
border
#D6D5CC
text
#17150B
muted
#85847E

Preview Lab

Preview with #D9D041

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

Preview Lab → · Contrast checker → · Palette generator →

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