#D7D658#D7D658

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

Color values

HEX#D7D658
RGBrgb(215, 214, 88)
HSLhsl(60, 61%, 59%)
HSVhsv(60, 59%, 84%)
CMYKcmyk(0%, 0.5%, 59.1%, 15.7%)
CIE-LABlab(83.57, -15.50, 60.70)
CIE-LCHlch(83.57, 62.65, 104.32°)
OKLaboklab(85.3% -0.0472 0.1392)
OKLCHoklch(85.3% 0.147 108.7)
XYZxyz(53.8340, 63.2463, 18.6026)
Luminance0.6324 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7D658 #5859D7
analogous
#D79758 #D7D658 #98D758
triadic
#D7D658 #58D7D6 #D658D7
tetradic
#D7D658 #58D797 #5859D7 #D75898
square
#D7D658 #58D797 #5859D7 #D75898
split-complementary
#D7D658 #5898D7 #9758D7
monochromatic
#929123 #C3C22F #D7D658 #E3E289 #EFEEBB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D7D658#FFFFFF#000000##000000
##D7D6581.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)
#E6CE4A
Deuteranopia (green-blind)
#E8D25F
Tritanopia (blue-blind)
#E5C9BB
Achromatopsia (no color)
#D0D0D0

Design tokens & code

CSS
--color: #d7d658;
/* rgb */ color: rgb(215, 214, 88);
/* oklch */ color: oklch(85.3% 0.147 108.7);
Tailwind
colors: {
  custom: {
    50: '#e6e28c',
    500: '#d7d658',
    950: '#000000',
  },
}
SCSS
$custom: #d7d658;
$custom-light: #e6e28c;
$custom-dark: #000000;
JSON
{
  "hex": "#d7d658",
  "rgb": {
    "r": 215,
    "g": 214,
    "b": 88
  },
  "hsl": {
    "h": 59.528,
    "s": 61.353,
    "l": 59.412
  },
  "oklch": {
    "l": 0.85302,
    "c": 0.14699,
    "h": 108.7
  },
  "luminance": 0.63245
}

Semantic roles & 50–950 ramp

primary
#D7D658
secondary
#3C3D97
accent
#45E443
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#16150C
muted
#85847F

Preview Lab

Preview with #D7D658

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

Preview Lab → · Contrast checker → · Palette generator →

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