#DEF498#DEF498

#DEF498 is a very light, moderate yellow-green. Relative luminance 0.825; OKLCH L 93.0% C 0.119 H 119.7°. Best body text is #000000 at 17.50:1 contrast (WCAG AA passes).

Color values

HEX#DEF498
RGBrgb(222, 244, 152)
HSLhsl(74, 81%, 78%)
HSVhsv(74, 38%, 96%)
CMYKcmyk(9%, 0%, 37.7%, 4.3%)
CIE-LABlab(92.79, -21.44, 41.95)
CIE-LCHlch(92.79, 47.11, 117.07°)
OKLaboklab(93.04% -0.0588 0.1029)
OKLCHoklch(93.04% 0.119 119.7)
XYZxyz(68.1424, 82.4982, 42.0336)
Luminance0.8250 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DEF498 #AE98F4
analogous
#F4DC98 #DEF498 #B0F498
triadic
#DEF498 #98DEF4 #F498DE
tetradic
#DEF498 #98F4DC #AE98F4 #F498B0
square
#DEF498 #98F4DC #AE98F4 #F498B0
split-complementary
#DEF498 #98B0F4 #DC98F4
monochromatic
#BBE829 #CCEE61 #DEF498 #F0FACF #F6FCE3

Accessibility & contrast

On white

1.20
#DEF498 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.50
#DEF498 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DEF498
17.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DEF498#FFFFFF#000000##000000
##DEF4981.001.2017.5017.50
#FFFFFF1.201.0021.0021.00
#00000017.5021.001.001.00
##00000017.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEA91
Deuteranopia (green-blind)
#FCEB9C
Tritanopia (blue-blind)
#E6EBDD
Achromatopsia (no color)
#EAEAEA

Design tokens & code

CSS
--color: #def498;
/* rgb */ color: rgb(222, 244, 152);
/* oklch */ color: oklch(93.0% 0.119 119.7);
Tailwind
colors: {
  custom: {
    50: '#e9f7b7',
    500: '#def498',
    950: '#000000',
  },
}
SCSS
$custom: #def498;
$custom-light: #e9f7b7;
$custom-dark: #000000;
JSON
{
  "hex": "#def498",
  "rgb": {
    "r": 222,
    "g": 244,
    "b": 152
  },
  "hsl": {
    "h": 74.348,
    "s": 80.702,
    "l": 77.647
  },
  "oklch": {
    "l": 0.93035,
    "c": 0.11853,
    "h": 119.7
  },
  "luminance": 0.82498
}

Semantic roles & 50–950 ramp

primary
#DEF498
secondary
#7A5ED2
accent
#08DD3B
background
#FEFFFD
surface
#FDFEF8
border
#D5D6D1
text
#161711
muted
#848581

Preview Lab

Preview with #DEF498

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

Preview Lab → · Contrast checker → · Palette generator →

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