#D9D477#D9D477

#D9D477 is a very light, moderate yellow. Relative luminance 0.632; OKLCH L 85.4% C 0.116 H 105.9°. Best body text is #000000 at 13.63:1 contrast (WCAG AA passes).

Color values

HEX#D9D477
RGBrgb(217, 212, 119)
HSLhsl(57, 56%, 66%)
HSVhsv(57, 45%, 85%)
CMYKcmyk(0%, 2.3%, 45.2%, 14.9%)
CIE-LABlab(83.53, -11.13, 46.39)
CIE-LCHlch(83.53, 47.71, 103.49°)
OKLaboklab(85.42% -0.0316 0.1113)
OKLCHoklch(85.42% 0.116 105.9)
XYZxyz(55.4897, 63.1720, 26.7196)
Luminance0.6317 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D9D477 #777CD9
analogous
#D9A377 #D9D477 #ADD977
triadic
#D9D477 #77D9D4 #D477D9
tetradic
#D9D477 #77D9A3 #777CD9 #D977AD
square
#D9D477 #77D9A3 #777CD9 #D977AD
split-complementary
#D9D477 #77ADD9 #A377D9
monochromatic
#A7A12F #CCC547 #D9D477 #E6E3A7 #F4F2D7

Accessibility & contrast

On white

1.54
#D9D477 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.63
#D9D477 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D9D477
13.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D9D477#FFFFFF#000000##000000
##D9D4771.001.5413.6313.63
#FFFFFF1.541.0021.0021.00
#00000013.6321.001.001.00
##00000013.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#E2CE6F
Deuteranopia (green-blind)
#E4D27B
Tritanopia (blue-blind)
#E6C9BE
Achromatopsia (no color)
#D0D0D0

Design tokens & code

CSS
--color: #d9d477;
/* rgb */ color: rgb(217, 212, 119);
/* oklch */ color: oklch(85.4% 0.116 105.9);
Tailwind
colors: {
  custom: {
    50: '#e6e1a0',
    500: '#d9d477',
    950: '#000000',
  },
}
SCSS
$custom: #d9d477;
$custom-light: #e6e1a0;
$custom-dark: #000000;
JSON
{
  "hex": "#d9d477",
  "rgb": {
    "r": 217,
    "g": 212,
    "b": 119
  },
  "hsl": {
    "h": 56.939,
    "s": 56.322,
    "l": 65.882
  },
  "oklch": {
    "l": 0.85417,
    "c": 0.11566,
    "h": 105.9
  },
  "luminance": 0.63171
}

Semantic roles & 50–950 ramp

primary
#D9D477
secondary
#4A4FAA
accent
#2AC422
background
#FEFEFC
surface
#FDFCF5
border
#D5D5CF
text
#16150F
muted
#848480

Preview Lab

Preview with #D9D477

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

Preview Lab → · Contrast checker → · Palette generator →

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