#D8D759#D8D759

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

Color values

HEX#D8D759
RGBrgb(216, 215, 89)
HSLhsl(60, 62%, 60%)
HSVhsv(60, 59%, 85%)
CMYKcmyk(0%, 0.5%, 58.8%, 15.3%)
CIE-LABlab(83.93, -15.52, 60.68)
CIE-LCHlch(83.93, 62.63, 104.34°)
OKLaboklab(85.61% -0.0472 0.1393)
OKLCHoklch(85.61% 0.147 108.7)
XYZxyz(54.4241, 63.9226, 18.9207)
Luminance0.6392 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8D759 #595AD8
analogous
#D89859 #D8D759 #99D859
triadic
#D8D759 #59D8D7 #D759D8
tetradic
#D8D759 #59D898 #595AD8 #D85999
square
#D8D759 #59D898 #595AD8 #D85999
split-complementary
#D8D759 #5999D8 #9859D8
monochromatic
#949323 #C5C42E #D8D759 #E4E38B #EFEFBC

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D8D759#FFFFFF#000000##000000
##D8D7591.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)
#E7CF4B
Deuteranopia (green-blind)
#E9D360
Tritanopia (blue-blind)
#E6CABC
Achromatopsia (no color)
#D1D1D1

Design tokens & code

CSS
--color: #d8d759;
/* rgb */ color: rgb(216, 215, 89);
/* oklch */ color: oklch(85.6% 0.147 108.7);
Tailwind
colors: {
  custom: {
    50: '#e7e38d',
    500: '#d8d759',
    950: '#000000',
  },
}
SCSS
$custom: #d8d759;
$custom-light: #e7e38d;
$custom-dark: #000000;
JSON
{
  "hex": "#d8d759",
  "rgb": {
    "r": 216,
    "g": 215,
    "b": 89
  },
  "hsl": {
    "h": 59.528,
    "s": 61.951,
    "l": 59.804
  },
  "oklch": {
    "l": 0.85607,
    "c": 0.14705,
    "h": 108.7
  },
  "luminance": 0.63921
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D8D759

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

Preview Lab → · Contrast checker → · Palette generator →

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