#D9D855#D9D855

#D9D855 is a very light, vivid yellow. Relative luminance 0.645; OKLCH L 85.9% C 0.151 H 108.8°. Best body text is #000000 at 13.90:1 contrast (WCAG AA passes).

Color values

HEX#D9D855
RGBrgb(217, 216, 85)
HSLhsl(60, 63%, 59%)
HSVhsv(60, 61%, 85%)
CMYKcmyk(0%, 0.5%, 60.8%, 14.9%)
CIE-LABlab(84.24, -15.87, 62.73)
CIE-LCHlch(84.24, 64.71, 104.20°)
OKLaboklab(85.86% -0.0487 0.1431)
OKLCHoklch(85.86% 0.151 108.8)
XYZxyz(54.8125, 64.5209, 18.1590)
Luminance0.6452 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D9D855 #5556D9
analogous
#D99655 #D9D855 #98D955
triadic
#D9D855 #55D9D8 #D855D9
tetradic
#D9D855 #55D996 #5556D9 #D95598
square
#D9D855 #55D996 #5556D9 #D95598
split-complementary
#D9D855 #5598D9 #9655D9
monochromatic
#939221 #C5C42C #D9D855 #E4E387 #EFEFB9

Accessibility & contrast

On white

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

On black

13.90
#D9D855 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D9D855
13.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D9D855#FFFFFF#000000##000000
##D9D8551.001.5113.9013.90
#FFFFFF1.511.0021.0021.00
#00000013.9021.001.001.00
##00000013.9021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d9d855;
/* rgb */ color: rgb(217, 216, 85);
/* oklch */ color: oklch(85.9% 0.151 108.8);
Tailwind
colors: {
  custom: {
    50: '#e8e38a',
    500: '#d9d855',
    950: '#000000',
  },
}
SCSS
$custom: #d9d855;
$custom-light: #e8e38a;
$custom-dark: #000000;
JSON
{
  "hex": "#d9d855",
  "rgb": {
    "r": 217,
    "g": 216,
    "b": 85
  },
  "hsl": {
    "h": 59.545,
    "s": 63.462,
    "l": 59.216
  },
  "oklch": {
    "l": 0.85863,
    "c": 0.15112,
    "h": 108.8
  },
  "luminance": 0.64519
}

Semantic roles & 50–950 ramp

primary
#D9D855
secondary
#3A3B98
accent
#43E641
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#16150C
muted
#85847F

Preview Lab

Preview with #D9D855

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

Preview Lab → · Contrast checker → · Palette generator →

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