#D8D955#D8D955

#D8D955 is a very light, vivid yellow. Relative luminance 0.649; OKLCH L 86.0% C 0.152 H 109.6°. Best body text is #000000 at 13.98:1 contrast (WCAG AA passes).

Color values

HEX#D8D955
RGBrgb(216, 217, 85)
HSLhsl(60, 63%, 59%)
HSVhsv(60, 61%, 85%)
CMYKcmyk(0.5%, 0%, 60.8%, 14.9%)
CIE-LABlab(84.42, -16.77, 62.91)
CIE-LCHlch(84.42, 65.11, 104.93°)
OKLaboklab(85.99% -0.0512 0.1435)
OKLCHoklch(85.99% 0.152 109.6)
XYZxyz(54.7731, 64.8820, 18.2308)
Luminance0.6488 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8D955 #5655D9
analogous
#D99855 #D8D955 #96D955
triadic
#D8D955 #55D8D9 #D955D8
tetradic
#D8D955 #55D998 #5655D9 #D95596
square
#D8D955 #55D998 #5655D9 #D95596
split-complementary
#D8D955 #5596D9 #9855D9
monochromatic
#929321 #C4C52C #D8D955 #E3E487 #EFEFB9

Accessibility & contrast

On white

1.50
#D8D955 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.98
#D8D955 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D8D955
13.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8D955#FFFFFF#000000##000000
##D8D9551.001.5013.9813.98
#FFFFFF1.501.0021.0021.00
#00000013.9821.001.001.00
##00000013.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#E9D045
Deuteranopia (green-blind)
#EBD55D
Tritanopia (blue-blind)
#E6CCBD
Achromatopsia (no color)
#D3D3D3

Design tokens & code

CSS
--color: #d8d955;
/* rgb */ color: rgb(216, 217, 85);
/* oklch */ color: oklch(86.0% 0.152 109.6);
Tailwind
colors: {
  custom: {
    50: '#e7e48a',
    500: '#d8d955',
    950: '#000000',
  },
}
SCSS
$custom: #d8d955;
$custom-light: #e7e48a;
$custom-dark: #000000;
JSON
{
  "hex": "#d8d955",
  "rgb": {
    "r": 216,
    "g": 217,
    "b": 85
  },
  "hsl": {
    "h": 60.455,
    "s": 63.462,
    "l": 59.216
  },
  "oklch": {
    "l": 0.85993,
    "c": 0.15232,
    "h": 109.6
  },
  "luminance": 0.64881
}

Semantic roles & 50–950 ramp

primary
#D8D955
secondary
#3B3A98
accent
#41E643
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#16150C
muted
#85847F

Preview Lab

Preview with #D8D955

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

Preview Lab → · Contrast checker → · Palette generator →

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