#D7E766#D7E766

#D7E766 is a very light, vivid yellow. Relative luminance 0.726; OKLCH L 89.1% C 0.154 H 115.5°. Best body text is #000000 at 15.51:1 contrast (WCAG AA passes).

Color values

HEX#D7E766
RGBrgb(215, 231, 102)
HSLhsl(67, 73%, 65%)
HSVhsv(67, 56%, 91%)
CMYKcmyk(6.9%, 0%, 55.8%, 9.4%)
CIE-LABlab(88.24, -22.78, 59.81)
CIE-LCHlch(88.24, 64.00, 110.85°)
OKLaboklab(89.07% -0.0663 0.139)
OKLCHoklch(89.07% 0.154 115.5)
XYZxyz(58.9996, 72.5590, 23.4650)
Luminance0.7256 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7E766 #7666E7
analogous
#E7B666 #D7E766 #96E766
triadic
#D7E766 #66D7E7 #E766D7
tetradic
#D7E766 #66E7B6 #7666E7 #E76696
square
#D7E766 #66E7B6 #7666E7 #E76696
split-complementary
#D7E766 #6696E7 #B666E7
monochromatic
#A3B61D #C9DF31 #D7E766 #E5EF9B #F3F8D0

Accessibility & contrast

On white

1.35
#D7E766 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.51
#D7E766 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7E766
15.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7E766#FFFFFF#000000##000000
##D7E7661.001.3515.5115.51
#FFFFFF1.351.0021.0021.00
#00000015.5121.001.001.00
##00000015.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#F6DC58
Deuteranopia (green-blind)
#F4DE6E
Tritanopia (blue-blind)
#E3DBCB
Achromatopsia (no color)
#DDDDDD

Design tokens & code

CSS
--color: #d7e766;
/* rgb */ color: rgb(215, 231, 102);
/* oklch */ color: oklch(89.1% 0.154 115.5);
Tailwind
colors: {
  custom: {
    50: '#e6ee96',
    500: '#d7e766',
    950: '#000000',
  },
}
SCSS
$custom: #d7e766;
$custom-light: #e6ee96;
$custom-dark: #000000;
JSON
{
  "hex": "#d7e766",
  "rgb": {
    "r": 215,
    "g": 231,
    "b": 102
  },
  "hsl": {
    "h": 67.442,
    "s": 72.881,
    "l": 65.294
  },
  "oklch": {
    "l": 0.89071,
    "c": 0.154,
    "h": 115.5
  },
  "luminance": 0.72558
}

Semantic roles & 50–950 ramp

primary
#D7E766
secondary
#4A3BB6
accent
#11D529
background
#FEFFFC
surface
#FDFEF5
border
#D5D6CF
text
#16160E
muted
#84857F

Preview Lab

Preview with #D7E766

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

Preview Lab → · Contrast checker → · Palette generator →

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