#D9D577#D9D577

#D9D577 is a very light, moderate yellow. Relative luminance 0.637; OKLCH L 85.6% C 0.117 H 106.5°. Best body text is #000000 at 13.73:1 contrast (WCAG AA passes).

Color values

HEX#D9D577
RGBrgb(217, 213, 119)
HSLhsl(58, 56%, 66%)
HSVhsv(58, 45%, 85%)
CMYKcmyk(0%, 1.8%, 45.2%, 14.9%)
CIE-LABlab(83.80, -11.63, 46.72)
CIE-LCHlch(83.80, 48.14, 103.99°)
OKLaboklab(85.63% -0.0331 0.112)
OKLCHoklch(85.63% 0.117 106.5)
XYZxyz(55.7405, 63.6735, 26.8031)
Luminance0.6367 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D9D577 #777BD9
analogous
#D9A477 #D9D577 #ACD977
triadic
#D9D577 #77D9D5 #D577D9
tetradic
#D9D577 #77D9A4 #777BD9 #D977AC
square
#D9D577 #77D9A4 #777BD9 #D977AC
split-complementary
#D9D577 #77ACD9 #A477D9
monochromatic
#A7A22F #CCC647 #D9D577 #E6E4A7 #F4F3D7

Accessibility & contrast

On white

1.53
#D9D577 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.73
#D9D577 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D9D577
13.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D9D577#FFFFFF#000000##000000
##D9D5771.001.5313.7313.73
#FFFFFF1.531.0021.0021.00
#00000013.7321.001.001.00
##00000013.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#E3CF6F
Deuteranopia (green-blind)
#E5D37B
Tritanopia (blue-blind)
#E5CABF
Achromatopsia (no color)
#D1D1D1

Design tokens & code

CSS
--color: #d9d577;
/* rgb */ color: rgb(217, 213, 119);
/* oklch */ color: oklch(85.6% 0.117 106.5);
Tailwind
colors: {
  custom: {
    50: '#e6e1a0',
    500: '#d9d577',
    950: '#000000',
  },
}
SCSS
$custom: #d9d577;
$custom-light: #e6e1a0;
$custom-dark: #000000;
JSON
{
  "hex": "#d9d577",
  "rgb": {
    "r": 217,
    "g": 213,
    "b": 119
  },
  "hsl": {
    "h": 57.551,
    "s": 56.322,
    "l": 65.882
  },
  "oklch": {
    "l": 0.85625,
    "c": 0.11675,
    "h": 106.5
  },
  "luminance": 0.63672
}

Semantic roles & 50–950 ramp

primary
#D9D577
secondary
#4A4EAA
accent
#28C422
background
#FEFEFC
surface
#FDFCF5
border
#D5D5CF
text
#16150F
muted
#848480

Preview Lab

Preview with #D9D577

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

Preview Lab → · Contrast checker → · Palette generator →

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