#D7D460#D7D460

#D7D460 is a very light, vivid yellow. Relative luminance 0.624; OKLCH L 85.0% C 0.138 H 107.6°. Best body text is #000000 at 13.48:1 contrast (WCAG AA passes).

Color values

HEX#D7D460
RGBrgb(215, 212, 96)
HSLhsl(58, 60%, 61%)
HSVhsv(58, 55%, 84%)
CMYKcmyk(0%, 1.4%, 55.3%, 15.7%)
CIE-LABlab(83.12, -13.92, 56.68)
CIE-LCHlch(83.12, 58.36, 103.80°)
OKLaboklab(84.96% -0.0418 0.1316)
OKLCHoklch(84.96% 0.138 107.6)
XYZxyz(53.6807, 62.3801, 20.2769)
Luminance0.6238 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7D460 #6063D7
analogous
#D79860 #D7D460 #9ED760
triadic
#D7D460 #60D7D4 #D460D7
tetradic
#D7D460 #60D798 #6063D7 #D7609E
square
#D7D460 #60D798 #6063D7 #D7609E
split-complementary
#D7D460 #609ED7 #9860D7
monochromatic
#979426 #C8C432 #D7D460 #E3E191 #F0EEC2

Accessibility & contrast

On white

1.56
#D7D460 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.48
#D7D460 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7D460
13.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7D460#FFFFFF#000000##000000
##D7D4601.001.5613.4813.48
#FFFFFF1.561.0021.0021.00
#00000013.4821.001.001.00
##00000013.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#E4CC54
Deuteranopia (green-blind)
#E6D166
Tritanopia (blue-blind)
#E5C8BA
Achromatopsia (no color)
#CFCFCF

Design tokens & code

CSS
--color: #d7d460;
/* rgb */ color: rgb(215, 212, 96);
/* oklch */ color: oklch(85.0% 0.138 107.6);
Tailwind
colors: {
  custom: {
    50: '#e6e191',
    500: '#d7d460',
    950: '#000000',
  },
}
SCSS
$custom: #d7d460;
$custom-light: #e6e191;
$custom-dark: #000000;
JSON
{
  "hex": "#d7d460",
  "rgb": {
    "r": 215,
    "g": 212,
    "b": 96
  },
  "hsl": {
    "h": 58.487,
    "s": 59.799,
    "l": 60.98
  },
  "oklch": {
    "l": 0.84962,
    "c": 0.1381,
    "h": 107.6
  },
  "luminance": 0.62379
}

Semantic roles & 50–950 ramp

primary
#D7D460
secondary
#40429B
accent
#22C71E
background
#FEFEFC
surface
#FDFCF4
border
#D5D5CE
text
#16150D
muted
#84847F

Preview Lab

Preview with #D7D460

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

Preview Lab → · Contrast checker → · Palette generator →

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