#DEF968#DEF968

#DEF968 is a very light, vivid yellow-green. Relative luminance 0.843; OKLCH L 93.5% C 0.171 H 118.7°. Best body text is #000000 at 17.86:1 contrast (WCAG AA passes).

Color values

HEX#DEF968
RGBrgb(222, 249, 104)
HSLhsl(71, 92%, 69%)
HSVhsv(71, 58%, 98%)
CMYKcmyk(10.8%, 0%, 58.2%, 2.4%)
CIE-LABlab(93.57, -28.42, 65.06)
CIE-LCHlch(93.57, 71.00, 113.59°)
OKLaboklab(93.48% -0.0824 0.1503)
OKLCHoklch(93.48% 0.171 118.7)
XYZxyz(66.4996, 84.2809, 25.8586)
Luminance0.8428 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DEF968 #8368F9
analogous
#F9CB68 #DEF968 #96F968
triadic
#DEF968 #68DEF9 #F968DE
tetradic
#DEF968 #68F9CB #8368F9 #F96896
square
#DEF968 #68F9CB #8368F9 #F96896
split-complementary
#DEF968 #6896F9 #CB68F9
monochromatic
#B6DE09 #D1F72D #DEF968 #EBFBA3 #F8FEDE

Accessibility & contrast

On white

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

On black

17.86
#DEF968 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DEF968
17.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DEF968#FFFFFF#000000##000000
##DEF9681.001.1817.8617.86
#FFFFFF1.181.0021.0021.00
#00000017.8621.001.001.00
##00000017.8621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #def968;
/* rgb */ color: rgb(222, 249, 104);
/* oklch */ color: oklch(93.5% 0.171 118.7);
Tailwind
colors: {
  custom: {
    50: '#ebfb98',
    500: '#def968',
    950: '#000000',
  },
}
SCSS
$custom: #def968;
$custom-light: #ebfb98;
$custom-dark: #000000;
JSON
{
  "hex": "#def968",
  "rgb": {
    "r": 222,
    "g": 249,
    "b": 104
  },
  "hsl": {
    "h": 71.172,
    "s": 92.357,
    "l": 69.216
  },
  "oklch": {
    "l": 0.93479,
    "c": 0.17139,
    "h": 118.7
  },
  "luminance": 0.8428
}

Semantic roles & 50–950 ramp

primary
#DEF968
secondary
#5032D3
accent
#00E62B
background
#FFFFFC
surface
#FEFFF5
border
#D6D7CF
text
#17170E
muted
#85857F

Preview Lab

Preview with #DEF968

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

Preview Lab → · Contrast checker → · Palette generator →

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