#D8D94E#D8D94E

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

Color values

HEX#D8D94E
RGBrgb(216, 217, 78)
HSLhsl(60, 65%, 58%)
HSVhsv(60, 64%, 85%)
CMYKcmyk(0.5%, 0%, 64.1%, 14.9%)
CIE-LABlab(84.37, -17.21, 65.70)
CIE-LCHlch(84.37, 67.91, 104.68°)
OKLaboklab(85.93% -0.0531 0.1484)
OKLCHoklch(85.93% 0.158 109.7)
XYZxyz(54.5086, 64.7762, 16.8380)
Luminance0.6478 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8D94E #4F4ED9
analogous
#D9954E #D8D94E #92D94E
triadic
#D8D94E #4ED8D9 #D94ED8
tetradic
#D8D94E #4ED995 #4F4ED9 #D94E92
square
#D8D94E #4ED995 #4F4ED9 #D94E92
split-complementary
#D8D94E #4E92D9 #954ED9
monochromatic
#8D8E1F #BFC029 #D8D94E #E3E480 #EEEFB3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D8D94E#FFFFFF#000000##000000
##D8D94E1.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)
#EAD03B
Deuteranopia (green-blind)
#EBD557
Tritanopia (blue-blind)
#E7CCBD
Achromatopsia (no color)
#D2D2D2

Design tokens & code

CSS
--color: #d8d94e;
/* rgb */ color: rgb(216, 217, 78);
/* oklch */ color: oklch(85.9% 0.158 109.7);
Tailwind
colors: {
  custom: {
    50: '#e7e486',
    500: '#d8d94e',
    950: '#000000',
  },
}
SCSS
$custom: #d8d94e;
$custom-light: #e7e486;
$custom-dark: #000000;
JSON
{
  "hex": "#d8d94e",
  "rgb": {
    "r": 216,
    "g": 217,
    "b": 78
  },
  "hsl": {
    "h": 60.432,
    "s": 64.651,
    "l": 57.843
  },
  "oklch": {
    "l": 0.85931,
    "c": 0.15757,
    "h": 109.7
  },
  "luminance": 0.64775
}

Semantic roles & 50–950 ramp

primary
#D8D94E
secondary
#383894
accent
#40E841
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#16150C
muted
#85847F

Preview Lab

Preview with #D8D94E

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

Preview Lab → · Contrast checker → · Palette generator →

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