#D9F266#D9F266

#D9F266 is a very light, vivid yellow-green. Relative luminance 0.792; OKLCH L 91.6% C 0.166 H 118.3°. Best body text is #000000 at 16.84:1 contrast (WCAG AA passes).

Color values

HEX#D9F266
RGBrgb(217, 242, 102)
HSLhsl(71, 84%, 67%)
HSVhsv(71, 58%, 95%)
CMYKcmyk(10.3%, 0%, 57.9%, 5.1%)
CIE-LABlab(91.33, -27.23, 63.32)
CIE-LCHlch(91.33, 68.93, 113.27°)
OKLaboklab(91.59% -0.0789 0.1465)
OKLCHoklch(91.59% 0.166 118.3)
XYZxyz(62.7666, 79.2158, 24.5514)
Luminance0.7922 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D9F266 #7F66F2
analogous
#F2C566 #D9F266 #93F266
triadic
#D9F266 #66D9F2 #F266D9
tetradic
#D9F266 #66F2C5 #7F66F2 #F26693
square
#D9F266 #66F2C5 #7F66F2 #F26693
split-complementary
#D9F266 #6693F2 #C566F2
monochromatic
#ABCC11 #CBED2E #D9F266 #E7F79E #F5FCD7

Accessibility & contrast

On white

1.25
#D9F266 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.84
#D9F266 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D9F266
16.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D9F266#FFFFFF#000000##000000
##D9F2661.001.2516.8416.84
#FFFFFF1.251.0021.0021.00
#00000016.8421.001.001.00
##00000016.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE657
Deuteranopia (green-blind)
#FEE76F
Tritanopia (blue-blind)
#E4E6D4
Achromatopsia (no color)
#E6E6E6

Design tokens & code

CSS
--color: #d9f266;
/* rgb */ color: rgb(217, 242, 102);
/* oklch */ color: oklch(91.6% 0.166 118.3);
Tailwind
colors: {
  custom: {
    50: '#e7f696',
    500: '#d9f266',
    950: '#000000',
  },
}
SCSS
$custom: #d9f266;
$custom-light: #e7f696;
$custom-dark: #000000;
JSON
{
  "hex": "#d9f266",
  "rgb": {
    "r": 217,
    "g": 242,
    "b": 102
  },
  "hsl": {
    "h": 70.714,
    "s": 84.337,
    "l": 67.451
  },
  "oklch": {
    "l": 0.91588,
    "c": 0.16637,
    "h": 118.3
  },
  "luminance": 0.79215
}

Semantic roles & 50–950 ramp

primary
#D9F266
secondary
#4E34C9
accent
#05E12C
background
#FFFFFC
surface
#FEFEF5
border
#D6D6CF
text
#16170E
muted
#85857F

Preview Lab

Preview with #D9F266

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

Preview Lab → · Contrast checker → · Palette generator →

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