#D8D651#D8D651

#D8D651 is a very light, vivid yellow. Relative luminance 0.633; OKLCH L 85.3% C 0.152 H 108.4°. Best body text is #000000 at 13.66:1 contrast (WCAG AA passes).

Color values

HEX#D8D651
RGBrgb(216, 214, 81)
HSLhsl(59, 63%, 58%)
HSVhsv(59, 63%, 85%)
CMYKcmyk(0%, 0.9%, 62.5%, 15.3%)
CIE-LABlab(83.59, -15.54, 63.68)
CIE-LCHlch(83.59, 65.55, 103.72°)
OKLaboklab(85.32% -0.0481 0.1445)
OKLCHoklch(85.32% 0.152 108.4)
XYZxyz(53.8524, 63.2877, 17.1620)
Luminance0.6329 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8D651 #5153D8
analogous
#D89251 #D8D651 #96D851
triadic
#D8D651 #51D8D6 #D651D8
tetradic
#D8D651 #51D892 #5153D8 #D85196
square
#D8D651 #51D892 #5153D8 #D85196
split-complementary
#D8D651 #5196D8 #9251D8
monochromatic
#8F8D20 #C1BE2B #D8D651 #E3E283 #EEEEB5

Accessibility & contrast

On white

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

On black

13.66
#D8D651 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D8D651
13.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8D651#FFFFFF#000000##000000
##D8D6511.001.5413.6613.66
#FFFFFF1.541.0021.0021.00
#00000013.6621.001.001.00
##00000013.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#E7CE40
Deuteranopia (green-blind)
#E9D359
Tritanopia (blue-blind)
#E7C9BA
Achromatopsia (no color)
#D0D0D0

Design tokens & code

CSS
--color: #d8d651;
/* rgb */ color: rgb(216, 214, 81);
/* oklch */ color: oklch(85.3% 0.152 108.4);
Tailwind
colors: {
  custom: {
    50: '#e7e288',
    500: '#d8d651',
    950: '#000000',
  },
}
SCSS
$custom: #d8d651;
$custom-light: #e7e288;
$custom-dark: #000000;
JSON
{
  "hex": "#d8d651",
  "rgb": {
    "r": 216,
    "g": 214,
    "b": 81
  },
  "hsl": {
    "h": 59.111,
    "s": 63.38,
    "l": 58.235
  },
  "oklch": {
    "l": 0.85321,
    "c": 0.15233,
    "h": 108.4
  },
  "luminance": 0.63286
}

Semantic roles & 50–950 ramp

primary
#D8D651
secondary
#393A94
accent
#44E641
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#16150C
muted
#85847F

Preview Lab

Preview with #D8D651

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

Preview Lab → · Contrast checker → · Palette generator →

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