#DEF698#DEF698

#DEF698 is a very light, vivid yellow-green. Relative luminance 0.837; OKLCH L 93.5% C 0.121 H 120.5°. Best body text is #000000 at 17.74:1 contrast (WCAG AA passes).

Color values

HEX#DEF698
RGBrgb(222, 246, 152)
HSLhsl(75, 84%, 78%)
HSVhsv(75, 38%, 96%)
CMYKcmyk(9.8%, 0%, 38.2%, 3.5%)
CIE-LABlab(93.32, -22.40, 42.63)
CIE-LCHlch(93.32, 48.16, 117.72°)
OKLaboklab(93.46% -0.0615 0.1045)
OKLCHoklch(93.46% 0.121 120.5)
XYZxyz(68.7474, 83.7083, 42.2353)
Luminance0.8371 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DEF698 #B098F6
analogous
#F6DF98 #DEF698 #AFF698
triadic
#DEF698 #98DEF6 #F698DE
tetradic
#DEF698 #98F6DF #B098F6 #F698AF
square
#DEF698 #98F6DF #B098F6 #F698AF
split-complementary
#DEF698 #98AFF6 #DF98F6
monochromatic
#BAEC27 #CCF160 #DEF698 #F0FBD0 #F6FDE3

Accessibility & contrast

On white

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

On black

17.74
#DEF698 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DEF698
17.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DEF698#FFFFFF#000000##000000
##DEF6981.001.1817.7417.74
#FFFFFF1.181.0021.0021.00
#00000017.7421.001.001.00
##00000017.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEC91
Deuteranopia (green-blind)
#FEEC9D
Tritanopia (blue-blind)
#E6EDDF
Achromatopsia (no color)
#ECECEC

Design tokens & code

CSS
--color: #def698;
/* rgb */ color: rgb(222, 246, 152);
/* oklch */ color: oklch(93.5% 0.121 120.5);
Tailwind
colors: {
  custom: {
    50: '#e9f9b7',
    500: '#def698',
    950: '#000000',
  },
}
SCSS
$custom: #def698;
$custom-light: #e9f9b7;
$custom-dark: #000000;
JSON
{
  "hex": "#def698",
  "rgb": {
    "r": 222,
    "g": 246,
    "b": 152
  },
  "hsl": {
    "h": 75.319,
    "s": 83.929,
    "l": 78.039
  },
  "oklch": {
    "l": 0.93458,
    "c": 0.12124,
    "h": 120.5
  },
  "luminance": 0.83708
}

Semantic roles & 50–950 ramp

primary
#DEF698
secondary
#7C5DD5
accent
#05E03D
background
#FEFFFD
surface
#FDFFF8
border
#D5D7D1
text
#161711
muted
#848581

Preview Lab

Preview with #DEF698

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

Preview Lab → · Contrast checker → · Palette generator →

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