#D8D855#D8D855

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

Color values

HEX#D8D855
RGBrgb(216, 216, 85)
HSLhsl(60, 63%, 59%)
HSVhsv(60, 61%, 85%)
CMYKcmyk(0%, 0%, 60.6%, 15.3%)
CIE-LABlab(84.16, -16.28, 62.62)
CIE-LCHlch(84.16, 64.71, 104.57°)
OKLaboklab(85.78% -0.0498 0.1429)
OKLCHoklch(85.78% 0.151 109.2)
XYZxyz(54.5161, 64.3680, 18.1451)
Luminance0.6437 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8D855 #5555D8
analogous
#D89755 #D8D855 #97D855
triadic
#D8D855 #55D8D8 #D855D8
tetradic
#D8D855 #55D897 #5555D8 #D85597
square
#D8D855 #55D897 #5555D8 #D85597
split-complementary
#D8D855 #5597D8 #9755D8
monochromatic
#919121 #C3C32D #D8D855 #E3E387 #EFEFB9

Accessibility & contrast

On white

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

On black

13.87
#D8D855 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D8D855
13.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8D855#FFFFFF#000000##000000
##D8D8551.001.5113.8713.87
#FFFFFF1.511.0021.0021.00
#00000013.8721.001.001.00
##00000013.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#E8D045
Deuteranopia (green-blind)
#EAD45D
Tritanopia (blue-blind)
#E6CBBC
Achromatopsia (no color)
#D2D2D2

Design tokens & code

CSS
--color: #d8d855;
/* rgb */ color: rgb(216, 216, 85);
/* oklch */ color: oklch(85.8% 0.151 109.2);
Tailwind
colors: {
  custom: {
    50: '#e7e38a',
    500: '#d8d855',
    950: '#000000',
  },
}
SCSS
$custom: #d8d855;
$custom-light: #e7e38a;
$custom-dark: #000000;
JSON
{
  "hex": "#d8d855",
  "rgb": {
    "r": 216,
    "g": 216,
    "b": 85
  },
  "hsl": {
    "h": 60,
    "s": 62.679,
    "l": 59.02
  },
  "oklch": {
    "l": 0.8578,
    "c": 0.15129,
    "h": 109.2
  },
  "luminance": 0.64367
}

Semantic roles & 50–950 ramp

primary
#D8D855
secondary
#3B3B96
accent
#42E642
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#16150C
muted
#85847F

Preview Lab

Preview with #D8D855

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

Preview Lab → · Contrast checker → · Palette generator →

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