#DEF778#DEF778

#DEF778 is a very light, vivid yellow-green. Relative luminance 0.834; OKLCH L 93.2% C 0.155 H 118.7°. Best body text is #000000 at 17.68:1 contrast (WCAG AA passes).

Color values

HEX#DEF778
RGBrgb(222, 247, 120)
HSLhsl(72, 89%, 72%)
HSVhsv(72, 51%, 97%)
CMYKcmyk(10.1%, 0%, 51.4%, 3.1%)
CIE-LABlab(93.19, -26.17, 57.62)
CIE-LCHlch(93.19, 63.28, 114.42°)
OKLaboklab(93.22% -0.0746 0.1359)
OKLCHoklch(93.22% 0.155 118.7)
XYZxyz(66.7759, 83.4076, 30.3471)
Luminance0.8341 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DEF778 #9178F7
analogous
#F7D178 #DEF778 #9FF778
triadic
#DEF778 #78DEF7 #F778DE
tetradic
#DEF778 #78F7D1 #9178F7 #F7789F
square
#DEF778 #78F7D1 #9178F7 #F7789F
split-complementary
#DEF778 #789FF7 #D178F7
monochromatic
#BCE70E #D0F43E #DEF778 #ECFAB2 #F8FDE2

Accessibility & contrast

On white

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

On black

17.68
#DEF778 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DEF778
17.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DEF778#FFFFFF#000000##000000
##DEF7781.001.1917.6817.68
#FFFFFF1.191.0021.0021.00
#00000017.6821.001.001.00
##00000017.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEB6C
Deuteranopia (green-blind)
#FFEC7F
Tritanopia (blue-blind)
#E9ECDA
Achromatopsia (no color)
#EBEBEB

Design tokens & code

CSS
--color: #def778;
/* rgb */ color: rgb(222, 247, 120);
/* oklch */ color: oklch(93.2% 0.155 118.7);
Tailwind
colors: {
  custom: {
    50: '#eaf9a2',
    500: '#def778',
    950: '#000000',
  },
}
SCSS
$custom: #def778;
$custom-light: #eaf9a2;
$custom-dark: #000000;
JSON
{
  "hex": "#def778",
  "rgb": {
    "r": 222,
    "g": 247,
    "b": 120
  },
  "hsl": {
    "h": 71.811,
    "s": 88.811,
    "l": 71.961
  },
  "oklch": {
    "l": 0.93224,
    "c": 0.15503,
    "h": 118.7
  },
  "luminance": 0.83407
}

Semantic roles & 50–950 ramp

primary
#DEF778
secondary
#5D41D3
accent
#00E52D
background
#FFFFFC
surface
#FEFFF6
border
#D6D7D0
text
#16170F
muted
#858580

Preview Lab

Preview with #DEF778

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

Preview Lab → · Contrast checker → · Palette generator →

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