#D7D751#D7D751

#D7D751 is a very light, vivid yellow. Relative luminance 0.636; OKLCH L 85.5% C 0.153 H 109.3°. Best body text is #000000 at 13.73:1 contrast (WCAG AA passes).

Color values

HEX#D7D751
RGBrgb(215, 215, 81)
HSLhsl(60, 63%, 58%)
HSVhsv(60, 62%, 84%)
CMYKcmyk(0%, 0%, 62.3%, 15.7%)
CIE-LABlab(83.78, -16.45, 63.85)
CIE-LCHlch(83.78, 65.94, 104.45°)
OKLaboklab(85.45% -0.0506 0.1449)
OKLCHoklch(85.45% 0.154 109.3)
XYZxyz(53.8117, 63.6435, 17.2328)
Luminance0.6364 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7D751 #5151D7
analogous
#D79451 #D7D751 #94D751
triadic
#D7D751 #51D7D7 #D751D7
tetradic
#D7D751 #51D794 #5151D7 #D75194
square
#D7D751 #51D794 #5151D7 #D75194
split-complementary
#D7D751 #5194D7 #9451D7
monochromatic
#8D8D20 #BFBF2C #D7D751 #E2E283 #EEEEB5

Accessibility & contrast

On white

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

On black

13.73
#D7D751 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7D751
13.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7D751#FFFFFF#000000##000000
##D7D7511.001.5313.7313.73
#FFFFFF1.531.0021.0021.00
#00000013.7321.001.001.00
##00000013.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#E7CE40
Deuteranopia (green-blind)
#E9D359
Tritanopia (blue-blind)
#E5CABB
Achromatopsia (no color)
#D1D1D1

Design tokens & code

CSS
--color: #d7d751;
/* rgb */ color: rgb(215, 215, 81);
/* oklch */ color: oklch(85.5% 0.153 109.3);
Tailwind
colors: {
  custom: {
    50: '#e6e388',
    500: '#d7d751',
    950: '#000000',
  },
}
SCSS
$custom: #d7d751;
$custom-light: #e6e388;
$custom-dark: #000000;
JSON
{
  "hex": "#d7d751",
  "rgb": {
    "r": 215,
    "g": 215,
    "b": 81
  },
  "hsl": {
    "h": 60,
    "s": 62.617,
    "l": 58.039
  },
  "oklch": {
    "l": 0.8545,
    "c": 0.1535,
    "h": 109.3
  },
  "luminance": 0.63642
}

Semantic roles & 50–950 ramp

primary
#D7D751
secondary
#393993
accent
#42E642
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#16150C
muted
#85847F

Preview Lab

Preview with #D7D751

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

Preview Lab → · Contrast checker → · Palette generator →

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