#D9D155#D9D155

#D9D155 is a very light, vivid yellow. Relative luminance 0.610; OKLCH L 84.4% C 0.144 H 105.6°. Best body text is #000000 at 13.20:1 contrast (WCAG AA passes).

Color values

HEX#D9D155
RGBrgb(217, 209, 85)
HSLhsl(56, 63%, 59%)
HSVhsv(56, 61%, 85%)
CMYKcmyk(0%, 3.7%, 60.8%, 14.9%)
CIE-LABlab(82.38, -12.38, 60.74)
CIE-LCHlch(82.38, 61.98, 101.52°)
OKLaboklab(84.39% -0.0388 0.1388)
OKLCHoklch(84.39% 0.144 105.6)
XYZxyz(53.0573, 61.0103, 17.5739)
Luminance0.6101 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D9D155 #555DD9
analogous
#D98F55 #D9D155 #9FD955
triadic
#D9D155 #55D9D1 #D155D9
tetradic
#D9D155 #55D98F #555DD9 #D9559F
square
#D9D155 #55D98F #555DD9 #D9559F
split-complementary
#D9D155 #559FD9 #8F55D9
monochromatic
#938C21 #C5BC2C #D9D155 #E4DF87 #EFECB9

Accessibility & contrast

On white

1.59
#D9D155 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.20
#D9D155 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D9D155
13.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D9D155#FFFFFF#000000##000000
##D9D1551.001.5913.2013.20
#FFFFFF1.591.0021.0021.00
#00000013.2021.001.001.00
##00000013.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#E2CA47
Deuteranopia (green-blind)
#E5D05C
Tritanopia (blue-blind)
#E8C4B7
Achromatopsia (no color)
#CDCDCD

Design tokens & code

CSS
--color: #d9d155;
/* rgb */ color: rgb(217, 209, 85);
/* oklch */ color: oklch(84.4% 0.144 105.6);
Tailwind
colors: {
  custom: {
    50: '#e8de8a',
    500: '#d9d155',
    950: '#000000',
  },
}
SCSS
$custom: #d9d155;
$custom-light: #e8de8a;
$custom-dark: #000000;
JSON
{
  "hex": "#d9d155",
  "rgb": {
    "r": 217,
    "g": 209,
    "b": 85
  },
  "hsl": {
    "h": 56.364,
    "s": 63.462,
    "l": 59.216
  },
  "oklch": {
    "l": 0.84387,
    "c": 0.14415,
    "h": 105.6
  },
  "luminance": 0.61009
}

Semantic roles & 50–950 ramp

primary
#D9D155
secondary
#3A4098
accent
#4BE641
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#16150C
muted
#85847F

Preview Lab

Preview with #D9D155

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

Preview Lab → · Contrast checker → · Palette generator →

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