#D7D557#D7D557

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

Color values

HEX#D7D557
RGBrgb(215, 213, 87)
HSLhsl(59, 62%, 59%)
HSVhsv(59, 60%, 84%)
CMYKcmyk(0%, 0.9%, 59.5%, 15.7%)
CIE-LABlab(83.30, -15.07, 60.83)
CIE-LCHlch(83.30, 62.67, 103.91°)
OKLaboklab(85.08% -0.0461 0.1394)
OKLCHoklch(85.08% 0.147 108.3)
XYZxyz(53.5405, 62.7252, 18.3018)
Luminance0.6272 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7D557 #5759D7
analogous
#D79557 #D7D557 #99D757
triadic
#D7D557 #57D7D5 #D557D7
tetradic
#D7D557 #57D795 #5759D7 #D75799
square
#D7D557 #57D795 #5759D7 #D75799
split-complementary
#D7D557 #5799D7 #9557D7
monochromatic
#918F23 #C2C02E #D7D557 #E3E188 #EFEEBA

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D7D557#FFFFFF#000000##000000
##D7D5571.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)
#E5CD48
Deuteranopia (green-blind)
#E7D25E
Tritanopia (blue-blind)
#E5C8BA
Achromatopsia (no color)
#CFCFCF

Design tokens & code

CSS
--color: #d7d557;
/* rgb */ color: rgb(215, 213, 87);
/* oklch */ color: oklch(85.1% 0.147 108.3);
Tailwind
colors: {
  custom: {
    50: '#e6e18b',
    500: '#d7d557',
    950: '#000000',
  },
}
SCSS
$custom: #d7d557;
$custom-light: #e6e18b;
$custom-dark: #000000;
JSON
{
  "hex": "#d7d557",
  "rgb": {
    "r": 215,
    "g": 213,
    "b": 87
  },
  "hsl": {
    "h": 59.063,
    "s": 61.538,
    "l": 59.216
  },
  "oklch": {
    "l": 0.85081,
    "c": 0.14677,
    "h": 108.3
  },
  "luminance": 0.62724
}

Semantic roles & 50–950 ramp

primary
#D7D557
secondary
#3C3D96
accent
#46E543
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#16150C
muted
#85847F

Preview Lab

Preview with #D7D557

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

Preview Lab → · Contrast checker → · Palette generator →

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