#D8D260#D8D260

#D8D260 is a very light, vivid yellow. Relative luminance 0.615; OKLCH L 84.6% C 0.136 H 106.2°. Best body text is #000000 at 13.31:1 contrast (WCAG AA passes).

Color values

HEX#D8D260
RGBrgb(216, 210, 96)
HSLhsl(57, 61%, 61%)
HSVhsv(57, 56%, 85%)
CMYKcmyk(0%, 2.8%, 55.6%, 15.3%)
CIE-LABlab(82.67, -12.51, 56.19)
CIE-LCHlch(82.67, 57.57, 102.55°)
OKLaboklab(84.63% -0.0379 0.1305)
OKLCHoklch(84.63% 0.136 106.2)
XYZxyz(53.4784, 61.5383, 20.1251)
Luminance0.6154 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8D260 #6066D8
analogous
#D89660 #D8D260 #A2D860
triadic
#D8D260 #60D8D2 #D260D8
tetradic
#D8D260 #60D896 #6066D8 #D860A2
square
#D8D260 #60D896 #6066D8 #D860A2
split-complementary
#D8D260 #60A2D8 #9660D8
monochromatic
#989325 #C9C231 #D8D260 #E4E091 #F0EEC2

Accessibility & contrast

On white

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

On black

13.31
#D8D260 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D8D260
13.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8D260#FFFFFF#000000##000000
##D8D2601.001.5813.3113.31
#FFFFFF1.581.0021.0021.00
#00000013.3121.001.001.00
##00000013.3121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d8d260;
/* rgb */ color: rgb(216, 210, 96);
/* oklch */ color: oklch(84.6% 0.136 106.2);
Tailwind
colors: {
  custom: {
    50: '#e6df91',
    500: '#d8d260',
    950: '#000000',
  },
}
SCSS
$custom: #d8d260;
$custom-light: #e6df91;
$custom-dark: #000000;
JSON
{
  "hex": "#d8d260",
  "rgb": {
    "r": 216,
    "g": 210,
    "b": 96
  },
  "hsl": {
    "h": 57,
    "s": 60.606,
    "l": 61.176
  },
  "oklch": {
    "l": 0.84625,
    "c": 0.13593,
    "h": 106.2
  },
  "luminance": 0.61537
}

Semantic roles & 50–950 ramp

primary
#D8D260
secondary
#3F449D
accent
#26C81D
background
#FEFEFC
surface
#FDFCF4
border
#D5D5CE
text
#16150D
muted
#84847F

Preview Lab

Preview with #D8D260

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

Preview Lab → · Contrast checker → · Palette generator →

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