#DEF894#DEF894

#DEF894 is a very light, vivid yellow-green. Relative luminance 0.848; OKLCH L 93.8% C 0.128 H 120.8°. Best body text is #000000 at 17.96:1 contrast (WCAG AA passes).

Color values

HEX#DEF894
RGBrgb(222, 248, 148)
HSLhsl(76, 88%, 78%)
HSVhsv(76, 40%, 97%)
CMYKcmyk(10.5%, 0%, 40.3%, 2.7%)
CIE-LABlab(93.80, -23.81, 45.19)
CIE-LCHlch(93.80, 51.08, 117.79°)
OKLaboklab(93.82% -0.0657 0.1102)
OKLCHoklch(93.82% 0.128 120.8)
XYZxyz(69.0369, 84.8026, 40.7428)
Luminance0.8480 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DEF894 #AE94F8
analogous
#F8E094 #DEF894 #ACF894
triadic
#DEF894 #94DEF8 #F894DE
tetradic
#DEF894 #94F8E0 #AE94F8 #F894AC
square
#DEF894 #94F8E0 #AE94F8 #F894AC
split-complementary
#DEF894 #94ACF8 #E094F8
monochromatic
#BBF021 #CCF45B #DEF894 #F0FCCD #F6FDE2

Accessibility & contrast

On white

1.17
#DEF894 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.96
#DEF894 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DEF894
17.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DEF894#FFFFFF#000000##000000
##DEF8941.001.1717.9617.96
#FFFFFF1.171.0021.0021.00
#00000017.9621.001.001.00
##00000017.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEE8C
Deuteranopia (green-blind)
#FFED99
Tritanopia (blue-blind)
#E6EFE0
Achromatopsia (no color)
#EDEDED

Design tokens & code

CSS
--color: #def894;
/* rgb */ color: rgb(222, 248, 148);
/* oklch */ color: oklch(93.8% 0.128 120.8);
Tailwind
colors: {
  custom: {
    50: '#e9fab5',
    500: '#def894',
    950: '#000000',
  },
}
SCSS
$custom: #def894;
$custom-light: #e9fab5;
$custom-dark: #000000;
JSON
{
  "hex": "#def894",
  "rgb": {
    "r": 222,
    "g": 248,
    "b": 148
  },
  "hsl": {
    "h": 75.6,
    "s": 87.719,
    "l": 77.647
  },
  "oklch": {
    "l": 0.93819,
    "c": 0.12827,
    "h": 120.8
  },
  "luminance": 0.84803
}

Semantic roles & 50–950 ramp

primary
#DEF894
secondary
#7A59D7
accent
#01E43C
background
#FEFFFD
surface
#FDFFF8
border
#D5D7D1
text
#161711
muted
#848581

Preview Lab

Preview with #DEF894

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

Preview Lab → · Contrast checker → · Palette generator →

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