#D7E166#D7E166

#D7E166 is a very light, vivid yellow. Relative luminance 0.693; OKLCH L 87.8% C 0.147 H 113.3°. Best body text is #000000 at 14.85:1 contrast (WCAG AA passes).

Color values

HEX#D7E166
RGBrgb(215, 225, 102)
HSLhsl(65, 67%, 64%)
HSVhsv(65, 55%, 88%)
CMYKcmyk(4.4%, 0%, 54.7%, 11.8%)
CIE-LABlab(86.63, -19.87, 57.99)
CIE-LCHlch(86.63, 61.30, 108.92°)
OKLaboklab(87.79% -0.0581 0.1351)
OKLCHoklch(87.79% 0.147 113.3)
XYZxyz(57.3490, 69.2578, 22.9148)
Luminance0.6926 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7E166 #7066E1
analogous
#E1AE66 #D7E166 #9AE166
triadic
#D7E166 #66D7E1 #E166D7
tetradic
#D7E166 #66E1AE #7066E1 #E1669A
square
#D7E166 #66E1AE #7066E1 #E1669A
split-complementary
#D7E166 #669AE1 #AE66E1
monochromatic
#A0AB22 #CAD733 #D7E166 #E4EB99 #F2F5CC

Accessibility & contrast

On white

1.41
#D7E166 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.85
#D7E166 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7E166
14.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7E166#FFFFFF#000000##000000
##D7E1661.001.4114.8514.85
#FFFFFF1.411.0021.0021.00
#00000014.8521.001.001.00
##00000014.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#F0D759
Deuteranopia (green-blind)
#F0DA6D
Tritanopia (blue-blind)
#E3D5C6
Achromatopsia (no color)
#D9D9D9

Design tokens & code

CSS
--color: #d7e166;
/* rgb */ color: rgb(215, 225, 102);
/* oklch */ color: oklch(87.8% 0.147 113.3);
Tailwind
colors: {
  custom: {
    50: '#e6ea95',
    500: '#d7e166',
    950: '#000000',
  },
}
SCSS
$custom: #d7e166;
$custom-light: #e6ea95;
$custom-dark: #000000;
JSON
{
  "hex": "#d7e166",
  "rgb": {
    "r": 215,
    "g": 225,
    "b": 102
  },
  "hsl": {
    "h": 64.878,
    "s": 67.213,
    "l": 64.118
  },
  "oklch": {
    "l": 0.87787,
    "c": 0.14705,
    "h": 113.3
  },
  "luminance": 0.69257
}

Semantic roles & 50–950 ramp

primary
#D7E166
secondary
#473EAD
accent
#16CF25
background
#FEFEFC
surface
#FDFDF5
border
#D5D5CF
text
#16160E
muted
#84847F

Preview Lab

Preview with #D7E166

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

Preview Lab → · Contrast checker → · Palette generator →

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