#D7D558#D7D558

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

Color values

HEX#D7D558
RGBrgb(215, 213, 88)
HSLhsl(59, 61%, 59%)
HSVhsv(59, 59%, 84%)
CMYKcmyk(0%, 0.9%, 59.1%, 15.7%)
CIE-LABlab(83.31, -15.00, 60.41)
CIE-LCHlch(83.31, 62.24, 103.95°)
OKLaboklab(85.09% -0.0458 0.1386)
OKLCHoklch(85.09% 0.146 108.3)
XYZxyz(53.5817, 62.7417, 18.5185)
Luminance0.6274 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7D558 #585AD7
analogous
#D79658 #D7D558 #9AD758
triadic
#D7D558 #58D7D5 #D558D7
tetradic
#D7D558 #58D796 #585AD7 #D7589A
square
#D7D558 #58D796 #585AD7 #D7589A
split-complementary
#D7D558 #589AD7 #9658D7
monochromatic
#929023 #C3C12F #D7D558 #E3E189 #EFEEBB

Accessibility & contrast

On white

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

On black

13.55
#D7D558 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7D558
13.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7D558#FFFFFF#000000##000000
##D7D5581.001.5513.5513.55
#FFFFFF1.551.0021.0021.00
#00000013.5521.001.001.00
##00000013.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#E5CD4A
Deuteranopia (green-blind)
#E7D25F
Tritanopia (blue-blind)
#E5C8BA
Achromatopsia (no color)
#D0D0D0

Design tokens & code

CSS
--color: #d7d558;
/* rgb */ color: rgb(215, 213, 88);
/* oklch */ color: oklch(85.1% 0.146 108.3);
Tailwind
colors: {
  custom: {
    50: '#e6e18c',
    500: '#d7d558',
    950: '#000000',
  },
}
SCSS
$custom: #d7d558;
$custom-light: #e6e18c;
$custom-dark: #000000;
JSON
{
  "hex": "#d7d558",
  "rgb": {
    "r": 215,
    "g": 213,
    "b": 88
  },
  "hsl": {
    "h": 59.055,
    "s": 61.353,
    "l": 59.412
  },
  "oklch": {
    "l": 0.85091,
    "c": 0.14595,
    "h": 108.3
  },
  "luminance": 0.6274
}

Semantic roles & 50–950 ramp

primary
#D7D558
secondary
#3C3E97
accent
#46E443
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#16150C
muted
#85847F

Preview Lab

Preview with #D7D558

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

Preview Lab → · Contrast checker → · Palette generator →

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