#D8D94C#D8D94C

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

Color values

HEX#D8D94C
RGBrgb(216, 217, 76)
HSLhsl(60, 65%, 57%)
HSVhsv(60, 65%, 85%)
CMYKcmyk(0.5%, 0%, 65%, 14.9%)
CIE-LABlab(84.35, -17.33, 66.47)
CIE-LCHlch(84.35, 68.69, 104.61°)
OKLaboklab(85.92% -0.0536 0.1497)
OKLCHoklch(85.92% 0.159 109.7)
XYZxyz(54.4380, 64.7479, 16.4661)
Luminance0.6475 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8D94C #4D4CD9
analogous
#D9944C #D8D94C #91D94C
triadic
#D8D94C #4CD8D9 #D94CD8
tetradic
#D8D94C #4CD994 #4D4CD9 #D94C91
square
#D8D94C #4CD994 #4D4CD9 #D94C91
split-complementary
#D8D94C #4C91D9 #944CD9
monochromatic
#8C8D1E #BEBF29 #D8D94C #E3E47E #EEEEB1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D8D94C#FFFFFF#000000##000000
##D8D94C1.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)
#EAD038
Deuteranopia (green-blind)
#EBD555
Tritanopia (blue-blind)
#E7CCBC
Achromatopsia (no color)
#D2D2D2

Design tokens & code

CSS
--color: #d8d94c;
/* rgb */ color: rgb(216, 217, 76);
/* oklch */ color: oklch(85.9% 0.159 109.7);
Tailwind
colors: {
  custom: {
    50: '#e7e485',
    500: '#d8d94c',
    950: '#000000',
  },
}
SCSS
$custom: #d8d94c;
$custom-light: #e7e485;
$custom-dark: #000000;
JSON
{
  "hex": "#d8d94c",
  "rgb": {
    "r": 216,
    "g": 217,
    "b": 76
  },
  "hsl": {
    "h": 60.426,
    "s": 64.977,
    "l": 57.451
  },
  "oklch": {
    "l": 0.85915,
    "c": 0.159,
    "h": 109.7
  },
  "luminance": 0.64746
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D8D94C

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

Preview Lab → · Contrast checker → · Palette generator →

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