#D7D556#D7D556

#D7D556 is a very light, vivid yellow. Relative luminance 0.627; OKLCH L 85.1% C 0.148 H 108.3°. Best body text is #000000 at 13.54:1 contrast (WCAG AA passes).

Color values

HEX#D7D556
RGBrgb(215, 213, 86)
HSLhsl(59, 62%, 59%)
HSVhsv(59, 60%, 84%)
CMYKcmyk(0%, 0.9%, 60%, 15.7%)
CIE-LABlab(83.29, -15.14, 61.24)
CIE-LCHlch(83.29, 63.09, 103.88°)
OKLaboklab(85.07% -0.0464 0.1401)
OKLCHoklch(85.07% 0.148 108.3)
XYZxyz(53.5000, 62.7090, 18.0881)
Luminance0.6271 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7D556 #5658D7
analogous
#D79556 #D7D556 #99D756
triadic
#D7D556 #56D7D5 #D556D7
tetradic
#D7D556 #56D795 #5658D7 #D75699
square
#D7D556 #56D795 #5658D7 #D75699
split-complementary
#D7D556 #5699D7 #9556D7
monochromatic
#908F22 #C2C02E #D7D556 #E3E187 #EEEEB9

Accessibility & contrast

On white

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

On black

13.54
#D7D556 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7D556
13.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7D556#FFFFFF#000000##000000
##D7D5561.001.5513.5413.54
#FFFFFF1.551.0021.0021.00
#00000013.5421.001.001.00
##00000013.5421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d7d556;
/* rgb */ color: rgb(215, 213, 86);
/* oklch */ color: oklch(85.1% 0.148 108.3);
Tailwind
colors: {
  custom: {
    50: '#e6e18b',
    500: '#d7d556',
    950: '#000000',
  },
}
SCSS
$custom: #d7d556;
$custom-light: #e6e18b;
$custom-dark: #000000;
JSON
{
  "hex": "#d7d556",
  "rgb": {
    "r": 215,
    "g": 213,
    "b": 86
  },
  "hsl": {
    "h": 59.07,
    "s": 61.722,
    "l": 59.02
  },
  "oklch": {
    "l": 0.85071,
    "c": 0.14757,
    "h": 108.3
  },
  "luminance": 0.62707
}

Semantic roles & 50–950 ramp

primary
#D7D556
secondary
#3B3D96
accent
#45E543
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#16150C
muted
#85847F

Preview Lab

Preview with #D7D556

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

Preview Lab → · Contrast checker → · Palette generator →

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