#DEF398#DEF398

#DEF398 is a very light, moderate yellow-green. Relative luminance 0.819; OKLCH L 92.8% C 0.117 H 119.3°. Best body text is #000000 at 17.38:1 contrast (WCAG AA passes).

Color values

HEX#DEF398
RGBrgb(222, 243, 152)
HSLhsl(74, 79%, 77%)
HSVhsv(74, 37%, 95%)
CMYKcmyk(8.6%, 0%, 37.4%, 4.7%)
CIE-LABlab(92.53, -20.96, 41.61)
CIE-LCHlch(92.53, 46.59, 116.73°)
OKLaboklab(92.82% -0.0574 0.1021)
OKLCHoklch(92.82% 0.117 119.3)
XYZxyz(67.8423, 81.8980, 41.9336)
Luminance0.8190 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DEF398 #AD98F3
analogous
#F3DA98 #DEF398 #B1F398
triadic
#DEF398 #98DEF3 #F398DE
tetradic
#DEF398 #98F3DA #AD98F3 #F398B1
square
#DEF398 #98F3DA #AD98F3 #F398B1
split-complementary
#DEF398 #98B1F3 #DA98F3
monochromatic
#BBE62A #CCED61 #DEF398 #F0F9CF #F6FCE4

Accessibility & contrast

On white

1.21
#DEF398 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.38
#DEF398 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DEF398
17.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DEF398#FFFFFF#000000##000000
##DEF3981.001.2117.3817.38
#FFFFFF1.211.0021.0021.00
#00000017.3821.001.001.00
##00000017.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#FEEA91
Deuteranopia (green-blind)
#FBEA9C
Tritanopia (blue-blind)
#E6EADC
Achromatopsia (no color)
#EAEAEA

Design tokens & code

CSS
--color: #def398;
/* rgb */ color: rgb(222, 243, 152);
/* oklch */ color: oklch(92.8% 0.117 119.3);
Tailwind
colors: {
  custom: {
    50: '#e9f7b7',
    500: '#def398',
    950: '#000000',
  },
}
SCSS
$custom: #def398;
$custom-light: #e9f7b7;
$custom-dark: #000000;
JSON
{
  "hex": "#def398",
  "rgb": {
    "r": 222,
    "g": 243,
    "b": 152
  },
  "hsl": {
    "h": 73.846,
    "s": 79.13,
    "l": 77.451
  },
  "oklch": {
    "l": 0.92824,
    "c": 0.11716,
    "h": 119.3
  },
  "luminance": 0.81898
}

Semantic roles & 50–950 ramp

primary
#DEF398
secondary
#795ED1
accent
#0ADB3A
background
#FEFFFD
surface
#FDFEF8
border
#D5D6D1
text
#161711
muted
#848581

Preview Lab

Preview with #DEF398

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

Preview Lab → · Contrast checker → · Palette generator →

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