#DEF772#DEF772

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

Color values

HEX#DEF772
RGBrgb(222, 247, 114)
HSLhsl(71, 89%, 71%)
HSVhsv(71, 54%, 97%)
CMYKcmyk(10.1%, 0%, 53.8%, 3.1%)
CIE-LABlab(93.13, -26.68, 60.24)
CIE-LCHlch(93.13, 65.88, 113.89°)
OKLaboklab(93.16% -0.0766 0.141)
OKLCHoklch(93.16% 0.16 118.5)
XYZxyz(66.4231, 83.2665, 28.4892)
Luminance0.8327 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DEF772 #8B72F7
analogous
#F7CD72 #DEF772 #9BF772
triadic
#DEF772 #72DEF7 #F772DE
tetradic
#DEF772 #72F7CD #8B72F7 #F7729B
square
#DEF772 #72F7CD #8B72F7 #F7729B
split-complementary
#DEF772 #729BF7 #CD72F7
monochromatic
#BAE20D #D0F438 #DEF772 #ECFAAC #F8FDE2

Accessibility & contrast

On white

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

On black

17.65
#DEF772 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DEF772
17.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DEF772#FFFFFF#000000##000000
##DEF7721.001.1917.6517.65
#FFFFFF1.191.0021.0021.00
#00000017.6521.001.001.00
##00000017.6521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #def772;
/* rgb */ color: rgb(222, 247, 114);
/* oklch */ color: oklch(93.2% 0.160 118.5);
Tailwind
colors: {
  custom: {
    50: '#ebf99e',
    500: '#def772',
    950: '#000000',
  },
}
SCSS
$custom: #def772;
$custom-light: #ebf99e;
$custom-dark: #000000;
JSON
{
  "hex": "#def772",
  "rgb": {
    "r": 222,
    "g": 247,
    "b": 114
  },
  "hsl": {
    "h": 71.278,
    "s": 89.262,
    "l": 70.784
  },
  "oklch": {
    "l": 0.93155,
    "c": 0.16047,
    "h": 118.5
  },
  "luminance": 0.83266
}

Semantic roles & 50–950 ramp

primary
#DEF772
secondary
#583BD2
accent
#00E62B
background
#FFFFFC
surface
#FEFFF5
border
#D6D7CF
text
#16170F
muted
#858580

Preview Lab

Preview with #DEF772

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

Preview Lab → · Contrast checker → · Palette generator →

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