#DEF78E#DEF78E

#DEF78E is a very light, vivid yellow-green. Relative luminance 0.840; OKLCH L 93.5% C 0.133 H 120.0°. Best body text is #000000 at 17.80:1 contrast (WCAG AA passes).

Color values

HEX#DEF78E
RGBrgb(222, 247, 142)
HSLhsl(74, 87%, 76%)
HSVhsv(74, 43%, 97%)
CMYKcmyk(10.1%, 0%, 42.5%, 3.1%)
CIE-LABlab(93.45, -24.00, 47.65)
CIE-LCHlch(93.45, 53.35, 116.73°)
OKLaboklab(93.52% -0.0667 0.1154)
OKLCHoklch(93.52% 0.133 120)
XYZxyz(68.2677, 84.0043, 38.2040)
Luminance0.8400 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DEF78E #A78EF7
analogous
#F7DC8E #DEF78E #AAF78E
triadic
#DEF78E #8EDEF7 #F78EDE
tetradic
#DEF78E #8EF7DC #A78EF7 #F78EAA
square
#DEF78E #8EF7DC #A78EF7 #F78EAA
split-complementary
#DEF78E #8EAAF7 #DC8EF7
monochromatic
#BDEF1C #CDF355 #DEF78E #EFFBC7 #F7FDE2

Accessibility & contrast

On white

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

On black

17.80
#DEF78E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DEF78E
17.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DEF78E#FFFFFF#000000##000000
##DEF78E1.001.1817.8017.80
#FFFFFF1.181.0021.0021.00
#00000017.8021.001.001.00
##00000017.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEC86
Deuteranopia (green-blind)
#FFED93
Tritanopia (blue-blind)
#E7EDDE
Achromatopsia (no color)
#ECECEC

Design tokens & code

CSS
--color: #def78e;
/* rgb */ color: rgb(222, 247, 142);
/* oklch */ color: oklch(93.5% 0.133 120.0);
Tailwind
colors: {
  custom: {
    50: '#eaf9b1',
    500: '#def78e',
    950: '#000000',
  },
}
SCSS
$custom: #def78e;
$custom-light: #eaf9b1;
$custom-dark: #000000;
JSON
{
  "hex": "#def78e",
  "rgb": {
    "r": 222,
    "g": 247,
    "b": 142
  },
  "hsl": {
    "h": 74.286,
    "s": 86.777,
    "l": 76.275
  },
  "oklch": {
    "l": 0.93517,
    "c": 0.13328,
    "h": 120
  },
  "luminance": 0.84004
}

Semantic roles & 50–950 ramp

primary
#DEF78E
secondary
#7354D5
accent
#02E338
background
#FEFFFD
surface
#FDFFF8
border
#D5D7D1
text
#161711
muted
#848581

Preview Lab

Preview with #DEF78E

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

Preview Lab → · Contrast checker → · Palette generator →

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