#D8D841#D8D841

#D8D841 is a very light, vivid yellow. Relative luminance 0.641; OKLCH L 85.6% C 0.165 H 109.4°. Best body text is #000000 at 13.82:1 contrast (WCAG AA passes).

Color values

HEX#D8D841
RGBrgb(216, 216, 65)
HSLhsl(60, 66%, 55%)
HSVhsv(60, 70%, 85%)
CMYKcmyk(0%, 0%, 69.9%, 15.3%)
CIE-LABlab(84.01, -17.41, 70.22)
CIE-LCHlch(84.01, 72.35, 103.93°)
OKLaboklab(85.62% -0.055 0.1558)
OKLCHoklch(85.62% 0.165 109.4)
XYZxyz(53.8308, 64.0939, 14.5357)
Luminance0.6409 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8D841 #4141D8
analogous
#D88C41 #D8D841 #8CD841
triadic
#D8D841 #41D8D8 #D841D8
tetradic
#D8D841 #41D88C #4141D8 #D8418C
square
#D8D841 #41D88C #4141D8 #D8418C
split-complementary
#D8D841 #418CD8 #8C41D8
monochromatic
#84841B #B6B625 #D8D841 #E2E274 #EDEDA7

Accessibility & contrast

On white

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

On black

13.82
#D8D841 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D8D841
13.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8D841#FFFFFF#000000##000000
##D8D8411.001.5213.8213.82
#FFFFFF1.521.0021.0021.00
#00000013.8221.001.001.00
##00000013.8221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d8d841;
/* rgb */ color: rgb(216, 216, 65);
/* oklch */ color: oklch(85.6% 0.165 109.4);
Tailwind
colors: {
  custom: {
    50: '#e8e37f',
    500: '#d8d841',
    950: '#000000',
  },
}
SCSS
$custom: #d8d841;
$custom-light: #e8e37f;
$custom-dark: #000000;
JSON
{
  "hex": "#d8d841",
  "rgb": {
    "r": 216,
    "g": 216,
    "b": 65
  },
  "hsl": {
    "h": 60,
    "s": 65.939,
    "l": 55.098
  },
  "oklch": {
    "l": 0.85621,
    "c": 0.16521,
    "h": 109.4
  },
  "luminance": 0.64092
}

Semantic roles & 50–950 ramp

primary
#D8D841
secondary
#33338A
accent
#3FE93F
background
#FFFEFB
surface
#FEFCF2
border
#D6D5CC
text
#17150B
muted
#85847E

Preview Lab

Preview with #D8D841

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

Preview Lab → · Contrast checker → · Palette generator →

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