#D8D94D#D8D94D

#D8D94D 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.95:1 contrast (WCAG AA passes).

Color values

HEX#D8D94D
RGBrgb(216, 217, 77)
HSLhsl(60, 65%, 58%)
HSVhsv(60, 65%, 85%)
CMYKcmyk(0.5%, 0%, 64.5%, 14.9%)
CIE-LABlab(84.36, -17.27, 66.08)
CIE-LCHlch(84.36, 68.30, 104.64°)
OKLaboklab(85.92% -0.0534 0.149)
OKLCHoklch(85.92% 0.158 109.7)
XYZxyz(54.4731, 64.7620, 16.6506)
Luminance0.6476 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8D94D #4E4DD9
analogous
#D9944D #D8D94D #92D94D
triadic
#D8D94D #4DD8D9 #D94DD8
tetradic
#D8D94D #4DD994 #4E4DD9 #D94D92
square
#D8D94D #4DD994 #4E4DD9 #D94D92
split-complementary
#D8D94D #4D92D9 #944DD9
monochromatic
#8D8D1E #BFC029 #D8D94D #E3E47F #EEEFB2

Accessibility & contrast

On white

1.51
#D8D94D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.95
#D8D94D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D8D94D
13.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8D94D#FFFFFF#000000##000000
##D8D94D1.001.5113.9513.95
#FFFFFF1.511.0021.0021.00
#00000013.9521.001.001.00
##00000013.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#EAD03A
Deuteranopia (green-blind)
#EBD556
Tritanopia (blue-blind)
#E7CCBC
Achromatopsia (no color)
#D2D2D2

Design tokens & code

CSS
--color: #d8d94d;
/* rgb */ color: rgb(216, 217, 77);
/* oklch */ color: oklch(85.9% 0.158 109.7);
Tailwind
colors: {
  custom: {
    50: '#e7e486',
    500: '#d8d94d',
    950: '#000000',
  },
}
SCSS
$custom: #d8d94d;
$custom-light: #e7e486;
$custom-dark: #000000;
JSON
{
  "hex": "#d8d94d",
  "rgb": {
    "r": 216,
    "g": 217,
    "b": 77
  },
  "hsl": {
    "h": 60.429,
    "s": 64.815,
    "l": 57.647
  },
  "oklch": {
    "l": 0.85923,
    "c": 0.15829,
    "h": 109.7
  },
  "luminance": 0.6476
}

Semantic roles & 50–950 ramp

primary
#D8D94D
secondary
#383793
accent
#40E841
background
#FFFEFC
surface
#FEFCF3
border
#D6D5CD
text
#16150C
muted
#85847F

Preview Lab

Preview with #D8D94D

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

Preview Lab → · Contrast checker → · Palette generator →

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