#D8D84D#D8D84D

#D8D84D is a very light, vivid yellow. Relative luminance 0.642; 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#D8D84D
RGBrgb(216, 216, 77)
HSLhsl(60, 64%, 57%)
HSVhsv(60, 64%, 85%)
CMYKcmyk(0%, 0%, 64.4%, 15.3%)
CIE-LABlab(84.09, -16.78, 65.81)
CIE-LCHlch(84.09, 67.91, 104.30°)
OKLaboklab(85.71% -0.052 0.1484)
OKLCHoklch(85.71% 0.157 109.3)
XYZxyz(54.2161, 64.2480, 16.5649)
Luminance0.6425 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8D84D #4D4DD8
analogous
#D8934D #D8D84D #93D84D
triadic
#D8D84D #4DD8D8 #D84DD8
tetradic
#D8D84D #4DD893 #4D4DD8 #D84D93
square
#D8D84D #4DD893 #4D4DD8 #D84D93
split-complementary
#D8D84D #4D93D8 #934DD8
monochromatic
#8C8C1F #BEBE2A #D8D84D #E3E37F #EEEEB1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D8D84D#FFFFFF#000000##000000
##D8D84D1.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)
#E9CF3A
Deuteranopia (green-blind)
#EAD456
Tritanopia (blue-blind)
#E7CBBC
Achromatopsia (no color)
#D2D2D2

Design tokens & code

CSS
--color: #d8d84d;
/* rgb */ color: rgb(216, 216, 77);
/* oklch */ color: oklch(85.7% 0.157 109.3);
Tailwind
colors: {
  custom: {
    50: '#e7e386',
    500: '#d8d84d',
    950: '#000000',
  },
}
SCSS
$custom: #d8d84d;
$custom-light: #e7e386;
$custom-dark: #000000;
JSON
{
  "hex": "#d8d84d",
  "rgb": {
    "r": 216,
    "g": 216,
    "b": 77
  },
  "hsl": {
    "h": 60,
    "s": 64.055,
    "l": 57.451
  },
  "oklch": {
    "l": 0.85711,
    "c": 0.15728,
    "h": 109.3
  },
  "luminance": 0.64246
}

Semantic roles & 50–950 ramp

primary
#D8D84D
secondary
#373792
accent
#41E741
background
#FFFEFC
surface
#FEFCF3
border
#D6D5CD
text
#16150C
muted
#85847F

Preview Lab

Preview with #D8D84D

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

Preview Lab → · Contrast checker → · Palette generator →

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