#D8D657#D8D657

#D8D657 is a very light, vivid yellow. Relative luminance 0.634; OKLCH L 85.4% C 0.148 H 108.3°. Best body text is #000000 at 13.68:1 contrast (WCAG AA passes).

Color values

HEX#D8D657
RGBrgb(216, 214, 87)
HSLhsl(59, 62%, 59%)
HSVhsv(59, 60%, 85%)
CMYKcmyk(0%, 0.9%, 59.7%, 15.3%)
CIE-LABlab(83.64, -15.16, 61.23)
CIE-LCHlch(83.64, 63.07, 103.90°)
OKLaboklab(85.38% -0.0464 0.1402)
OKLCHoklch(85.38% 0.148 108.3)
XYZxyz(54.0874, 63.3817, 18.3997)
Luminance0.6338 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8D657 #5759D8
analogous
#D89657 #D8D657 #9AD857
triadic
#D8D657 #57D8D6 #D657D8
tetradic
#D8D657 #57D896 #5759D8 #D8579A
square
#D8D657 #57D896 #5759D8 #D8579A
split-complementary
#D8D657 #579AD8 #9657D8
monochromatic
#939122 #C4C22E #D8D657 #E4E289 #EFEEBA

Accessibility & contrast

On white

1.54
#D8D657 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.68
#D8D657 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D8D657
13.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8D657#FFFFFF#000000##000000
##D8D6571.001.5413.6813.68
#FFFFFF1.541.0021.0021.00
#00000013.6821.001.001.00
##00000013.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#E6CE48
Deuteranopia (green-blind)
#E8D35E
Tritanopia (blue-blind)
#E6C9BB
Achromatopsia (no color)
#D0D0D0

Design tokens & code

CSS
--color: #d8d657;
/* rgb */ color: rgb(216, 214, 87);
/* oklch */ color: oklch(85.4% 0.148 108.3);
Tailwind
colors: {
  custom: {
    50: '#e7e28b',
    500: '#d8d657',
    950: '#000000',
  },
}
SCSS
$custom: #d8d657;
$custom-light: #e7e28b;
$custom-dark: #000000;
JSON
{
  "hex": "#d8d657",
  "rgb": {
    "r": 216,
    "g": 214,
    "b": 87
  },
  "hsl": {
    "h": 59.07,
    "s": 62.319,
    "l": 59.412
  },
  "oklch": {
    "l": 0.85376,
    "c": 0.14764,
    "h": 108.3
  },
  "luminance": 0.6338
}

Semantic roles & 50–950 ramp

primary
#D8D657
secondary
#3C3D98
accent
#45E542
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#16150C
muted
#85847F

Preview Lab

Preview with #D8D657

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

Preview Lab → · Contrast checker → · Palette generator →

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