#DEF098#DEF098

#DEF098 is a very light, moderate yellow-green. Relative luminance 0.801; OKLCH L 92.2% C 0.113 H 118.1°. Best body text is #000000 at 17.02:1 contrast (WCAG AA passes).

Color values

HEX#DEF098
RGBrgb(222, 240, 152)
HSLhsl(72, 75%, 77%)
HSVhsv(72, 37%, 94%)
CMYKcmyk(7.5%, 0%, 36.7%, 5.9%)
CIE-LABlab(91.74, -19.50, 40.59)
CIE-LCHlch(91.74, 45.03, 115.67°)
OKLaboklab(92.19% -0.0533 0.0998)
OKLCHoklch(92.19% 0.113 118.1)
XYZxyz(66.9519, 80.1171, 41.6367)
Luminance0.8012 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DEF098 #AA98F0
analogous
#F0D698 #DEF098 #B2F098
triadic
#DEF098 #98DEF0 #F098DE
tetradic
#DEF098 #98F0D6 #AA98F0 #F098B2
square
#DEF098 #98F0D6 #AA98F0 #F098B2
split-complementary
#DEF098 #98B2F0 #D698F0
monochromatic
#BCE02D #CDE863 #DEF098 #EFF8CD #F6FBE4

Accessibility & contrast

On white

1.23
#DEF098 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.02
#DEF098 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DEF098
17.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DEF098#FFFFFF#000000##000000
##DEF0981.001.2317.0217.02
#FFFFFF1.231.0021.0021.00
#00000017.0221.001.001.00
##00000017.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#FBE792
Deuteranopia (green-blind)
#F9E89C
Tritanopia (blue-blind)
#E6E7DA
Achromatopsia (no color)
#E7E7E7

Design tokens & code

CSS
--color: #def098;
/* rgb */ color: rgb(222, 240, 152);
/* oklch */ color: oklch(92.2% 0.113 118.1);
Tailwind
colors: {
  custom: {
    50: '#e9f5b7',
    500: '#def098',
    950: '#000000',
  },
}
SCSS
$custom: #def098;
$custom-light: #e9f5b7;
$custom-dark: #000000;
JSON
{
  "hex": "#def098",
  "rgb": {
    "r": 222,
    "g": 240,
    "b": 152
  },
  "hsl": {
    "h": 72.273,
    "s": 74.576,
    "l": 76.863
  },
  "oklch": {
    "l": 0.92191,
    "c": 0.11313,
    "h": 118.1
  },
  "luminance": 0.80117
}

Semantic roles & 50–950 ramp

primary
#DEF098
secondary
#765FCD
accent
#0FD738
background
#FEFFFD
surface
#FDFEF8
border
#D5D6D1
text
#161711
muted
#848581

Preview Lab

Preview with #DEF098

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

Preview Lab → · Contrast checker → · Palette generator →

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