#D9D877#D9D877

#D9D877 is a very light, vivid yellow. Relative luminance 0.652; OKLCH L 86.3% C 0.120 H 108.2°. Best body text is #000000 at 14.04:1 contrast (WCAG AA passes).

Color values

HEX#D9D877
RGBrgb(217, 216, 119)
HSLhsl(59, 56%, 66%)
HSVhsv(59, 45%, 85%)
CMYKcmyk(0%, 0.5%, 45.2%, 14.9%)
CIE-LABlab(84.58, -13.14, 47.68)
CIE-LCHlch(84.58, 49.46, 105.41°)
OKLaboklab(86.25% -0.0374 0.1141)
OKLCHoklch(86.25% 0.12 108.2)
XYZxyz(56.5020, 65.1967, 27.0570)
Luminance0.6520 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D9D877 #7778D9
analogous
#D9A777 #D9D877 #A9D977
triadic
#D9D877 #77D9D8 #D877D9
tetradic
#D9D877 #77D9A7 #7778D9 #D977A9
square
#D9D877 #77D9A7 #7778D9 #D977A9
split-complementary
#D9D877 #77A9D9 #A777D9
monochromatic
#A7A62F #CCCA47 #D9D877 #E6E6A7 #F4F3D7

Accessibility & contrast

On white

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

On black

14.04
#D9D877 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D9D877
14.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D9D877#FFFFFF#000000##000000
##D9D8771.001.5014.0414.04
#FFFFFF1.501.0021.0021.00
#00000014.0421.001.001.00
##00000014.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#E6D16F
Deuteranopia (green-blind)
#E8D57C
Tritanopia (blue-blind)
#E5CDC1
Achromatopsia (no color)
#D3D3D3

Design tokens & code

CSS
--color: #d9d877;
/* rgb */ color: rgb(217, 216, 119);
/* oklch */ color: oklch(86.3% 0.120 108.2);
Tailwind
colors: {
  custom: {
    50: '#e6e3a0',
    500: '#d9d877',
    950: '#000000',
  },
}
SCSS
$custom: #d9d877;
$custom-light: #e6e3a0;
$custom-dark: #000000;
JSON
{
  "hex": "#d9d877",
  "rgb": {
    "r": 217,
    "g": 216,
    "b": 119
  },
  "hsl": {
    "h": 59.388,
    "s": 56.322,
    "l": 65.882
  },
  "oklch": {
    "l": 0.86253,
    "c": 0.12009,
    "h": 108.2
  },
  "luminance": 0.65195
}

Semantic roles & 50–950 ramp

primary
#D9D877
secondary
#4A4BAA
accent
#23C422
background
#FEFEFC
surface
#FDFCF5
border
#D5D5CF
text
#16150F
muted
#848480

Preview Lab

Preview with #D9D877

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

Preview Lab → · Contrast checker → · Palette generator →

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