#D6D766#D6D766

#D6D766 is a very light, vivid yellow. Relative luminance 0.639; OKLCH L 85.6% C 0.136 H 109.4°. Best body text is #000000 at 13.77:1 contrast (WCAG AA passes).

Color values

HEX#D6D766
RGBrgb(214, 215, 102)
HSLhsl(61, 59%, 62%)
HSVhsv(61, 53%, 84%)
CMYKcmyk(0.5%, 0%, 52.6%, 15.7%)
CIE-LABlab(83.89, -15.35, 54.82)
CIE-LCHlch(83.89, 56.93, 105.64°)
OKLaboklab(85.58% -0.0452 0.1283)
OKLCHoklch(85.58% 0.136 109.4)
XYZxyz(54.4316, 63.8576, 22.0262)
Luminance0.6386 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D6D766 #6766D7
analogous
#D7A066 #D6D766 #9ED766
triadic
#D6D766 #66D6D7 #D766D6
tetradic
#D6D766 #66D7A0 #6766D7 #D7669E
square
#D6D766 #66D7A0 #6766D7 #D7669E
split-complementary
#D6D766 #669ED7 #A066D7
monochromatic
#999A28 #C9CA35 #D6D766 #E3E497 #F0F0C7

Accessibility & contrast

On white

1.52
#D6D766 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.77
#D6D766 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D6D766
13.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D6D766#FFFFFF#000000##000000
##D6D7661.001.5213.7713.77
#FFFFFF1.521.0021.0021.00
#00000013.7721.001.001.00
##00000013.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#E6CF5B
Deuteranopia (green-blind)
#E7D36C
Tritanopia (blue-blind)
#E3CBBE
Achromatopsia (no color)
#D1D1D1

Design tokens & code

CSS
--color: #d6d766;
/* rgb */ color: rgb(214, 215, 102);
/* oklch */ color: oklch(85.6% 0.136 109.4);
Tailwind
colors: {
  custom: {
    50: '#e5e395',
    500: '#d6d766',
    950: '#000000',
  },
}
SCSS
$custom: #d6d766;
$custom-light: #e5e395;
$custom-dark: #000000;
JSON
{
  "hex": "#d6d766",
  "rgb": {
    "r": 214,
    "g": 215,
    "b": 102
  },
  "hsl": {
    "h": 60.531,
    "s": 58.549,
    "l": 62.157
  },
  "oklch": {
    "l": 0.85581,
    "c": 0.13602,
    "h": 109.4
  },
  "luminance": 0.63856
}

Semantic roles & 50–950 ramp

primary
#D6D766
secondary
#43429F
accent
#1FC621
background
#FEFEFC
surface
#FDFCF5
border
#D5D5CF
text
#16150D
muted
#84847F

Preview Lab

Preview with #D6D766

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

Preview Lab → · Contrast checker → · Palette generator →

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