#D7D552#D7D552

#D7D552 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#D7D552
RGBrgb(215, 213, 82)
HSLhsl(59, 62%, 58%)
HSVhsv(59, 62%, 84%)
CMYKcmyk(0%, 0.9%, 61.9%, 15.7%)
CIE-LABlab(83.26, -15.40, 62.88)
CIE-LCHlch(83.26, 64.74, 103.76°)
OKLaboklab(85.03% -0.0475 0.143)
OKLCHoklch(85.03% 0.151 108.4)
XYZxyz(53.3433, 62.6463, 17.2630)
Luminance0.6264 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7D552 #5254D7
analogous
#D79252 #D7D552 #96D752
triadic
#D7D552 #52D7D5 #D552D7
tetradic
#D7D552 #52D792 #5254D7 #D75296
square
#D7D552 #52D792 #5254D7 #D75296
split-complementary
#D7D552 #5296D7 #9252D7
monochromatic
#8E8C21 #C0BD2C #D7D552 #E2E184 #EEEDB5

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D7D552#FFFFFF#000000##000000
##D7D5521.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)
#E5CD42
Deuteranopia (green-blind)
#E8D25A
Tritanopia (blue-blind)
#E5C8BA
Achromatopsia (no color)
#CFCFCF

Design tokens & code

CSS
--color: #d7d552;
/* rgb */ color: rgb(215, 213, 82);
/* oklch */ color: oklch(85.0% 0.151 108.4);
Tailwind
colors: {
  custom: {
    50: '#e6e188',
    500: '#d7d552',
    950: '#000000',
  },
}
SCSS
$custom: #d7d552;
$custom-light: #e6e188;
$custom-dark: #000000;
JSON
{
  "hex": "#d7d552",
  "rgb": {
    "r": 215,
    "g": 213,
    "b": 82
  },
  "hsl": {
    "h": 59.098,
    "s": 62.441,
    "l": 58.235
  },
  "oklch": {
    "l": 0.85034,
    "c": 0.15071,
    "h": 108.4
  },
  "luminance": 0.62645
}

Semantic roles & 50–950 ramp

primary
#D7D552
secondary
#3A3B93
accent
#45E642
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#16150C
muted
#85847F

Preview Lab

Preview with #D7D552

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

Preview Lab → · Contrast checker → · Palette generator →

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