#D7E366#D7E366

#D7E366 is a very light, vivid yellow. Relative luminance 0.703; OKLCH L 88.2% C 0.149 H 114.0°. Best body text is #000000 at 15.07:1 contrast (WCAG AA passes).

Color values

HEX#D7E366
RGBrgb(215, 227, 102)
HSLhsl(66, 69%, 65%)
HSVhsv(66, 55%, 89%)
CMYKcmyk(5.3%, 0%, 55.1%, 11%)
CIE-LABlab(87.17, -20.84, 58.60)
CIE-LCHlch(87.17, 62.19, 109.58°)
OKLaboklab(88.21% -0.0609 0.1364)
OKLCHoklch(88.21% 0.149 114)
XYZxyz(57.8929, 70.3455, 23.0961)
Luminance0.7035 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7E366 #7266E3
analogous
#E3B166 #D7E366 #99E366
triadic
#D7E366 #66D7E3 #E366D7
tetradic
#D7E366 #66E3B1 #7266E3 #E36699
square
#D7E366 #66E3B1 #7266E3 #E36699
split-complementary
#D7E366 #6699E3 #B166E3
monochromatic
#A1AF20 #C9DA32 #D7E366 #E5EC9A #F2F6CD

Accessibility & contrast

On white

1.39
#D7E366 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.07
#D7E366 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7E366
15.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7E366#FFFFFF#000000##000000
##D7E3661.001.3915.0715.07
#FFFFFF1.391.0021.0021.00
#00000015.0721.001.001.00
##00000015.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#F2D959
Deuteranopia (green-blind)
#F1DC6D
Tritanopia (blue-blind)
#E3D7C8
Achromatopsia (no color)
#DADADA

Design tokens & code

CSS
--color: #d7e366;
/* rgb */ color: rgb(215, 227, 102);
/* oklch */ color: oklch(88.2% 0.149 114.0);
Tailwind
colors: {
  custom: {
    50: '#e6eb95',
    500: '#d7e366',
    950: '#000000',
  },
}
SCSS
$custom: #d7e366;
$custom-light: #e6eb95;
$custom-dark: #000000;
JSON
{
  "hex": "#d7e366",
  "rgb": {
    "r": 215,
    "g": 227,
    "b": 102
  },
  "hsl": {
    "h": 65.76,
    "s": 69.061,
    "l": 64.51
  },
  "oklch": {
    "l": 0.88214,
    "c": 0.14934,
    "h": 114
  },
  "luminance": 0.70345
}

Semantic roles & 50–950 ramp

primary
#D7E366
secondary
#483DB0
accent
#14D127
background
#FEFEFC
surface
#FDFDF5
border
#D5D5CF
text
#16160E
muted
#84847F

Preview Lab

Preview with #D7E366

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

Preview Lab → · Contrast checker → · Palette generator →

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