#DEF775#DEF775

#DEF775 is a very light, vivid yellow-green. Relative luminance 0.833; OKLCH L 93.2% C 0.158 H 118.6°. Best body text is #000000 at 17.67:1 contrast (WCAG AA passes).

Color values

HEX#DEF775
RGBrgb(222, 247, 117)
HSLhsl(72, 89%, 71%)
HSVhsv(72, 53%, 97%)
CMYKcmyk(10.1%, 0%, 52.6%, 3.1%)
CIE-LABlab(93.16, -26.43, 58.94)
CIE-LCHlch(93.16, 64.59, 114.15°)
OKLaboklab(93.19% -0.0756 0.1385)
OKLCHoklch(93.19% 0.158 118.6)
XYZxyz(66.5966, 83.3359, 29.4033)
Luminance0.8334 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DEF775 #8E75F7
analogous
#F7CF75 #DEF775 #9DF775
triadic
#DEF775 #75DEF7 #F775DE
tetradic
#DEF775 #75F7CF #8E75F7 #F7759D
square
#DEF775 #75F7CF #8E75F7 #F7759D
split-complementary
#DEF775 #759DF7 #CF75F7
monochromatic
#BBE40D #D0F43B #DEF775 #ECFAAF #F8FDE2

Accessibility & contrast

On white

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

On black

17.67
#DEF775 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DEF775
17.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DEF775#FFFFFF#000000##000000
##DEF7751.001.1917.6717.67
#FFFFFF1.191.0021.0021.00
#00000017.6721.001.001.00
##00000017.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEB68
Deuteranopia (green-blind)
#FFEC7D
Tritanopia (blue-blind)
#E9EBDA
Achromatopsia (no color)
#EBEBEB

Design tokens & code

CSS
--color: #def775;
/* rgb */ color: rgb(222, 247, 117);
/* oklch */ color: oklch(93.2% 0.158 118.6);
Tailwind
colors: {
  custom: {
    50: '#eaf9a0',
    500: '#def775',
    950: '#000000',
  },
}
SCSS
$custom: #def775;
$custom-light: #eaf9a0;
$custom-dark: #000000;
JSON
{
  "hex": "#def775",
  "rgb": {
    "r": 222,
    "g": 247,
    "b": 117
  },
  "hsl": {
    "h": 71.538,
    "s": 89.041,
    "l": 71.373
  },
  "oklch": {
    "l": 0.93189,
    "c": 0.15778,
    "h": 118.6
  },
  "luminance": 0.83335
}

Semantic roles & 50–950 ramp

primary
#DEF775
secondary
#5A3ED2
accent
#00E62C
background
#FFFFFC
surface
#FEFFF5
border
#D6D7CF
text
#16170F
muted
#858580

Preview Lab

Preview with #DEF775

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

Preview Lab → · Contrast checker → · Palette generator →

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