#D8D94F#D8D94F

#D8D94F is a very light, vivid yellow. Relative luminance 0.648; OKLCH L 85.9% C 0.157 H 109.7°. Best body text is #000000 at 13.96:1 contrast (WCAG AA passes).

Color values

HEX#D8D94F
RGBrgb(216, 217, 79)
HSLhsl(60, 64%, 58%)
HSVhsv(60, 64%, 85%)
CMYKcmyk(0.5%, 0%, 63.6%, 14.9%)
CIE-LABlab(84.38, -17.15, 65.31)
CIE-LCHlch(84.38, 67.52, 104.71°)
OKLaboklab(85.94% -0.0528 0.1477)
OKLCHoklch(85.94% 0.157 109.7)
XYZxyz(54.5448, 64.7906, 17.0282)
Luminance0.6479 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8D94F #504FD9
analogous
#D9954F #D8D94F #93D94F
triadic
#D8D94F #4FD8D9 #D94FD8
tetradic
#D8D94F #4FD995 #504FD9 #D94F93
square
#D8D94F #4FD995 #504FD9 #D94F93
split-complementary
#D8D94F #4F93D9 #954FD9
monochromatic
#8E8F1F #C0C12A #D8D94F #E3E481 #EEEFB4

Accessibility & contrast

On white

1.50
#D8D94F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.96
#D8D94F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D8D94F
13.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8D94F#FFFFFF#000000##000000
##D8D94F1.001.5013.9613.96
#FFFFFF1.501.0021.0021.00
#00000013.9621.001.001.00
##00000013.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#EAD03D
Deuteranopia (green-blind)
#EBD558
Tritanopia (blue-blind)
#E6CCBD
Achromatopsia (no color)
#D2D2D2

Design tokens & code

CSS
--color: #d8d94f;
/* rgb */ color: rgb(216, 217, 79);
/* oklch */ color: oklch(85.9% 0.157 109.7);
Tailwind
colors: {
  custom: {
    50: '#e7e487',
    500: '#d8d94f',
    950: '#000000',
  },
}
SCSS
$custom: #d8d94f;
$custom-light: #e7e487;
$custom-dark: #000000;
JSON
{
  "hex": "#d8d94f",
  "rgb": {
    "r": 216,
    "g": 217,
    "b": 79
  },
  "hsl": {
    "h": 60.435,
    "s": 64.486,
    "l": 58.039
  },
  "oklch": {
    "l": 0.8594,
    "c": 0.15685,
    "h": 109.7
  },
  "luminance": 0.64789
}

Semantic roles & 50–950 ramp

primary
#D8D94F
secondary
#393894
accent
#40E742
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#16150C
muted
#85847F

Preview Lab

Preview with #D8D94F

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

Preview Lab → · Contrast checker → · Palette generator →

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