#D7D577#D7D577

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

Color values

HEX#D7D577
RGBrgb(215, 213, 119)
HSLhsl(59, 55%, 65%)
HSVhsv(59, 45%, 84%)
CMYKcmyk(0%, 0.9%, 44.7%, 15.7%)
CIE-LABlab(83.64, -12.43, 46.49)
CIE-LCHlch(83.64, 48.12, 104.97°)
OKLaboklab(85.46% -0.0353 0.1115)
OKLCHoklch(85.46% 0.117 107.6)
XYZxyz(55.1494, 63.3688, 26.7754)
Luminance0.6337 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7D577 #7779D7
analogous
#D7A577 #D7D577 #A9D777
triadic
#D7D577 #77D7D5 #D577D7
tetradic
#D7D577 #77D7A5 #7779D7 #D777A9
square
#D7D577 #77D7A5 #7779D7 #D777A9
split-complementary
#D7D577 #77A9D7 #A577D7
monochromatic
#A4A130 #C9C648 #D7D577 #E5E4A6 #F3F2D6

Accessibility & contrast

On white

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

On black

13.67
#D7D577 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7D577
13.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7D577#FFFFFF#000000##000000
##D7D5771.001.5413.6713.67
#FFFFFF1.541.0021.0021.00
#00000013.6721.001.001.00
##00000013.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#E3CE6F
Deuteranopia (green-blind)
#E5D27B
Tritanopia (blue-blind)
#E3CABF
Achromatopsia (no color)
#D0D0D0

Design tokens & code

CSS
--color: #d7d577;
/* rgb */ color: rgb(215, 213, 119);
/* oklch */ color: oklch(85.5% 0.117 107.6);
Tailwind
colors: {
  custom: {
    50: '#e5e1a0',
    500: '#d7d577',
    950: '#000000',
  },
}
SCSS
$custom: #d7d577;
$custom-light: #e5e1a0;
$custom-dark: #000000;
JSON
{
  "hex": "#d7d577",
  "rgb": {
    "r": 215,
    "g": 213,
    "b": 119
  },
  "hsl": {
    "h": 58.75,
    "s": 54.545,
    "l": 65.49
  },
  "oklch": {
    "l": 0.8546,
    "c": 0.11692,
    "h": 107.6
  },
  "luminance": 0.63367
}

Semantic roles & 50–950 ramp

primary
#D7D577
secondary
#4B4DA7
accent
#27C223
background
#FEFEFC
surface
#FCFCF5
border
#D5D5CF
text
#16150F
muted
#848480

Preview Lab

Preview with #D7D577

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

Preview Lab → · Contrast checker → · Palette generator →

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