#D7D671#D7D671

#D7D671 is a very light, vivid yellow. Relative luminance 0.637; OKLCH L 85.6% C 0.124 H 108.3°. Best body text is #000000 at 13.75:1 contrast (WCAG AA passes).

Color values

HEX#D7D671
RGBrgb(215, 214, 113)
HSLhsl(59, 56%, 64%)
HSVhsv(59, 47%, 84%)
CMYKcmyk(0%, 0.5%, 47.4%, 15.7%)
CIE-LABlab(83.83, -13.50, 49.61)
CIE-LCHlch(83.83, 51.42, 105.22°)
OKLaboklab(85.59% -0.0389 0.1179)
OKLCHoklch(85.59% 0.124 108.3)
XYZxyz(55.0527, 63.7338, 25.0214)
Luminance0.6373 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7D671 #7172D7
analogous
#D7A371 #D7D671 #A5D771
triadic
#D7D671 #71D7D6 #D671D7
tetradic
#D7D671 #71D7A3 #7172D7 #D771A5
square
#D7D671 #71D7A3 #7172D7 #D771A5
split-complementary
#D7D671 #71A5D7 #A371D7
monochromatic
#A09F2D #CAC841 #D7D671 #E4E4A1 #F2F2D0

Accessibility & contrast

On white

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

On black

13.75
#D7D671 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7D671
13.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7D671#FFFFFF#000000##000000
##D7D6711.001.5313.7513.75
#FFFFFF1.531.0021.0021.00
#00000013.7521.001.001.00
##00000013.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#E4CF68
Deuteranopia (green-blind)
#E6D376
Tritanopia (blue-blind)
#E4CBBF
Achromatopsia (no color)
#D1D1D1

Design tokens & code

CSS
--color: #d7d671;
/* rgb */ color: rgb(215, 214, 113);
/* oklch */ color: oklch(85.6% 0.124 108.3);
Tailwind
colors: {
  custom: {
    50: '#e5e29c',
    500: '#d7d671',
    950: '#000000',
  },
}
SCSS
$custom: #d7d671;
$custom-light: #e5e29c;
$custom-dark: #000000;
JSON
{
  "hex": "#d7d671",
  "rgb": {
    "r": 215,
    "g": 214,
    "b": 113
  },
  "hsl": {
    "h": 59.412,
    "s": 56.044,
    "l": 64.314
  },
  "oklch": {
    "l": 0.85588,
    "c": 0.12418,
    "h": 108.3
  },
  "luminance": 0.63732
}

Semantic roles & 50–950 ramp

primary
#D7D671
secondary
#4849A4
accent
#24C422
background
#FEFEFC
surface
#FDFCF5
border
#D5D5CF
text
#16150E
muted
#84847F

Preview Lab

Preview with #D7D671

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

Preview Lab → · Contrast checker → · Palette generator →

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