#D5D756#D5D756

#D5D756 is a very light, vivid yellow. Relative luminance 0.634; OKLCH L 85.3% C 0.150 H 110.0°. Best body text is #000000 at 13.68:1 contrast (WCAG AA passes).

Color values

HEX#D5D756
RGBrgb(213, 215, 86)
HSLhsl(61, 62%, 59%)
HSVhsv(61, 60%, 84%)
CMYKcmyk(0.9%, 0%, 60%, 15.7%)
CIE-LABlab(83.66, -16.95, 61.60)
CIE-LCHlch(83.66, 63.89, 105.38°)
OKLaboklab(85.33% -0.0514 0.1409)
OKLCHoklch(85.33% 0.15 110)
XYZxyz(53.4223, 63.4203, 18.2295)
Luminance0.6342 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D5D756 #5856D7
analogous
#D79956 #D5D756 #95D756
triadic
#D5D756 #56D5D7 #D756D5
tetradic
#D5D756 #56D799 #5856D7 #D75695
square
#D5D756 #56D799 #5856D7 #D75695
split-complementary
#D5D756 #5695D7 #9956D7
monochromatic
#8F9022 #C0C22E #D5D756 #E1E387 #EEEEB9

Accessibility & contrast

On white

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

On black

13.68
#D5D756 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D5D756
13.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D5D756#FFFFFF#000000##000000
##D5D7561.001.5313.6813.68
#FFFFFF1.531.0021.0021.00
#00000013.6821.001.001.00
##00000013.6821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d5d756;
/* rgb */ color: rgb(213, 215, 86);
/* oklch */ color: oklch(85.3% 0.150 110.0);
Tailwind
colors: {
  custom: {
    50: '#e5e38b',
    500: '#d5d756',
    950: '#000000',
  },
}
SCSS
$custom: #d5d756;
$custom-light: #e5e38b;
$custom-dark: #000000;
JSON
{
  "hex": "#d5d756",
  "rgb": {
    "r": 213,
    "g": 215,
    "b": 86
  },
  "hsl": {
    "h": 60.93,
    "s": 61.722,
    "l": 59.02
  },
  "oklch": {
    "l": 0.85331,
    "c": 0.14999,
    "h": 110
  },
  "luminance": 0.63419
}

Semantic roles & 50–950 ramp

primary
#D5D756
secondary
#3D3B96
accent
#43E545
background
#FEFEFC
surface
#FDFCF4
border
#D5D5CE
text
#16150C
muted
#84847F

Preview Lab

Preview with #D5D756

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

Preview Lab → · Contrast checker → · Palette generator →

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