#D7D977#D7D977

#D7D977 is a very light, vivid yellow. Relative luminance 0.654; OKLCH L 86.3% C 0.121 H 109.7°. Best body text is #000000 at 14.08:1 contrast (WCAG AA passes).

Color values

HEX#D7D977
RGBrgb(215, 217, 119)
HSLhsl(61, 56%, 66%)
HSVhsv(61, 45%, 85%)
CMYKcmyk(0.9%, 0%, 45.2%, 14.9%)
CIE-LABlab(84.69, -14.43, 47.78)
CIE-LCHlch(84.69, 49.91, 106.81°)
OKLaboklab(86.3% -0.041 0.1143)
OKLCHoklch(86.3% 0.121 109.7)
XYZxyz(56.1680, 65.4059, 27.1150)
Luminance0.6541 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7D977 #7977D9
analogous
#D9AA77 #D7D977 #A6D977
triadic
#D7D977 #77D7D9 #D977D7
tetradic
#D7D977 #77D9AA #7977D9 #D977A6
square
#D7D977 #77D9AA #7977D9 #D977A6
split-complementary
#D7D977 #77A6D9 #AA77D9
monochromatic
#A4A72F #C9CC47 #D7D977 #E5E6A7 #F3F4D7

Accessibility & contrast

On white

1.49
#D7D977 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.08
#D7D977 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7D977
14.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7D977#FFFFFF#000000##000000
##D7D9771.001.4914.0814.08
#FFFFFF1.491.0021.0021.00
#00000014.0821.001.001.00
##00000014.0821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d7d977;
/* rgb */ color: rgb(215, 217, 119);
/* oklch */ color: oklch(86.3% 0.121 109.7);
Tailwind
colors: {
  custom: {
    50: '#e5e4a0',
    500: '#d7d977',
    950: '#000000',
  },
}
SCSS
$custom: #d7d977;
$custom-light: #e5e4a0;
$custom-dark: #000000;
JSON
{
  "hex": "#d7d977",
  "rgb": {
    "r": 215,
    "g": 217,
    "b": 119
  },
  "hsl": {
    "h": 61.224,
    "s": 56.322,
    "l": 65.882
  },
  "oklch": {
    "l": 0.86301,
    "c": 0.12147,
    "h": 109.7
  },
  "luminance": 0.65405
}

Semantic roles & 50–950 ramp

primary
#D7D977
secondary
#4C4AAA
accent
#22C425
background
#FEFEFC
surface
#FCFCF5
border
#D5D5CF
text
#16150F
muted
#848480

Preview Lab

Preview with #D7D977

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

Preview Lab → · Contrast checker → · Palette generator →

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