#DEF868#DEF868

#DEF868 is a very light, vivid yellow-green. Relative luminance 0.837; OKLCH L 93.3% C 0.170 H 118.4°. Best body text is #000000 at 17.73:1 contrast (WCAG AA passes).

Color values

HEX#DEF868
RGBrgb(222, 248, 104)
HSLhsl(71, 91%, 69%)
HSVhsv(71, 58%, 97%)
CMYKcmyk(10.5%, 0%, 58.1%, 2.7%)
CIE-LABlab(93.30, -27.95, 64.77)
CIE-LCHlch(93.30, 70.54, 113.34°)
OKLaboklab(93.26% -0.0811 0.1497)
OKLCHoklch(93.26% 0.17 118.4)
XYZxyz(66.1913, 83.6644, 25.7559)
Luminance0.8366 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DEF868 #8268F8
analogous
#F8CA68 #DEF868 #96F868
triadic
#DEF868 #68DEF8 #F868DE
tetradic
#DEF868 #68F8CA #8268F8 #F86896
square
#DEF868 #68F8CA #8268F8 #F86896
split-complementary
#DEF868 #6896F8 #CA68F8
monochromatic
#B6DB0A #D1F52E #DEF868 #EBFBA2 #F8FDDD

Accessibility & contrast

On white

1.18
#DEF868 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.73
#DEF868 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DEF868
17.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DEF868#FFFFFF#000000##000000
##DEF8681.001.1817.7317.73
#FFFFFF1.181.0021.0021.00
#00000017.7321.001.001.00
##00000017.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEC58
Deuteranopia (green-blind)
#FFEC71
Tritanopia (blue-blind)
#EAECD9
Achromatopsia (no color)
#ECECEC

Design tokens & code

CSS
--color: #def868;
/* rgb */ color: rgb(222, 248, 104);
/* oklch */ color: oklch(93.3% 0.170 118.4);
Tailwind
colors: {
  custom: {
    50: '#ebfa98',
    500: '#def868',
    950: '#000000',
  },
}
SCSS
$custom: #def868;
$custom-light: #ebfa98;
$custom-dark: #000000;
JSON
{
  "hex": "#def868",
  "rgb": {
    "r": 222,
    "g": 248,
    "b": 104
  },
  "hsl": {
    "h": 70.833,
    "s": 91.139,
    "l": 69.02
  },
  "oklch": {
    "l": 0.93264,
    "c": 0.17021,
    "h": 118.4
  },
  "luminance": 0.83664
}

Semantic roles & 50–950 ramp

primary
#DEF868
secondary
#4F32D2
accent
#00E629
background
#FFFFFC
surface
#FEFFF5
border
#D6D7CF
text
#17170E
muted
#85857F

Preview Lab

Preview with #DEF868

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

Preview Lab → · Contrast checker → · Palette generator →

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