#D8D758#D8D758

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

Color values

HEX#D8D758
RGBrgb(216, 215, 88)
HSLhsl(60, 62%, 60%)
HSVhsv(60, 59%, 85%)
CMYKcmyk(0%, 0.5%, 59.3%, 15.3%)
CIE-LABlab(83.92, -15.58, 61.10)
CIE-LCHlch(83.92, 63.05, 104.31°)
OKLaboklab(85.6% -0.0475 0.14)
OKLCHoklch(85.6% 0.148 108.7)
XYZxyz(54.3824, 63.9059, 18.7010)
Luminance0.6390 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8D758 #5859D8
analogous
#D89758 #D8D758 #99D858
triadic
#D8D758 #58D8D7 #D758D8
tetradic
#D8D758 #58D897 #5859D8 #D85899
square
#D8D758 #58D897 #5859D8 #D85899
split-complementary
#D8D758 #5899D8 #9758D8
monochromatic
#939222 #C5C42E #D8D758 #E4E38A #EFEFBB

Accessibility & contrast

On white

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

On black

13.78
#D8D758 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D8D758
13.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8D758#FFFFFF#000000##000000
##D8D7581.001.5213.7813.78
#FFFFFF1.521.0021.0021.00
#00000013.7821.001.001.00
##00000013.7821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d8d758;
/* rgb */ color: rgb(216, 215, 88);
/* oklch */ color: oklch(85.6% 0.148 108.7);
Tailwind
colors: {
  custom: {
    50: '#e7e38c',
    500: '#d8d758',
    950: '#000000',
  },
}
SCSS
$custom: #d8d758;
$custom-light: #e7e38c;
$custom-dark: #000000;
JSON
{
  "hex": "#d8d758",
  "rgb": {
    "r": 216,
    "g": 215,
    "b": 88
  },
  "hsl": {
    "h": 59.531,
    "s": 62.136,
    "l": 59.608
  },
  "oklch": {
    "l": 0.85597,
    "c": 0.14786,
    "h": 108.7
  },
  "luminance": 0.63904
}

Semantic roles & 50–950 ramp

primary
#D8D758
secondary
#3C3D98
accent
#44E543
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#16150C
muted
#85847F

Preview Lab

Preview with #D8D758

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

Preview Lab → · Contrast checker → · Palette generator →

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