#D8D266#D8D266

#D8D266 is a very light, vivid yellow. Relative luminance 0.617; OKLCH L 84.7% C 0.130 H 106.0°. Best body text is #000000 at 13.33:1 contrast (WCAG AA passes).

Color values

HEX#D8D266
RGBrgb(216, 210, 102)
HSLhsl(57, 59%, 62%)
HSVhsv(57, 53%, 85%)
CMYKcmyk(0%, 2.8%, 52.8%, 15.3%)
CIE-LABlab(82.73, -12.04, 53.51)
CIE-LCHlch(82.73, 54.85, 102.68°)
OKLaboklab(84.69% -0.0359 0.1254)
OKLCHoklch(84.69% 0.13 106)
XYZxyz(53.7653, 61.6530, 21.6358)
Luminance0.6165 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8D266 #666CD8
analogous
#D89966 #D8D266 #A5D866
triadic
#D8D266 #66D8D2 #D266D8
tetradic
#D8D266 #66D899 #666CD8 #D866A5
square
#D8D266 #66D899 #666CD8 #D866A5
split-complementary
#D8D266 #66A5D8 #9966D8
monochromatic
#9C9628 #CCC435 #D8D266 #E4E097 #F1EFC8

Accessibility & contrast

On white

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

On black

13.33
#D8D266 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D8D266
13.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8D266#FFFFFF#000000##000000
##D8D2661.001.5813.3313.33
#FFFFFF1.581.0021.0021.00
#00000013.3321.001.001.00
##00000013.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#E1CB5C
Deuteranopia (green-blind)
#E4D06B
Tritanopia (blue-blind)
#E6C6BA
Achromatopsia (no color)
#CECECE

Design tokens & code

CSS
--color: #d8d266;
/* rgb */ color: rgb(216, 210, 102);
/* oklch */ color: oklch(84.7% 0.130 106.0);
Tailwind
colors: {
  custom: {
    50: '#e6df95',
    500: '#d8d266',
    950: '#000000',
  },
}
SCSS
$custom: #d8d266;
$custom-light: #e6df95;
$custom-dark: #000000;
JSON
{
  "hex": "#d8d266",
  "rgb": {
    "r": 216,
    "g": 210,
    "b": 102
  },
  "hsl": {
    "h": 56.842,
    "s": 59.375,
    "l": 62.353
  },
  "oklch": {
    "l": 0.84694,
    "c": 0.13046,
    "h": 106
  },
  "luminance": 0.61651
}

Semantic roles & 50–950 ramp

primary
#D8D266
secondary
#4247A0
accent
#27C71E
background
#FEFEFC
surface
#FDFCF4
border
#D5D5CE
text
#16150D
muted
#84847F

Preview Lab

Preview with #D8D266

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

Preview Lab → · Contrast checker → · Palette generator →

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