#DEF777#DEF777

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

Color values

HEX#DEF777
RGBrgb(222, 247, 119)
HSLhsl(72, 89%, 72%)
HSVhsv(72, 52%, 97%)
CMYKcmyk(10.1%, 0%, 51.8%, 3.1%)
CIE-LABlab(93.18, -26.25, 58.06)
CIE-LCHlch(93.18, 63.72, 114.33°)
OKLaboklab(93.21% -0.0749 0.1368)
OKLCHoklch(93.21% 0.156 118.7)
XYZxyz(66.7155, 83.3835, 30.0292)
Luminance0.8338 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DEF777 #9077F7
analogous
#F7D077 #DEF777 #9EF777
triadic
#DEF777 #77DEF7 #F777DE
tetradic
#DEF777 #77F7D0 #9077F7 #F7779E
square
#DEF777 #77F7D0 #9077F7 #F7779E
split-complementary
#DEF777 #779EF7 #D077F7
monochromatic
#BCE60E #D0F43D #DEF777 #ECFAB1 #F8FDE2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##DEF777#FFFFFF#000000##000000
##DEF7771.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)
#FFEB6B
Deuteranopia (green-blind)
#FFEC7E
Tritanopia (blue-blind)
#E9ECDA
Achromatopsia (no color)
#EBEBEB

Design tokens & code

CSS
--color: #def777;
/* rgb */ color: rgb(222, 247, 119);
/* oklch */ color: oklch(93.2% 0.156 118.7);
Tailwind
colors: {
  custom: {
    50: '#eaf9a1',
    500: '#def777',
    950: '#000000',
  },
}
SCSS
$custom: #def777;
$custom-light: #eaf9a1;
$custom-dark: #000000;
JSON
{
  "hex": "#def777",
  "rgb": {
    "r": 222,
    "g": 247,
    "b": 119
  },
  "hsl": {
    "h": 71.719,
    "s": 88.889,
    "l": 71.765
  },
  "oklch": {
    "l": 0.93212,
    "c": 0.15595,
    "h": 118.7
  },
  "luminance": 0.83383
}

Semantic roles & 50–950 ramp

primary
#DEF777
secondary
#5C40D2
accent
#00E62D
background
#FFFFFC
surface
#FEFFF5
border
#D6D7CF
text
#16170F
muted
#858580

Preview Lab

Preview with #DEF777

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

Preview Lab → · Contrast checker → · Palette generator →

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