#D1D941#D1D941

#D1D941 is a very light, vivid yellow. Relative luminance 0.636; OKLCH L 85.3% C 0.168 H 112.4°. Best body text is #000000 at 13.71:1 contrast (WCAG AA passes).

Color values

HEX#D1D941
RGBrgb(209, 217, 65)
HSLhsl(63, 67%, 55%)
HSVhsv(63, 70%, 85%)
CMYKcmyk(3.7%, 0%, 70%, 14.9%)
CIE-LABlab(83.74, -20.80, 69.77)
CIE-LCHlch(83.74, 72.80, 106.60°)
OKLaboklab(85.27% -0.0641 0.1551)
OKLCHoklch(85.27% 0.168 112.4)
XYZxyz(52.0631, 63.5639, 14.5265)
Luminance0.6356 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D1D941 #4941D9
analogous
#D99541 #D1D941 #85D941
triadic
#D1D941 #41D1D9 #D941D1
tetradic
#D1D941 #41D995 #4941D9 #D94185
square
#D1D941 #41D995 #4941D9 #D94185
split-complementary
#D1D941 #4185D9 #9541D9
monochromatic
#7F851B #B0B825 #D1D941 #DDE374 #EAEDA7

Accessibility & contrast

On white

1.53
#D1D941 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.71
#D1D941 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D1D941
13.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D1D941#FFFFFF#000000##000000
##D1D9411.001.5313.7113.71
#FFFFFF1.531.0021.0021.00
#00000013.7121.001.001.00
##00000013.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#E9CF26
Deuteranopia (green-blind)
#EAD24D
Tritanopia (blue-blind)
#DFCCBB
Achromatopsia (no color)
#D1D1D1

Design tokens & code

CSS
--color: #d1d941;
/* rgb */ color: rgb(209, 217, 65);
/* oklch */ color: oklch(85.3% 0.168 112.4);
Tailwind
colors: {
  custom: {
    50: '#e3e47f',
    500: '#d1d941',
    950: '#000000',
  },
}
SCSS
$custom: #d1d941;
$custom-light: #e3e47f;
$custom-dark: #000000;
JSON
{
  "hex": "#d1d941",
  "rgb": {
    "r": 209,
    "g": 217,
    "b": 65
  },
  "hsl": {
    "h": 63.158,
    "s": 66.667,
    "l": 55.294
  },
  "oklch": {
    "l": 0.85267,
    "c": 0.16777,
    "h": 112.4
  },
  "luminance": 0.63563
}

Semantic roles & 50–950 ramp

primary
#D1D941
secondary
#37338B
accent
#3EEA47
background
#FEFEFB
surface
#FDFCF2
border
#D5D5CC
text
#16150B
muted
#84847E

Preview Lab

Preview with #D1D941

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

Preview Lab → · Contrast checker → · Palette generator →

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