#D8D755#D8D755

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

Color values

HEX#D8D755
RGBrgb(216, 215, 85)
HSLhsl(60, 63%, 59%)
HSVhsv(60, 61%, 85%)
CMYKcmyk(0%, 0.5%, 60.6%, 15.3%)
CIE-LABlab(83.89, -15.79, 62.34)
CIE-LCHlch(83.89, 64.31, 104.21°)
OKLaboklab(85.57% -0.0484 0.1423)
OKLCHoklch(85.57% 0.15 108.8)
XYZxyz(54.2607, 63.8572, 18.0600)
Luminance0.6386 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8D755 #5556D8
analogous
#D89655 #D8D755 #98D855
triadic
#D8D755 #55D8D7 #D755D8
tetradic
#D8D755 #55D896 #5556D8 #D85598
square
#D8D755 #55D896 #5556D8 #D85598
split-complementary
#D8D755 #5598D8 #9655D8
monochromatic
#919021 #C3C22D #D8D755 #E3E387 #EFEEB9

Accessibility & contrast

On white

1.52
#D8D755 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##D8D755#FFFFFF#000000##000000
##D8D7551.001.5213.7713.77
#FFFFFF1.521.0021.0021.00
#00000013.7721.001.001.00
##00000013.7721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d8d755;
/* rgb */ color: rgb(216, 215, 85);
/* oklch */ color: oklch(85.6% 0.150 108.8);
Tailwind
colors: {
  custom: {
    50: '#e7e38a',
    500: '#d8d755',
    950: '#000000',
  },
}
SCSS
$custom: #d8d755;
$custom-light: #e7e38a;
$custom-dark: #000000;
JSON
{
  "hex": "#d8d755",
  "rgb": {
    "r": 216,
    "g": 215,
    "b": 85
  },
  "hsl": {
    "h": 59.542,
    "s": 62.679,
    "l": 59.02
  },
  "oklch": {
    "l": 0.85568,
    "c": 0.15026,
    "h": 108.8
  },
  "luminance": 0.63856
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D8D755

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

Preview Lab → · Contrast checker → · Palette generator →

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