#D7D260#D7D260

#D7D260 is a very light, vivid yellow. Relative luminance 0.614; OKLCH L 84.5% C 0.136 H 106.7°. Best body text is #000000 at 13.28:1 contrast (WCAG AA passes).

Color values

HEX#D7D260
RGBrgb(215, 210, 96)
HSLhsl(57, 60%, 61%)
HSVhsv(57, 55%, 84%)
CMYKcmyk(0%, 2.3%, 55.3%, 15.7%)
CIE-LABlab(82.59, -12.92, 56.08)
CIE-LCHlch(82.59, 57.55, 102.98°)
OKLaboklab(84.54% -0.039 0.1303)
OKLCHoklch(84.54% 0.136 106.7)
XYZxyz(53.1838, 61.3864, 20.1113)
Luminance0.6139 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7D260 #6065D7
analogous
#D79660 #D7D260 #A0D760
triadic
#D7D260 #60D7D2 #D260D7
tetradic
#D7D260 #60D796 #6065D7 #D760A0
square
#D7D260 #60D796 #6065D7 #D760A0
split-complementary
#D7D260 #60A0D7 #9660D7
monochromatic
#979226 #C8C132 #D7D260 #E3E091 #F0EEC2

Accessibility & contrast

On white

1.58
#D7D260 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.28
#D7D260 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7D260
13.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7D260#FFFFFF#000000##000000
##D7D2601.001.5813.2813.28
#FFFFFF1.581.0021.0021.00
#00000013.2821.001.001.00
##00000013.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#E2CB54
Deuteranopia (green-blind)
#E4D066
Tritanopia (blue-blind)
#E5C6B9
Achromatopsia (no color)
#CECECE

Design tokens & code

CSS
--color: #d7d260;
/* rgb */ color: rgb(215, 210, 96);
/* oklch */ color: oklch(84.5% 0.136 106.7);
Tailwind
colors: {
  custom: {
    50: '#e6df91',
    500: '#d7d260',
    950: '#000000',
  },
}
SCSS
$custom: #d7d260;
$custom-light: #e6df91;
$custom-dark: #000000;
JSON
{
  "hex": "#d7d260",
  "rgb": {
    "r": 215,
    "g": 210,
    "b": 96
  },
  "hsl": {
    "h": 57.479,
    "s": 59.799,
    "l": 60.98
  },
  "oklch": {
    "l": 0.84541,
    "c": 0.13603,
    "h": 106.7
  },
  "luminance": 0.61385
}

Semantic roles & 50–950 ramp

primary
#D7D260
secondary
#40449B
accent
#25C71E
background
#FEFEFC
surface
#FDFCF4
border
#D5D5CE
text
#16150D
muted
#84847F

Preview Lab

Preview with #D7D260

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

Preview Lab → · Contrast checker → · Palette generator →

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