#D8D858#D8D858

#D8D858 is a very light, vivid yellow. Relative luminance 0.644; OKLCH L 85.8% C 0.149 H 109.2°. Best body text is #000000 at 13.88:1 contrast (WCAG AA passes).

Color values

HEX#D8D858
RGBrgb(216, 216, 88)
HSLhsl(60, 62%, 60%)
HSVhsv(60, 59%, 85%)
CMYKcmyk(0%, 0%, 59.3%, 15.3%)
CIE-LABlab(84.18, -16.08, 61.39)
CIE-LCHlch(84.18, 63.46, 104.68°)
OKLaboklab(85.81% -0.0489 0.1407)
OKLCHoklch(85.81% 0.149 109.2)
XYZxyz(54.6378, 64.4167, 18.7861)
Luminance0.6442 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8D858 #5858D8
analogous
#D89858 #D8D858 #98D858
triadic
#D8D858 #58D8D8 #D858D8
tetradic
#D8D858 #58D898 #5858D8 #D85898
square
#D8D858 #58D898 #5858D8 #D85898
split-complementary
#D8D858 #5898D8 #9858D8
monochromatic
#939322 #C5C52E #D8D858 #E4E48A #EFEFBB

Accessibility & contrast

On white

1.51
#D8D858 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.88
#D8D858 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D8D858
13.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8D858#FFFFFF#000000##000000
##D8D8581.001.5113.8813.88
#FFFFFF1.511.0021.0021.00
#00000013.8821.001.001.00
##00000013.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#E8D049
Deuteranopia (green-blind)
#EAD460
Tritanopia (blue-blind)
#E6CBBD
Achromatopsia (no color)
#D2D2D2

Design tokens & code

CSS
--color: #d8d858;
/* rgb */ color: rgb(216, 216, 88);
/* oklch */ color: oklch(85.8% 0.149 109.2);
Tailwind
colors: {
  custom: {
    50: '#e7e38c',
    500: '#d8d858',
    950: '#000000',
  },
}
SCSS
$custom: #d8d858;
$custom-light: #e7e38c;
$custom-dark: #000000;
JSON
{
  "hex": "#d8d858",
  "rgb": {
    "r": 216,
    "g": 216,
    "b": 88
  },
  "hsl": {
    "h": 60,
    "s": 62.136,
    "l": 59.608
  },
  "oklch": {
    "l": 0.85809,
    "c": 0.1489,
    "h": 109.2
  },
  "luminance": 0.64415
}

Semantic roles & 50–950 ramp

primary
#D8D858
secondary
#3C3C98
accent
#43E543
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#16150C
muted
#85847F

Preview Lab

Preview with #D8D858

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

Preview Lab → · Contrast checker → · Palette generator →

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