#DEF789#DEF789

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

Color values

HEX#DEF789
RGBrgb(222, 247, 137)
HSLhsl(74, 87%, 75%)
HSVhsv(74, 45%, 97%)
CMYKcmyk(10.1%, 0%, 44.5%, 3.1%)
CIE-LABlab(93.39, -24.53, 49.96)
CIE-LCHlch(93.39, 55.66, 116.15°)
OKLaboklab(93.45% -0.0685 0.1203)
OKLCHoklch(93.45% 0.138 119.7)
XYZxyz(67.9007, 83.8575, 36.2711)
Luminance0.8386 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DEF789 #A289F7
analogous
#F7D989 #DEF789 #A7F789
triadic
#DEF789 #89DEF7 #F789DE
tetradic
#DEF789 #89F7D9 #A289F7 #F789A7
square
#DEF789 #89F7D9 #A289F7 #F789A7
split-complementary
#DEF789 #89A7F7 #D989F7
monochromatic
#BEEF16 #CEF350 #DEF789 #EEFBC2 #F7FDE2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##DEF789#FFFFFF#000000##000000
##DEF7891.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)
#FFEC80
Deuteranopia (green-blind)
#FFEC8F
Tritanopia (blue-blind)
#E7EDDD
Achromatopsia (no color)
#ECECEC

Design tokens & code

CSS
--color: #def789;
/* rgb */ color: rgb(222, 247, 137);
/* oklch */ color: oklch(93.4% 0.138 119.7);
Tailwind
colors: {
  custom: {
    50: '#eaf9ad',
    500: '#def789',
    950: '#000000',
  },
}
SCSS
$custom: #def789;
$custom-light: #eaf9ad;
$custom-dark: #000000;
JSON
{
  "hex": "#def789",
  "rgb": {
    "r": 222,
    "g": 247,
    "b": 137
  },
  "hsl": {
    "h": 73.636,
    "s": 87.302,
    "l": 75.294
  },
  "oklch": {
    "l": 0.93445,
    "c": 0.13845,
    "h": 119.7
  },
  "luminance": 0.83857
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #DEF789

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

Preview Lab → · Contrast checker → · Palette generator →

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