#D8D757#D8D757

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

Color values

HEX#D8D757
RGBrgb(216, 215, 87)
HSLhsl(60, 62%, 59%)
HSVhsv(60, 60%, 85%)
CMYKcmyk(0%, 0.5%, 59.7%, 15.3%)
CIE-LABlab(83.91, -15.65, 61.51)
CIE-LCHlch(83.91, 63.47, 104.28°)
OKLaboklab(85.59% -0.0478 0.1408)
OKLCHoklch(85.59% 0.149 108.7)
XYZxyz(54.3413, 63.8894, 18.4843)
Luminance0.6389 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8D757 #5758D8
analogous
#D89757 #D8D757 #99D857
triadic
#D8D757 #57D8D7 #D757D8
tetradic
#D8D757 #57D897 #5758D8 #D85799
square
#D8D757 #57D897 #5758D8 #D85799
split-complementary
#D8D757 #5799D8 #9757D8
monochromatic
#939222 #C4C32E #D8D757 #E4E389 #EFEFBA

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D8D757#FFFFFF#000000##000000
##D8D7571.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)
#E7CF48
Deuteranopia (green-blind)
#E9D35F
Tritanopia (blue-blind)
#E6CABC
Achromatopsia (no color)
#D1D1D1

Design tokens & code

CSS
--color: #d8d757;
/* rgb */ color: rgb(216, 215, 87);
/* oklch */ color: oklch(85.6% 0.149 108.7);
Tailwind
colors: {
  custom: {
    50: '#e7e38b',
    500: '#d8d757',
    950: '#000000',
  },
}
SCSS
$custom: #d8d757;
$custom-light: #e7e38b;
$custom-dark: #000000;
JSON
{
  "hex": "#d8d757",
  "rgb": {
    "r": 216,
    "g": 215,
    "b": 87
  },
  "hsl": {
    "h": 59.535,
    "s": 62.319,
    "l": 59.412
  },
  "oklch": {
    "l": 0.85587,
    "c": 0.14867,
    "h": 108.7
  },
  "luminance": 0.63888
}

Semantic roles & 50–950 ramp

primary
#D8D757
secondary
#3C3C98
accent
#44E542
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#16150C
muted
#85847F

Preview Lab

Preview with #D8D757

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

Preview Lab → · Contrast checker → · Palette generator →

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