#D8D941#D8D941

#D8D941 is a very light, vivid yellow. Relative luminance 0.646; OKLCH L 85.8% C 0.166 H 109.8°. Best body text is #000000 at 13.92:1 contrast (WCAG AA passes).

Color values

HEX#D8D941
RGBrgb(216, 217, 65)
HSLhsl(60, 67%, 55%)
HSVhsv(60, 70%, 85%)
CMYKcmyk(0.5%, 0%, 70%, 14.9%)
CIE-LABlab(84.28, -17.91, 70.48)
CIE-LCHlch(84.28, 72.72, 104.25°)
OKLaboklab(85.83% -0.0563 0.1564)
OKLCHoklch(85.83% 0.166 109.8)
XYZxyz(54.0878, 64.6078, 14.6214)
Luminance0.6461 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8D941 #4241D9
analogous
#D98E41 #D8D941 #8CD941
triadic
#D8D941 #41D8D9 #D941D8
tetradic
#D8D941 #41D98E #4241D9 #D9418C
square
#D8D941 #41D98E #4241D9 #D9418C
split-complementary
#D8D941 #418CD9 #8E41D9
monochromatic
#84851B #B7B825 #D8D941 #E2E374 #EDEDA7

Accessibility & contrast

On white

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

On black

13.92
#D8D941 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D8D941
13.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8D941#FFFFFF#000000##000000
##D8D9411.001.5113.9213.92
#FFFFFF1.511.0021.0021.00
#00000013.9221.001.001.00
##00000013.9221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d8d941;
/* rgb */ color: rgb(216, 217, 65);
/* oklch */ color: oklch(85.8% 0.166 109.8);
Tailwind
colors: {
  custom: {
    50: '#e8e47f',
    500: '#d8d941',
    950: '#000000',
  },
}
SCSS
$custom: #d8d941;
$custom-light: #e8e47f;
$custom-dark: #000000;
JSON
{
  "hex": "#d8d941",
  "rgb": {
    "r": 216,
    "g": 217,
    "b": 65
  },
  "hsl": {
    "h": 60.395,
    "s": 66.667,
    "l": 55.294
  },
  "oklch": {
    "l": 0.85834,
    "c": 0.16619,
    "h": 109.8
  },
  "luminance": 0.64606
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D8D941

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

Preview Lab → · Contrast checker → · Palette generator →

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