#D7D768#D7D768

#D7D768 is a very light, vivid yellow. Relative luminance 0.640; OKLCH L 85.7% C 0.134 H 108.9°. Best body text is #000000 at 13.81:1 contrast (WCAG AA passes).

Color values

HEX#D7D768
RGBrgb(215, 215, 104)
HSLhsl(60, 58%, 63%)
HSVhsv(60, 52%, 84%)
CMYKcmyk(0%, 0%, 51.6%, 15.7%)
CIE-LABlab(83.99, -14.78, 54.04)
CIE-LCHlch(83.99, 56.02, 105.30°)
OKLaboklab(85.69% -0.0435 0.1268)
OKLCHoklch(85.69% 0.134 108.9)
XYZxyz(54.8248, 64.0488, 22.5686)
Luminance0.6405 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7D768 #6868D7
analogous
#D79F68 #D7D768 #9FD768
triadic
#D7D768 #68D7D7 #D768D7
tetradic
#D7D768 #68D79F #6868D7 #D7689F
square
#D7D768 #68D79F #6868D7 #D7689F
split-complementary
#D7D768 #689FD7 #9F68D7
monochromatic
#9B9B29 #CACA38 #D7D768 #E4E498 #F1F1C9

Accessibility & contrast

On white

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

On black

13.81
#D7D768 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7D768
13.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7D768#FFFFFF#000000##000000
##D7D7681.001.5213.8113.81
#FFFFFF1.521.0021.0021.00
#00000013.8121.001.001.00
##00000013.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#E6CF5D
Deuteranopia (green-blind)
#E7D36E
Tritanopia (blue-blind)
#E4CBBE
Achromatopsia (no color)
#D1D1D1

Design tokens & code

CSS
--color: #d7d768;
/* rgb */ color: rgb(215, 215, 104);
/* oklch */ color: oklch(85.7% 0.134 108.9);
Tailwind
colors: {
  custom: {
    50: '#e5e396',
    500: '#d7d768',
    950: '#000000',
  },
}
SCSS
$custom: #d7d768;
$custom-light: #e5e396;
$custom-dark: #000000;
JSON
{
  "hex": "#d7d768",
  "rgb": {
    "r": 215,
    "g": 215,
    "b": 104
  },
  "hsl": {
    "h": 60,
    "s": 58.115,
    "l": 62.549
  },
  "oklch": {
    "l": 0.85686,
    "c": 0.13401,
    "h": 108.9
  },
  "luminance": 0.64047
}

Semantic roles & 50–950 ramp

primary
#D7D768
secondary
#4343A0
accent
#20C620
background
#FEFEFC
surface
#FDFCF5
border
#D5D5CF
text
#16150E
muted
#84847F

Preview Lab

Preview with #D7D768

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

Preview Lab → · Contrast checker → · Palette generator →

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