#D8D577#D8D577

#D8D577 is a very light, moderate yellow. Relative luminance 0.635; OKLCH L 85.5% C 0.117 H 107.0°. Best body text is #000000 at 13.70:1 contrast (WCAG AA passes).

Color values

HEX#D8D577
RGBrgb(216, 213, 119)
HSLhsl(58, 55%, 66%)
HSVhsv(58, 45%, 85%)
CMYKcmyk(0%, 1.4%, 44.9%, 15.3%)
CIE-LABlab(83.72, -12.03, 46.60)
CIE-LCHlch(83.72, 48.13, 104.48°)
OKLaboklab(85.54% -0.0342 0.1117)
OKLCHoklch(85.54% 0.117 107)
XYZxyz(55.4441, 63.5207, 26.7892)
Luminance0.6352 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8D577 #777AD8
analogous
#D8A477 #D8D577 #AAD877
triadic
#D8D577 #77D8D5 #D577D8
tetradic
#D8D577 #77D8A4 #777AD8 #D877AA
square
#D8D577 #77D8A4 #777AD8 #D877AA
split-complementary
#D8D577 #77AAD8 #A477D8
monochromatic
#A5A22F #CAC647 #D8D577 #E6E4A7 #F3F2D6

Accessibility & contrast

On white

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

On black

13.70
#D8D577 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D8D577
13.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8D577#FFFFFF#000000##000000
##D8D5771.001.5313.7013.70
#FFFFFF1.531.0021.0021.00
#00000013.7021.001.001.00
##00000013.7021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d8d577;
/* rgb */ color: rgb(216, 213, 119);
/* oklch */ color: oklch(85.5% 0.117 107.0);
Tailwind
colors: {
  custom: {
    50: '#e6e1a0',
    500: '#d8d577',
    950: '#000000',
  },
}
SCSS
$custom: #d8d577;
$custom-light: #e6e1a0;
$custom-dark: #000000;
JSON
{
  "hex": "#d8d577",
  "rgb": {
    "r": 216,
    "g": 213,
    "b": 119
  },
  "hsl": {
    "h": 58.144,
    "s": 55.429,
    "l": 65.686
  },
  "oklch": {
    "l": 0.85542,
    "c": 0.11683,
    "h": 107
  },
  "luminance": 0.63519
}

Semantic roles & 50–950 ramp

primary
#D8D577
secondary
#4A4DA9
accent
#28C323
background
#FEFEFC
surface
#FDFCF5
border
#D5D5CF
text
#16150F
muted
#848480

Preview Lab

Preview with #D8D577

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

Preview Lab → · Contrast checker → · Palette generator →

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