#D8D84E#D8D84E

#D8D84E is a very light, vivid yellow. Relative luminance 0.643; OKLCH L 85.7% C 0.157 H 109.3°. Best body text is #000000 at 13.85:1 contrast (WCAG AA passes).

Color values

HEX#D8D84E
RGBrgb(216, 216, 78)
HSLhsl(60, 64%, 58%)
HSVhsv(60, 64%, 85%)
CMYKcmyk(0%, 0%, 63.9%, 15.3%)
CIE-LABlab(84.10, -16.72, 65.42)
CIE-LCHlch(84.10, 67.52, 104.33°)
OKLaboklab(85.72% -0.0517 0.1478)
OKLCHoklch(85.72% 0.157 109.3)
XYZxyz(54.2517, 64.2623, 16.7523)
Luminance0.6426 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8D84E #4E4ED8
analogous
#D8934E #D8D84E #93D84E
triadic
#D8D84E #4ED8D8 #D84ED8
tetradic
#D8D84E #4ED893 #4E4ED8 #D84E93
square
#D8D84E #4ED893 #4E4ED8 #D84E93
split-complementary
#D8D84E #4E93D8 #934ED8
monochromatic
#8D8D1F #BFBF2A #D8D84E #E3E380 #EEEEB2

Accessibility & contrast

On white

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

On black

13.85
#D8D84E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D8D84E
13.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8D84E#FFFFFF#000000##000000
##D8D84E1.001.5213.8513.85
#FFFFFF1.521.0021.0021.00
#00000013.8521.001.001.00
##00000013.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#E9CF3B
Deuteranopia (green-blind)
#EAD457
Tritanopia (blue-blind)
#E7CBBC
Achromatopsia (no color)
#D2D2D2

Design tokens & code

CSS
--color: #d8d84e;
/* rgb */ color: rgb(216, 216, 78);
/* oklch */ color: oklch(85.7% 0.157 109.3);
Tailwind
colors: {
  custom: {
    50: '#e7e386',
    500: '#d8d84e',
    950: '#000000',
  },
}
SCSS
$custom: #d8d84e;
$custom-light: #e7e386;
$custom-dark: #000000;
JSON
{
  "hex": "#d8d84e",
  "rgb": {
    "r": 216,
    "g": 216,
    "b": 78
  },
  "hsl": {
    "h": 60,
    "s": 63.889,
    "l": 57.647
  },
  "oklch": {
    "l": 0.85719,
    "c": 0.15656,
    "h": 109.3
  },
  "luminance": 0.64261
}

Semantic roles & 50–950 ramp

primary
#D8D84E
secondary
#383892
accent
#41E741
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#16150C
muted
#85847F

Preview Lab

Preview with #D8D84E

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

Preview Lab → · Contrast checker → · Palette generator →

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