#D8D754#D8D754

#D8D754 is a very light, vivid yellow. Relative luminance 0.638; OKLCH L 85.6% C 0.151 H 108.8°. Best body text is #000000 at 13.77:1 contrast (WCAG AA passes).

Color values

HEX#D8D754
RGBrgb(216, 215, 84)
HSLhsl(60, 63%, 59%)
HSVhsv(60, 61%, 85%)
CMYKcmyk(0%, 0.5%, 61.1%, 15.3%)
CIE-LABlab(83.88, -15.85, 62.75)
CIE-LCHlch(83.88, 64.72, 104.18°)
OKLaboklab(85.56% -0.0487 0.143)
OKLCHoklch(85.56% 0.151 108.8)
XYZxyz(54.2213, 63.8414, 17.8522)
Luminance0.6384 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8D754 #5455D8
analogous
#D89554 #D8D754 #97D854
triadic
#D8D754 #54D8D7 #D754D8
tetradic
#D8D754 #54D895 #5455D8 #D85497
square
#D8D754 #54D895 #5455D8 #D85497
split-complementary
#D8D754 #5497D8 #9554D8
monochromatic
#919021 #C2C12C #D8D754 #E3E386 #EFEEB8

Accessibility & contrast

On white

1.53
#D8D754 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.77
#D8D754 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D8D754
13.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8D754#FFFFFF#000000##000000
##D8D7541.001.5313.7713.77
#FFFFFF1.531.0021.0021.00
#00000013.7721.001.001.00
##00000013.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#E7CF44
Deuteranopia (green-blind)
#E9D35C
Tritanopia (blue-blind)
#E6CABC
Achromatopsia (no color)
#D1D1D1

Design tokens & code

CSS
--color: #d8d754;
/* rgb */ color: rgb(216, 215, 84);
/* oklch */ color: oklch(85.6% 0.151 108.8);
Tailwind
colors: {
  custom: {
    50: '#e7e38a',
    500: '#d8d754',
    950: '#000000',
  },
}
SCSS
$custom: #d8d754;
$custom-light: #e7e38a;
$custom-dark: #000000;
JSON
{
  "hex": "#d8d754",
  "rgb": {
    "r": 216,
    "g": 215,
    "b": 84
  },
  "hsl": {
    "h": 59.545,
    "s": 62.857,
    "l": 58.824
  },
  "oklch": {
    "l": 0.85559,
    "c": 0.15104,
    "h": 108.8
  },
  "luminance": 0.6384
}

Semantic roles & 50–950 ramp

primary
#D8D754
secondary
#3A3B96
accent
#43E642
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#16150C
muted
#85847F

Preview Lab

Preview with #D8D754

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

Preview Lab → · Contrast checker → · Palette generator →

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