#D7D859#D7D859

#D7D859 is a very light, vivid yellow. Relative luminance 0.643; OKLCH L 85.7% C 0.148 H 109.6°. Best body text is #000000 at 13.86:1 contrast (WCAG AA passes).

Color values

HEX#D7D859
RGBrgb(215, 216, 89)
HSLhsl(60, 62%, 60%)
HSVhsv(60, 59%, 85%)
CMYKcmyk(0.5%, 0%, 58.8%, 15.3%)
CIE-LABlab(84.11, -16.42, 60.86)
CIE-LCHlch(84.11, 63.04, 105.10°)
OKLaboklab(85.74% -0.0497 0.1397)
OKLCHoklch(85.74% 0.148 109.6)
XYZxyz(54.3849, 64.2815, 18.9920)
Luminance0.6428 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7D859 #5A59D8
analogous
#D89959 #D7D859 #98D859
triadic
#D7D859 #59D7D8 #D859D7
tetradic
#D7D859 #59D899 #5A59D8 #D85998
square
#D7D859 #59D899 #5A59D8 #D85998
split-complementary
#D7D859 #5998D8 #9959D8
monochromatic
#939423 #C4C52E #D7D859 #E3E48B #EFEFBC

Accessibility & contrast

On white

1.52
#D7D859 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.86
#D7D859 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7D859
13.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7D859#FFFFFF#000000##000000
##D7D8591.001.5213.8613.86
#FFFFFF1.521.0021.0021.00
#00000013.8621.001.001.00
##00000013.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#E8D04A
Deuteranopia (green-blind)
#E9D460
Tritanopia (blue-blind)
#E5CCBD
Achromatopsia (no color)
#D2D2D2

Design tokens & code

CSS
--color: #d7d859;
/* rgb */ color: rgb(215, 216, 89);
/* oklch */ color: oklch(85.7% 0.148 109.6);
Tailwind
colors: {
  custom: {
    50: '#e6e38d',
    500: '#d7d859',
    950: '#000000',
  },
}
SCSS
$custom: #d7d859;
$custom-light: #e6e38d;
$custom-dark: #000000;
JSON
{
  "hex": "#d7d859",
  "rgb": {
    "r": 215,
    "g": 216,
    "b": 89
  },
  "hsl": {
    "h": 60.472,
    "s": 61.951,
    "l": 59.804
  },
  "oklch": {
    "l": 0.85736,
    "c": 0.14825,
    "h": 109.6
  },
  "luminance": 0.6428
}

Semantic roles & 50–950 ramp

primary
#D7D859
secondary
#3D3C99
accent
#43E544
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#16150C
muted
#85847F

Preview Lab

Preview with #D7D859

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

Preview Lab → · Contrast checker → · Palette generator →

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