#D8D84F#D8D84F

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

Color values

HEX#D8D84F
RGBrgb(216, 216, 79)
HSLhsl(60, 64%, 58%)
HSVhsv(60, 63%, 85%)
CMYKcmyk(0%, 0%, 63.4%, 15.3%)
CIE-LABlab(84.11, -16.66, 65.03)
CIE-LCHlch(84.11, 67.13, 104.37°)
OKLaboklab(85.73% -0.0515 0.1471)
OKLCHoklch(85.73% 0.156 109.3)
XYZxyz(54.2878, 64.2767, 16.9426)
Luminance0.6428 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8D84F #4F4FD8
analogous
#D8934F #D8D84F #93D84F
triadic
#D8D84F #4FD8D8 #D84FD8
tetradic
#D8D84F #4FD893 #4F4FD8 #D84F93
square
#D8D84F #4FD893 #4F4FD8 #D84F93
split-complementary
#D8D84F #4F93D8 #934FD8
monochromatic
#8D8D1F #BFBF2A #D8D84F #E3E381 #EEEEB3

Accessibility & contrast

On white

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

On black

13.86
#D8D84F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D8D84F
13.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8D84F#FFFFFF#000000##000000
##D8D84F1.001.5213.8613.86
#FFFFFF1.521.0021.0021.00
#00000013.8621.001.001.00
##00000013.8621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d8d84f;
/* rgb */ color: rgb(216, 216, 79);
/* oklch */ color: oklch(85.7% 0.156 109.3);
Tailwind
colors: {
  custom: {
    50: '#e7e387',
    500: '#d8d84f',
    950: '#000000',
  },
}
SCSS
$custom: #d8d84f;
$custom-light: #e7e387;
$custom-dark: #000000;
JSON
{
  "hex": "#d8d84f",
  "rgb": {
    "r": 216,
    "g": 216,
    "b": 79
  },
  "hsl": {
    "h": 60,
    "s": 63.721,
    "l": 57.843
  },
  "oklch": {
    "l": 0.85727,
    "c": 0.15583,
    "h": 109.3
  },
  "luminance": 0.64275
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D8D84F

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

Preview Lab → · Contrast checker → · Palette generator →

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