#D5D758#D5D758

#D5D758 is a very light, vivid yellow. Relative luminance 0.635; OKLCH L 85.4% C 0.148 H 110.0°. Best body text is #000000 at 13.69:1 contrast (WCAG AA passes).

Color values

HEX#D5D758
RGBrgb(213, 215, 88)
HSLhsl(61, 61%, 59%)
HSVhsv(61, 59%, 84%)
CMYKcmyk(0.9%, 0%, 59.1%, 15.7%)
CIE-LABlab(83.68, -16.81, 60.77)
CIE-LCHlch(83.68, 63.05, 105.46°)
OKLaboklab(85.35% -0.0508 0.1394)
OKLCHoklch(85.35% 0.148 110)
XYZxyz(53.5040, 63.4530, 18.6598)
Luminance0.6345 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D5D758 #5A58D7
analogous
#D79A58 #D5D758 #96D758
triadic
#D5D758 #58D5D7 #D758D5
tetradic
#D5D758 #58D79A #5A58D7 #D75896
square
#D5D758 #58D79A #5A58D7 #D75896
split-complementary
#D5D758 #5896D7 #9A58D7
monochromatic
#909223 #C1C32F #D5D758 #E1E389 #EEEFBB

Accessibility & contrast

On white

1.53
#D5D758 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.69
#D5D758 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D5D758
13.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D5D758#FFFFFF#000000##000000
##D5D7581.001.5313.6913.69
#FFFFFF1.531.0021.0021.00
#00000013.6921.001.001.00
##00000013.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#E7CE49
Deuteranopia (green-blind)
#E8D360
Tritanopia (blue-blind)
#E3CBBC
Achromatopsia (no color)
#D1D1D1

Design tokens & code

CSS
--color: #d5d758;
/* rgb */ color: rgb(213, 215, 88);
/* oklch */ color: oklch(85.4% 0.148 110.0);
Tailwind
colors: {
  custom: {
    50: '#e5e38c',
    500: '#d5d758',
    950: '#000000',
  },
}
SCSS
$custom: #d5d758;
$custom-light: #e5e38c;
$custom-dark: #000000;
JSON
{
  "hex": "#d5d758",
  "rgb": {
    "r": 213,
    "g": 215,
    "b": 88
  },
  "hsl": {
    "h": 60.945,
    "s": 61.353,
    "l": 59.412
  },
  "oklch": {
    "l": 0.8535,
    "c": 0.14837,
    "h": 110
  },
  "luminance": 0.63452
}

Semantic roles & 50–950 ramp

primary
#D5D758
secondary
#3E3C97
accent
#43E446
background
#FEFEFC
surface
#FDFCF4
border
#D5D5CE
text
#16150C
muted
#84847F

Preview Lab

Preview with #D5D758

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

Preview Lab → · Contrast checker → · Palette generator →

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