#DEF788#DEF788

#DEF788 is a very light, vivid yellow-green. Relative luminance 0.838; OKLCH L 93.4% C 0.139 H 119.6°. Best body text is #000000 at 17.77:1 contrast (WCAG AA passes).

Color values

HEX#DEF788
RGBrgb(222, 247, 136)
HSLhsl(74, 87%, 75%)
HSVhsv(74, 45%, 97%)
CMYKcmyk(10.1%, 0%, 44.9%, 3.1%)
CIE-LABlab(93.38, -24.63, 50.42)
CIE-LCHlch(93.38, 56.11, 116.04°)
OKLaboklab(93.43% -0.0689 0.1213)
OKLCHoklch(93.43% 0.139 119.6)
XYZxyz(67.8293, 83.8290, 35.8951)
Luminance0.8383 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DEF788 #A188F7
analogous
#F7D988 #DEF788 #A6F788
triadic
#DEF788 #88DEF7 #F788DE
tetradic
#DEF788 #88F7D9 #A188F7 #F788A6
square
#DEF788 #88F7D9 #A188F7 #F788A6
split-complementary
#DEF788 #88A6F7 #D988F7
monochromatic
#BEEF15 #CEF34F #DEF788 #EEFBC1 #F7FDE2

Accessibility & contrast

On white

1.18
#DEF788 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.77
#DEF788 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DEF788
17.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DEF788#FFFFFF#000000##000000
##DEF7881.001.1817.7717.77
#FFFFFF1.181.0021.0021.00
#00000017.7721.001.001.00
##00000017.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEC7F
Deuteranopia (green-blind)
#FFEC8E
Tritanopia (blue-blind)
#E7EDDD
Achromatopsia (no color)
#ECECEC

Design tokens & code

CSS
--color: #def788;
/* rgb */ color: rgb(222, 247, 136);
/* oklch */ color: oklch(93.4% 0.139 119.6);
Tailwind
colors: {
  custom: {
    50: '#eaf9ad',
    500: '#def788',
    950: '#000000',
  },
}
SCSS
$custom: #def788;
$custom-light: #eaf9ad;
$custom-dark: #000000;
JSON
{
  "hex": "#def788",
  "rgb": {
    "r": 222,
    "g": 247,
    "b": 136
  },
  "hsl": {
    "h": 73.514,
    "s": 87.402,
    "l": 75.098
  },
  "oklch": {
    "l": 0.93431,
    "c": 0.13947,
    "h": 119.6
  },
  "luminance": 0.83829
}

Semantic roles & 50–950 ramp

primary
#DEF788
secondary
#6D4FD5
accent
#02E435
background
#FFFFFD
surface
#FEFFF7
border
#D6D7D0
text
#161710
muted
#858581

Preview Lab

Preview with #DEF788

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

Preview Lab → · Contrast checker → · Palette generator →

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