#D7D657#D7D657

#D7D657 is a very light, vivid yellow. Relative luminance 0.632; OKLCH L 85.3% C 0.148 H 108.7°. Best body text is #000000 at 13.65:1 contrast (WCAG AA passes).

Color values

HEX#D7D657
RGBrgb(215, 214, 87)
HSLhsl(60, 62%, 59%)
HSVhsv(60, 60%, 84%)
CMYKcmyk(0%, 0.5%, 59.5%, 15.7%)
CIE-LABlab(83.56, -15.57, 61.12)
CIE-LCHlch(83.56, 63.07, 104.29°)
OKLaboklab(85.29% -0.0475 0.14)
OKLCHoklch(85.29% 0.148 108.7)
XYZxyz(53.7928, 63.2298, 18.3859)
Luminance0.6323 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7D657 #5758D7
analogous
#D79657 #D7D657 #98D757
triadic
#D7D657 #57D7D6 #D657D7
tetradic
#D7D657 #57D796 #5758D7 #D75798
square
#D7D657 #57D796 #5758D7 #D75798
split-complementary
#D7D657 #5798D7 #9657D7
monochromatic
#919023 #C2C12E #D7D657 #E3E288 #EFEEBA

Accessibility & contrast

On white

1.54
#D7D657 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.65
#D7D657 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7D657
13.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7D657#FFFFFF#000000##000000
##D7D6571.001.5413.6513.65
#FFFFFF1.541.0021.0021.00
#00000013.6521.001.001.00
##00000013.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#E6CE48
Deuteranopia (green-blind)
#E8D25F
Tritanopia (blue-blind)
#E5C9BB
Achromatopsia (no color)
#D0D0D0

Design tokens & code

CSS
--color: #d7d657;
/* rgb */ color: rgb(215, 214, 87);
/* oklch */ color: oklch(85.3% 0.148 108.7);
Tailwind
colors: {
  custom: {
    50: '#e6e28b',
    500: '#d7d657',
    950: '#000000',
  },
}
SCSS
$custom: #d7d657;
$custom-light: #e6e28b;
$custom-dark: #000000;
JSON
{
  "hex": "#d7d657",
  "rgb": {
    "r": 215,
    "g": 214,
    "b": 87
  },
  "hsl": {
    "h": 59.531,
    "s": 61.538,
    "l": 59.216
  },
  "oklch": {
    "l": 0.85293,
    "c": 0.14779,
    "h": 108.7
  },
  "luminance": 0.63228
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D7D657

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

Preview Lab → · Contrast checker → · Palette generator →

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