#D7D672#D7D672

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

Color values

HEX#D7D672
RGBrgb(215, 214, 114)
HSLhsl(59, 56%, 65%)
HSVhsv(59, 47%, 84%)
CMYKcmyk(0%, 0.5%, 47%, 15.7%)
CIE-LABlab(83.84, -13.41, 49.15)
CIE-LCHlch(83.84, 50.94, 105.26°)
OKLaboklab(85.6% -0.0385 0.117)
OKLCHoklch(85.6% 0.123 108.2)
XYZxyz(55.1093, 63.7564, 25.3195)
Luminance0.6375 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7D672 #7273D7
analogous
#D7A472 #D7D672 #A6D772
triadic
#D7D672 #72D7D6 #D672D7
tetradic
#D7D672 #72D7A4 #7273D7 #D772A6
square
#D7D672 #72D7A4 #7273D7 #D772A6
split-complementary
#D7D672 #72A6D7 #A472D7
monochromatic
#A1A02E #C9C842 #D7D672 #E5E4A2 #F2F2D1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D7D672#FFFFFF#000000##000000
##D7D6721.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)
#E4CF69
Deuteranopia (green-blind)
#E6D377
Tritanopia (blue-blind)
#E3CBBF
Achromatopsia (no color)
#D1D1D1

Design tokens & code

CSS
--color: #d7d672;
/* rgb */ color: rgb(215, 214, 114);
/* oklch */ color: oklch(85.6% 0.123 108.2);
Tailwind
colors: {
  custom: {
    50: '#e5e29d',
    500: '#d7d672',
    950: '#000000',
  },
}
SCSS
$custom: #d7d672;
$custom-light: #e5e29d;
$custom-dark: #000000;
JSON
{
  "hex": "#d7d672",
  "rgb": {
    "r": 215,
    "g": 214,
    "b": 114
  },
  "hsl": {
    "h": 59.406,
    "s": 55.801,
    "l": 64.51
  },
  "oklch": {
    "l": 0.85601,
    "c": 0.12317,
    "h": 108.2
  },
  "luminance": 0.63755
}

Semantic roles & 50–950 ramp

primary
#D7D672
secondary
#4849A5
accent
#24C322
background
#FEFEFC
surface
#FDFCF5
border
#D5D5CF
text
#16150E
muted
#84847F

Preview Lab

Preview with #D7D672

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

Preview Lab → · Contrast checker → · Palette generator →

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