#DEF866#DEF866

#DEF866 is a very light, vivid yellow-green. Relative luminance 0.836; OKLCH L 93.2% C 0.172 H 118.4°. Best body text is #000000 at 17.72:1 contrast (WCAG AA passes).

Color values

HEX#DEF866
RGBrgb(222, 248, 102)
HSLhsl(71, 91%, 69%)
HSVhsv(71, 59%, 97%)
CMYKcmyk(10.5%, 0%, 58.9%, 2.7%)
CIE-LABlab(93.29, -28.10, 65.59)
CIE-LCHlch(93.29, 71.35, 113.19°)
OKLaboklab(93.24% -0.0817 0.1512)
OKLCHoklch(93.24% 0.172 118.4)
XYZxyz(66.0909, 83.6242, 25.2272)
Luminance0.8362 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DEF866 #8066F8
analogous
#F8C966 #DEF866 #95F866
triadic
#DEF866 #66DEF8 #F866DE
tetradic
#DEF866 #66F8C9 #8066F8 #F86695
square
#DEF866 #66F8C9 #8066F8 #F86695
split-complementary
#DEF866 #6695F8 #C966F8
monochromatic
#B5DA0A #D1F52B #DEF866 #EBFBA1 #F7FDDB

Accessibility & contrast

On white

1.18
#DEF866 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.72
#DEF866 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DEF866
17.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DEF866#FFFFFF#000000##000000
##DEF8661.001.1817.7217.72
#FFFFFF1.181.0021.0021.00
#00000017.7221.001.001.00
##00000017.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEC55
Deuteranopia (green-blind)
#FFEC6F
Tritanopia (blue-blind)
#EAECD9
Achromatopsia (no color)
#ECECEC

Design tokens & code

CSS
--color: #def866;
/* rgb */ color: rgb(222, 248, 102);
/* oklch */ color: oklch(93.2% 0.172 118.4);
Tailwind
colors: {
  custom: {
    50: '#ebfa97',
    500: '#def866',
    950: '#000000',
  },
}
SCSS
$custom: #def866;
$custom-light: #ebfa97;
$custom-dark: #000000;
JSON
{
  "hex": "#def866",
  "rgb": {
    "r": 222,
    "g": 248,
    "b": 102
  },
  "hsl": {
    "h": 70.685,
    "s": 91.25,
    "l": 68.627
  },
  "oklch": {
    "l": 0.93244,
    "c": 0.17183,
    "h": 118.4
  },
  "luminance": 0.83624
}

Semantic roles & 50–950 ramp

primary
#DEF866
secondary
#4D31D2
accent
#00E629
background
#FFFFFC
surface
#FEFFF5
border
#D6D7CF
text
#17170E
muted
#85857F

Preview Lab

Preview with #DEF866

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

Preview Lab → · Contrast checker → · Palette generator →

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