#D7D877#D7D877

#D7D877 is a very light, vivid yellow. Relative luminance 0.649; OKLCH L 86.1% C 0.120 H 109.2°. Best body text is #000000 at 13.98:1 contrast (WCAG AA passes).

Color values

HEX#D7D877
RGBrgb(215, 216, 119)
HSLhsl(61, 55%, 66%)
HSVhsv(61, 45%, 85%)
CMYKcmyk(0.5%, 0%, 44.9%, 15.3%)
CIE-LABlab(84.43, -13.94, 47.46)
CIE-LCHlch(84.43, 49.46, 106.36°)
OKLaboklab(86.09% -0.0396 0.1136)
OKLCHoklch(86.09% 0.12 109.2)
XYZxyz(55.9110, 64.8919, 27.0293)
Luminance0.6489 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7D877 #7877D8
analogous
#D8A977 #D7D877 #A6D877
triadic
#D7D877 #77D7D8 #D877D7
tetradic
#D7D877 #77D8A9 #7877D8 #D877A6
square
#D7D877 #77D8A9 #7877D8 #D877A6
split-complementary
#D7D877 #77A6D8 #A977D8
monochromatic
#A4A52F #C9CA47 #D7D877 #E5E6A7 #F3F3D6

Accessibility & contrast

On white

1.50
#D7D877 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.98
#D7D877 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7D877
13.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7D877#FFFFFF#000000##000000
##D7D8771.001.5013.9813.98
#FFFFFF1.501.0021.0021.00
#00000013.9821.001.001.00
##00000013.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#E6D16F
Deuteranopia (green-blind)
#E7D47C
Tritanopia (blue-blind)
#E3CDC1
Achromatopsia (no color)
#D3D3D3

Design tokens & code

CSS
--color: #d7d877;
/* rgb */ color: rgb(215, 216, 119);
/* oklch */ color: oklch(86.1% 0.120 109.2);
Tailwind
colors: {
  custom: {
    50: '#e5e3a0',
    500: '#d7d877',
    950: '#000000',
  },
}
SCSS
$custom: #d7d877;
$custom-light: #e5e3a0;
$custom-dark: #000000;
JSON
{
  "hex": "#d7d877",
  "rgb": {
    "r": 215,
    "g": 216,
    "b": 119
  },
  "hsl": {
    "h": 60.619,
    "s": 55.429,
    "l": 65.686
  },
  "oklch": {
    "l": 0.8609,
    "c": 0.12032,
    "h": 109.2
  },
  "luminance": 0.64891
}

Semantic roles & 50–950 ramp

primary
#D7D877
secondary
#4B4AA9
accent
#23C324
background
#FEFEFC
surface
#FCFCF5
border
#D5D5CF
text
#16150F
muted
#848480

Preview Lab

Preview with #D7D877

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

Preview Lab → · Contrast checker → · Palette generator →

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