#D5D978#D5D978

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

Color values

HEX#D5D978
RGBrgb(213, 217, 120)
HSLhsl(62, 56%, 66%)
HSVhsv(62, 45%, 85%)
CMYKcmyk(1.8%, 0%, 44.7%, 14.9%)
CIE-LABlab(84.55, -15.13, 47.09)
CIE-LCHlch(84.55, 49.46, 107.81°)
OKLaboklab(86.15% -0.0428 0.1129)
OKLCHoklch(86.15% 0.121 110.8)
XYZxyz(55.6445, 65.1290, 27.4055)
Luminance0.6513 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D5D978 #7C78D9
analogous
#D9AC78 #D5D978 #A4D978
triadic
#D5D978 #78D5D9 #D978D5
tetradic
#D5D978 #78D9AC #7C78D9 #D978A4
square
#D5D978 #78D9AC #7C78D9 #D978A4
split-complementary
#D5D978 #78A4D9 #AC78D9
monochromatic
#A2A72F #C6CC48 #D5D978 #E4E6A8 #F3F4D8

Accessibility & contrast

On white

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

On black

14.03
#D5D978 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D5D978
14.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D5D978#FFFFFF#000000##000000
##D5D9781.001.5014.0314.03
#FFFFFF1.501.0021.0021.00
#00000014.0321.001.001.00
##00000014.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#E6D170
Deuteranopia (green-blind)
#E7D57D
Tritanopia (blue-blind)
#E0CFC2
Achromatopsia (no color)
#D3D3D3

Design tokens & code

CSS
--color: #d5d978;
/* rgb */ color: rgb(213, 217, 120);
/* oklch */ color: oklch(86.2% 0.121 110.8);
Tailwind
colors: {
  custom: {
    50: '#e3e4a1',
    500: '#d5d978',
    950: '#000000',
  },
}
SCSS
$custom: #d5d978;
$custom-light: #e3e4a1;
$custom-dark: #000000;
JSON
{
  "hex": "#d5d978",
  "rgb": {
    "r": 213,
    "g": 217,
    "b": 120
  },
  "hsl": {
    "h": 62.474,
    "s": 56.069,
    "l": 66.078
  },
  "oklch": {
    "l": 0.86153,
    "c": 0.12074,
    "h": 110.8
  },
  "luminance": 0.65128
}

Semantic roles & 50–950 ramp

primary
#D5D978
secondary
#4E4AAB
accent
#22C429
background
#FEFEFC
surface
#FCFCF5
border
#D5D5CF
text
#16150F
muted
#848480

Preview Lab

Preview with #D5D978

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

Preview Lab → · Contrast checker → · Palette generator →

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