#D1D041#D1D041

#D1D041 is a very light, vivid yellow. Relative luminance 0.590; OKLCH L 83.3% C 0.159 H 109.0°. Best body text is #000000 at 12.81:1 contrast (WCAG AA passes).

Color values

HEX#D1D041
RGBrgb(209, 208, 65)
HSLhsl(60, 61%, 54%)
HSVhsv(60, 69%, 82%)
CMYKcmyk(0%, 0.5%, 68.9%, 18%)
CIE-LABlab(81.32, -16.37, 67.39)
CIE-LCHlch(81.32, 69.35, 103.66°)
OKLaboklab(83.33% -0.0517 0.1501)
OKLCHoklch(83.33% 0.159 109)
XYZxyz(49.8063, 59.0502, 13.7742)
Luminance0.5905 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D1D041 #4142D1
analogous
#D18841 #D1D041 #8AD141
triadic
#D1D041 #41D1D0 #D041D1
tetradic
#D1D041 #41D188 #4142D1 #D1418A
square
#D1D041 #41D188 #4142D1 #D1418A
split-complementary
#D1D041 #418AD1 #8841D1
monochromatic
#7A791E #ABAA29 #D1D041 #DDDC72 #E9E8A4

Accessibility & contrast

On white

1.64
#D1D041 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.81
#D1D041 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D1D041
12.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D1D041#FFFFFF#000000##000000
##D1D0411.001.6412.8112.81
#FFFFFF1.641.0021.0021.00
#00000012.8121.001.001.00
##00000012.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#E1C72A
Deuteranopia (green-blind)
#E3CC4B
Tritanopia (blue-blind)
#E0C3B4
Achromatopsia (no color)
#CACACA

Design tokens & code

CSS
--color: #d1d041;
/* rgb */ color: rgb(209, 208, 65);
/* oklch */ color: oklch(83.3% 0.159 109.0);
Tailwind
colors: {
  custom: {
    50: '#e3de7e',
    500: '#d1d041',
    950: '#000000',
  },
}
SCSS
$custom: #d1d041;
$custom-light: #e3de7e;
$custom-dark: #000000;
JSON
{
  "hex": "#d1d041",
  "rgb": {
    "r": 209,
    "g": 208,
    "b": 65
  },
  "hsl": {
    "h": 59.583,
    "s": 61.017,
    "l": 53.725
  },
  "oklch": {
    "l": 0.83333,
    "c": 0.1587,
    "h": 109
  },
  "luminance": 0.59049
}

Semantic roles & 50–950 ramp

primary
#D1D041
secondary
#343582
accent
#45E444
background
#FEFEFB
surface
#FDFCF2
border
#D5D5CC
text
#16150B
muted
#84847E

Preview Lab

Preview with #D1D041

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

Preview Lab → · Contrast checker → · Palette generator →

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