#DEF766#DEF766

#DEF766 is a very light, vivid yellow-green. Relative luminance 0.830; OKLCH L 93.0% C 0.171 H 118.1°. Best body text is #000000 at 17.60:1 contrast (WCAG AA passes).

Color values

HEX#DEF766
RGBrgb(222, 247, 102)
HSLhsl(70, 90%, 68%)
HSVhsv(70, 59%, 97%)
CMYKcmyk(10.1%, 0%, 58.7%, 3.1%)
CIE-LABlab(93.02, -27.63, 65.29)
CIE-LCHlch(93.02, 70.90, 112.94°)
OKLaboklab(93.03% -0.0803 0.1506)
OKLCHoklch(93.03% 0.171 118.1)
XYZxyz(65.7843, 83.0110, 25.1250)
Luminance0.8301 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DEF766 #7F66F7
analogous
#F7C766 #DEF766 #95F766
triadic
#DEF766 #66DEF7 #F766DE
tetradic
#DEF766 #66F7C7 #7F66F7 #F76695
square
#DEF766 #66F7C7 #7F66F7 #F76695
split-complementary
#DEF766 #6695F7 #C766F7
monochromatic
#B4D70B #D1F42C #DEF766 #EBFAA0 #F7FDDA

Accessibility & contrast

On white

1.19
#DEF766 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.60
#DEF766 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DEF766
17.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DEF766#FFFFFF#000000##000000
##DEF7661.001.1917.6017.60
#FFFFFF1.191.0021.0021.00
#00000017.6021.001.001.00
##00000017.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEB56
Deuteranopia (green-blind)
#FFEC6F
Tritanopia (blue-blind)
#EAEBD8
Achromatopsia (no color)
#EBEBEB

Design tokens & code

CSS
--color: #def766;
/* rgb */ color: rgb(222, 247, 102);
/* oklch */ color: oklch(93.0% 0.171 118.1);
Tailwind
colors: {
  custom: {
    50: '#ebf997',
    500: '#def766',
    950: '#000000',
  },
}
SCSS
$custom: #def766;
$custom-light: #ebf997;
$custom-dark: #000000;
JSON
{
  "hex": "#def766",
  "rgb": {
    "r": 222,
    "g": 247,
    "b": 102
  },
  "hsl": {
    "h": 70.345,
    "s": 90.062,
    "l": 68.431
  },
  "oklch": {
    "l": 0.93029,
    "c": 0.17066,
    "h": 118.1
  },
  "luminance": 0.8301
}

Semantic roles & 50–950 ramp

primary
#DEF766
secondary
#4C31D0
accent
#00E628
background
#FFFFFC
surface
#FEFFF5
border
#D6D7CF
text
#17170E
muted
#85857F

Preview Lab

Preview with #DEF766

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

Preview Lab → · Contrast checker → · Palette generator →

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