#DEF678#DEF678

#DEF678 is a very light, vivid yellow-green. Relative luminance 0.828; OKLCH L 93.0% C 0.154 H 118.4°. Best body text is #000000 at 17.56:1 contrast (WCAG AA passes).

Color values

HEX#DEF678
RGBrgb(222, 246, 120)
HSLhsl(71, 88%, 72%)
HSVhsv(71, 51%, 96%)
CMYKcmyk(9.8%, 0%, 51.2%, 3.5%)
CIE-LABlab(92.93, -25.69, 57.31)
CIE-LCHlch(92.93, 62.80, 114.15°)
OKLaboklab(93.01% -0.0732 0.1352)
OKLCHoklch(93.01% 0.154 118.4)
XYZxyz(66.4709, 82.7976, 30.2455)
Luminance0.8280 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DEF678 #9078F6
analogous
#F6CF78 #DEF678 #9FF678
triadic
#DEF678 #78DEF6 #F678DE
tetradic
#DEF678 #78F6CF #9078F6 #F6789F
square
#DEF678 #78F6CF #9078F6 #F6789F
split-complementary
#DEF678 #789FF6 #CF78F6
monochromatic
#BCE40F #D0F23F #DEF678 #ECFAB1 #F8FDE2

Accessibility & contrast

On white

1.20
#DEF678 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.56
#DEF678 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DEF678
17.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DEF678#FFFFFF#000000##000000
##DEF6781.001.2017.5617.56
#FFFFFF1.201.0021.0021.00
#00000017.5621.001.001.00
##00000017.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEB6C
Deuteranopia (green-blind)
#FFEB7F
Tritanopia (blue-blind)
#E9EBDA
Achromatopsia (no color)
#EBEBEB

Design tokens & code

CSS
--color: #def678;
/* rgb */ color: rgb(222, 246, 120);
/* oklch */ color: oklch(93.0% 0.154 118.4);
Tailwind
colors: {
  custom: {
    50: '#eaf9a2',
    500: '#def678',
    950: '#000000',
  },
}
SCSS
$custom: #def678;
$custom-light: #eaf9a2;
$custom-dark: #000000;
JSON
{
  "hex": "#def678",
  "rgb": {
    "r": 222,
    "g": 246,
    "b": 120
  },
  "hsl": {
    "h": 71.429,
    "s": 87.5,
    "l": 71.765
  },
  "oklch": {
    "l": 0.9301,
    "c": 0.15379,
    "h": 118.4
  },
  "luminance": 0.82797
}

Semantic roles & 50–950 ramp

primary
#DEF678
secondary
#5C41D1
accent
#01E42D
background
#FFFFFC
surface
#FEFFF6
border
#D6D7D0
text
#16170F
muted
#858580

Preview Lab

Preview with #DEF678

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

Preview Lab → · Contrast checker → · Palette generator →

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