#D5D976#D5D976

#D5D976 is a very light, vivid yellow. Relative luminance 0.651; OKLCH L 86.1% C 0.123 H 110.8°. Best body text is #000000 at 14.02:1 contrast (WCAG AA passes).

Color values

HEX#D5D976
RGBrgb(213, 217, 118)
HSLhsl(62, 57%, 66%)
HSVhsv(62, 46%, 85%)
CMYKcmyk(1.8%, 0%, 45.6%, 14.9%)
CIE-LABlab(84.53, -15.32, 48.02)
CIE-LCHlch(84.53, 50.41, 107.70°)
OKLaboklab(86.13% -0.0435 0.1148)
OKLCHoklch(86.13% 0.123 110.8)
XYZxyz(55.5244, 65.0809, 26.7730)
Luminance0.6508 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D5D976 #7A76D9
analogous
#D9AB76 #D5D976 #A3D976
triadic
#D5D976 #76D5D9 #D976D5
tetradic
#D5D976 #76D9AB #7A76D9 #D976A3
square
#D5D976 #76D9AB #7A76D9 #D976A3
split-complementary
#D5D976 #76A3D9 #AB76D9
monochromatic
#A2A62E #C6CC46 #D5D976 #E4E6A6 #F2F4D6

Accessibility & contrast

On white

1.50
#D5D976 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.02
#D5D976 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D5D976
14.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D5D976#FFFFFF#000000##000000
##D5D9761.001.5014.0214.02
#FFFFFF1.501.0021.0021.00
#00000014.0221.001.001.00
##00000014.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#E6D16E
Deuteranopia (green-blind)
#E7D47B
Tritanopia (blue-blind)
#E1CEC2
Achromatopsia (no color)
#D3D3D3

Design tokens & code

CSS
--color: #d5d976;
/* rgb */ color: rgb(213, 217, 118);
/* oklch */ color: oklch(86.1% 0.123 110.8);
Tailwind
colors: {
  custom: {
    50: '#e3e49f',
    500: '#d5d976',
    950: '#000000',
  },
}
SCSS
$custom: #d5d976;
$custom-light: #e3e49f;
$custom-dark: #000000;
JSON
{
  "hex": "#d5d976",
  "rgb": {
    "r": 213,
    "g": 217,
    "b": 118
  },
  "hsl": {
    "h": 62.424,
    "s": 56.571,
    "l": 65.686
  },
  "oklch": {
    "l": 0.86126,
    "c": 0.1228,
    "h": 110.8
  },
  "luminance": 0.6508
}

Semantic roles & 50–950 ramp

primary
#D5D976
secondary
#4D49AA
accent
#21C428
background
#FEFEFC
surface
#FCFCF5
border
#D5D5CF
text
#16150F
muted
#848480

Preview Lab

Preview with #D5D976

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

Preview Lab → · Contrast checker → · Palette generator →

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