#D7D684#D7D684

#D7D684 is a very light, moderate yellow. Relative luminance 0.642; OKLCH L 85.9% C 0.104 H 107.8°. Best body text is #000000 at 13.84:1 contrast (WCAG AA passes).

Color values

HEX#D7D684
RGBrgb(215, 214, 132)
HSLhsl(59, 51%, 68%)
HSVhsv(59, 39%, 84%)
CMYKcmyk(0%, 0.5%, 38.6%, 15.7%)
CIE-LABlab(84.07, -11.60, 40.61)
CIE-LCHlch(84.07, 42.23, 105.94°)
OKLaboklab(85.86% -0.0318 0.099)
OKLCHoklch(85.86% 0.104 107.8)
XYZxyz(56.2365, 64.2073, 31.2561)
Luminance0.6421 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7D684 #8485D7
analogous
#D7AC84 #D7D684 #AED784
triadic
#D7D684 #84D7D6 #D684D7
tetradic
#D7D684 #84D7AC #8485D7 #D784AE
square
#D7D684 #84D7AC #8485D7 #D784AE
split-complementary
#D7D684 #84AED7 #AC84D7
monochromatic
#A9A837 #C8C756 #D7D684 #E6E5B2 #F5F5E0

Accessibility & contrast

On white

1.52
#D7D684 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.84
#D7D684 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7D684
13.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7D684#FFFFFF#000000##000000
##D7D6841.001.5213.8413.84
#FFFFFF1.521.0021.0021.00
#00000013.8421.001.001.00
##00000013.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#E2D07E
Deuteranopia (green-blind)
#E4D388
Tritanopia (blue-blind)
#E2CCC2
Achromatopsia (no color)
#D2D2D2

Design tokens & code

CSS
--color: #d7d684;
/* rgb */ color: rgb(215, 214, 132);
/* oklch */ color: oklch(85.9% 0.104 107.8);
Tailwind
colors: {
  custom: {
    50: '#e4e2a9',
    500: '#d7d684',
    950: '#000000',
  },
}
SCSS
$custom: #d7d684;
$custom-light: #e4e2a9;
$custom-dark: #000000;
JSON
{
  "hex": "#d7d684",
  "rgb": {
    "r": 215,
    "g": 214,
    "b": 132
  },
  "hsl": {
    "h": 59.277,
    "s": 50.92,
    "l": 68.039
  },
  "oklch": {
    "l": 0.85864,
    "c": 0.104,
    "h": 107.8
  },
  "luminance": 0.64206
}

Semantic roles & 50–950 ramp

primary
#D7D684
secondary
#5253AD
accent
#29BE27
background
#FEFEFC
surface
#FCFCF6
border
#D5D5D0
text
#161510
muted
#848480

Preview Lab

Preview with #D7D684

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

Preview Lab → · Contrast checker → · Palette generator →

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