#D7D559#D7D559

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

Color values

HEX#D7D559
RGBrgb(215, 213, 89)
HSLhsl(59, 61%, 60%)
HSVhsv(59, 59%, 84%)
CMYKcmyk(0%, 0.9%, 58.6%, 15.7%)
CIE-LABlab(83.32, -14.93, 59.99)
CIE-LCHlch(83.32, 61.82, 103.98°)
OKLaboklab(85.1% -0.0455 0.1378)
OKLCHoklch(85.1% 0.145 108.3)
XYZxyz(53.6234, 62.7584, 18.7381)
Luminance0.6276 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7D559 #595BD7
analogous
#D79659 #D7D559 #9AD759
triadic
#D7D559 #59D7D5 #D559D7
tetradic
#D7D559 #59D796 #595BD7 #D7599A
square
#D7D559 #59D796 #595BD7 #D7599A
split-complementary
#D7D559 #599AD7 #9659D7
monochromatic
#929123 #C4C12F #D7D559 #E3E18A #EFEEBC

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D7D559#FFFFFF#000000##000000
##D7D5591.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)
#E5CD4B
Deuteranopia (green-blind)
#E7D260
Tritanopia (blue-blind)
#E5C8BA
Achromatopsia (no color)
#D0D0D0

Design tokens & code

CSS
--color: #d7d559;
/* rgb */ color: rgb(215, 213, 89);
/* oklch */ color: oklch(85.1% 0.145 108.3);
Tailwind
colors: {
  custom: {
    50: '#e6e18d',
    500: '#d7d559',
    950: '#000000',
  },
}
SCSS
$custom: #d7d559;
$custom-light: #e6e18d;
$custom-dark: #000000;
JSON
{
  "hex": "#d7d559",
  "rgb": {
    "r": 215,
    "g": 213,
    "b": 89
  },
  "hsl": {
    "h": 59.048,
    "s": 61.165,
    "l": 59.608
  },
  "oklch": {
    "l": 0.85101,
    "c": 0.14514,
    "h": 108.3
  },
  "luminance": 0.62757
}

Semantic roles & 50–950 ramp

primary
#D7D559
secondary
#3D3E98
accent
#46E444
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#16150C
muted
#85847F

Preview Lab

Preview with #D7D559

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

Preview Lab → · Contrast checker → · Palette generator →

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