#D8D460#D8D460

#D8D460 is a very light, vivid yellow. Relative luminance 0.625; OKLCH L 85.0% C 0.138 H 107.2°. Best body text is #000000 at 13.51:1 contrast (WCAG AA passes).

Color values

HEX#D8D460
RGBrgb(216, 212, 96)
HSLhsl(58, 61%, 61%)
HSVhsv(58, 56%, 85%)
CMYKcmyk(0%, 1.9%, 55.6%, 15.3%)
CIE-LABlab(83.20, -13.51, 56.79)
CIE-LCHlch(83.20, 58.38, 103.39°)
OKLaboklab(85.05% -0.0407 0.1318)
OKLCHoklch(85.05% 0.138 107.2)
XYZxyz(53.9753, 62.5320, 20.2907)
Luminance0.6253 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8D460 #6064D8
analogous
#D89860 #D8D460 #A0D860
triadic
#D8D460 #60D8D4 #D460D8
tetradic
#D8D460 #60D898 #6064D8 #D860A0
square
#D8D460 #60D898 #6064D8 #D860A0
split-complementary
#D8D460 #60A0D8 #9860D8
monochromatic
#989425 #C9C431 #D8D460 #E4E191 #F0EFC2

Accessibility & contrast

On white

1.55
#D8D460 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.51
#D8D460 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D8D460
13.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8D460#FFFFFF#000000##000000
##D8D4601.001.5513.5113.51
#FFFFFF1.551.0021.0021.00
#00000013.5121.001.001.00
##00000013.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#E4CD54
Deuteranopia (green-blind)
#E6D166
Tritanopia (blue-blind)
#E6C8BB
Achromatopsia (no color)
#CFCFCF

Design tokens & code

CSS
--color: #d8d460;
/* rgb */ color: rgb(216, 212, 96);
/* oklch */ color: oklch(85.0% 0.138 107.2);
Tailwind
colors: {
  custom: {
    50: '#e6e191',
    500: '#d8d460',
    950: '#000000',
  },
}
SCSS
$custom: #d8d460;
$custom-light: #e6e191;
$custom-dark: #000000;
JSON
{
  "hex": "#d8d460",
  "rgb": {
    "r": 216,
    "g": 212,
    "b": 96
  },
  "hsl": {
    "h": 58,
    "s": 60.606,
    "l": 61.176
  },
  "oklch": {
    "l": 0.85046,
    "c": 0.13798,
    "h": 107.2
  },
  "luminance": 0.6253
}

Semantic roles & 50–950 ramp

primary
#D8D460
secondary
#3F439D
accent
#23C81D
background
#FEFEFC
surface
#FDFCF4
border
#D5D5CE
text
#16150D
muted
#84847F

Preview Lab

Preview with #D8D460

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

Preview Lab → · Contrast checker → · Palette generator →

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