#D7D673#D7D673

#D7D673 is a very light, vivid yellow. Relative luminance 0.638; OKLCH L 85.6% C 0.122 H 108.2°. Best body text is #000000 at 13.76:1 contrast (WCAG AA passes).

Color values

HEX#D7D673
RGBrgb(215, 214, 115)
HSLhsl(59, 56%, 65%)
HSVhsv(59, 47%, 84%)
CMYKcmyk(0%, 0.5%, 46.5%, 15.7%)
CIE-LABlab(83.85, -13.31, 48.68)
CIE-LCHlch(83.85, 50.47, 105.30°)
OKLaboklab(85.62% -0.0382 0.116)
OKLCHoklch(85.62% 0.122 108.2)
XYZxyz(55.1666, 63.7793, 25.6209)
Luminance0.6378 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7D673 #7374D7
analogous
#D7A473 #D7D673 #A6D773
triadic
#D7D673 #73D7D6 #D673D7
tetradic
#D7D673 #73D7A4 #7374D7 #D773A6
square
#D7D673 #73D7A4 #7374D7 #D773A6
split-complementary
#D7D673 #73A6D7 #A473D7
monochromatic
#A1A02E #C9C843 #D7D673 #E5E4A3 #F2F2D2

Accessibility & contrast

On white

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

On black

13.76
#D7D673 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7D673
13.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7D673#FFFFFF#000000##000000
##D7D6731.001.5313.7613.76
#FFFFFF1.531.0021.0021.00
#00000013.7621.001.001.00
##00000013.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#E4CF6A
Deuteranopia (green-blind)
#E6D378
Tritanopia (blue-blind)
#E3CBBF
Achromatopsia (no color)
#D1D1D1

Design tokens & code

CSS
--color: #d7d673;
/* rgb */ color: rgb(215, 214, 115);
/* oklch */ color: oklch(85.6% 0.122 108.2);
Tailwind
colors: {
  custom: {
    50: '#e5e29d',
    500: '#d7d673',
    950: '#000000',
  },
}
SCSS
$custom: #d7d673;
$custom-light: #e5e29d;
$custom-dark: #000000;
JSON
{
  "hex": "#d7d673",
  "rgb": {
    "r": 215,
    "g": 214,
    "b": 115
  },
  "hsl": {
    "h": 59.4,
    "s": 55.556,
    "l": 64.706
  },
  "oklch": {
    "l": 0.85615,
    "c": 0.12216,
    "h": 108.2
  },
  "luminance": 0.63778
}

Semantic roles & 50–950 ramp

primary
#D7D673
secondary
#494AA5
accent
#24C322
background
#FEFEFC
surface
#FDFCF5
border
#D5D5CF
text
#16150E
muted
#84847F

Preview Lab

Preview with #D7D673

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

Preview Lab → · Contrast checker → · Palette generator →

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