#DEF862#DEF862

#DEF862 is a very light, vivid yellow-green. Relative luminance 0.835; OKLCH L 93.2% C 0.175 H 118.3°. Best body text is #000000 at 17.71:1 contrast (WCAG AA passes).

Color values

HEX#DEF862
RGBrgb(222, 248, 98)
HSLhsl(70, 91%, 68%)
HSVhsv(70, 60%, 97%)
CMYKcmyk(10.5%, 0%, 60.5%, 2.7%)
CIE-LABlab(93.25, -28.39, 67.21)
CIE-LCHlch(93.25, 72.96, 112.90°)
OKLaboklab(93.21% -0.0828 0.1541)
OKLCHoklch(93.21% 0.175 118.3)
XYZxyz(65.8973, 83.5468, 24.2075)
Luminance0.8355 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DEF862 #7C62F8
analogous
#F8C762 #DEF862 #93F862
triadic
#DEF862 #62DEF8 #F862DE
tetradic
#DEF862 #62F8C7 #7C62F8 #F86293
square
#DEF862 #62F8C7 #7C62F8 #F86293
split-complementary
#DEF862 #6293F8 #C762F8
monochromatic
#B3D60A #D2F527 #DEF862 #EAFB9D #F7FDD7

Accessibility & contrast

On white

1.19
#DEF862 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.71
#DEF862 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DEF862
17.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DEF862#FFFFFF#000000##000000
##DEF8621.001.1917.7117.71
#FFFFFF1.191.0021.0021.00
#00000017.7121.001.001.00
##00000017.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEB50
Deuteranopia (green-blind)
#FFEC6C
Tritanopia (blue-blind)
#EAEBD8
Achromatopsia (no color)
#ECECEC

Design tokens & code

CSS
--color: #def862;
/* rgb */ color: rgb(222, 248, 98);
/* oklch */ color: oklch(93.2% 0.175 118.3);
Tailwind
colors: {
  custom: {
    50: '#ebfa94',
    500: '#def862',
    950: '#000000',
  },
}
SCSS
$custom: #def862;
$custom-light: #ebfa94;
$custom-dark: #000000;
JSON
{
  "hex": "#def862",
  "rgb": {
    "r": 222,
    "g": 248,
    "b": 98
  },
  "hsl": {
    "h": 70.4,
    "s": 91.463,
    "l": 67.843
  },
  "oklch": {
    "l": 0.93206,
    "c": 0.175,
    "h": 118.3
  },
  "luminance": 0.83546
}

Semantic roles & 50–950 ramp

primary
#DEF862
secondary
#4A2ED0
accent
#00E628
background
#FFFFFC
surface
#FEFFF5
border
#D6D7CF
text
#17170E
muted
#85857F

Preview Lab

Preview with #DEF862

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

Preview Lab → · Contrast checker → · Palette generator →

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