#D7D551#D7D551

#D7D551 is a very light, vivid yellow. Relative luminance 0.626; OKLCH L 85.0% C 0.151 H 108.4°. Best body text is #000000 at 13.53:1 contrast (WCAG AA passes).

Color values

HEX#D7D551
RGBrgb(215, 213, 81)
HSLhsl(59, 63%, 58%)
HSVhsv(59, 62%, 84%)
CMYKcmyk(0%, 0.9%, 62.3%, 15.7%)
CIE-LABlab(83.25, -15.46, 63.29)
CIE-LCHlch(83.25, 65.15, 103.73°)
OKLaboklab(85.03% -0.0478 0.1437)
OKLCHoklch(85.03% 0.151 108.4)
XYZxyz(53.3055, 62.6312, 17.0641)
Luminance0.6263 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7D551 #5153D7
analogous
#D79251 #D7D551 #96D751
triadic
#D7D551 #51D7D5 #D551D7
tetradic
#D7D551 #51D792 #5153D7 #D75196
square
#D7D551 #51D792 #5153D7 #D75196
split-complementary
#D7D551 #5196D7 #9251D7
monochromatic
#8D8C20 #BFBD2C #D7D551 #E2E183 #EEEDB5

Accessibility & contrast

On white

1.55
#D7D551 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.53
#D7D551 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7D551
13.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7D551#FFFFFF#000000##000000
##D7D5511.001.5513.5313.53
#FFFFFF1.551.0021.0021.00
#00000013.5321.001.001.00
##00000013.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#E5CD40
Deuteranopia (green-blind)
#E8D259
Tritanopia (blue-blind)
#E5C8BA
Achromatopsia (no color)
#CFCFCF

Design tokens & code

CSS
--color: #d7d551;
/* rgb */ color: rgb(215, 213, 81);
/* oklch */ color: oklch(85.0% 0.151 108.4);
Tailwind
colors: {
  custom: {
    50: '#e6e188',
    500: '#d7d551',
    950: '#000000',
  },
}
SCSS
$custom: #d7d551;
$custom-light: #e6e188;
$custom-dark: #000000;
JSON
{
  "hex": "#d7d551",
  "rgb": {
    "r": 215,
    "g": 213,
    "b": 81
  },
  "hsl": {
    "h": 59.104,
    "s": 62.617,
    "l": 58.039
  },
  "oklch": {
    "l": 0.85026,
    "c": 0.15147,
    "h": 108.4
  },
  "luminance": 0.6263
}

Semantic roles & 50–950 ramp

primary
#D7D551
secondary
#393B93
accent
#45E642
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#16150C
muted
#85847F

Preview Lab

Preview with #D7D551

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

Preview Lab → · Contrast checker → · Palette generator →

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