#DEF78B#DEF78B

#DEF78B is a very light, vivid yellow-green. Relative luminance 0.839; OKLCH L 93.5% C 0.136 H 119.8°. Best body text is #000000 at 17.78:1 contrast (WCAG AA passes).

Color values

HEX#DEF78B
RGBrgb(222, 247, 139)
HSLhsl(74, 87%, 76%)
HSVhsv(74, 44%, 97%)
CMYKcmyk(10.1%, 0%, 43.7%, 3.1%)
CIE-LABlab(93.41, -24.32, 49.04)
CIE-LCHlch(93.41, 54.74, 116.38°)
OKLaboklab(93.47% -0.0678 0.1184)
OKLCHoklch(93.47% 0.136 119.8)
XYZxyz(68.0454, 83.9154, 37.0337)
Luminance0.8391 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DEF78B #A48BF7
analogous
#F7DA8B #DEF78B #A8F78B
triadic
#DEF78B #8BDEF7 #F78BDE
tetradic
#DEF78B #8BF7DA #A48BF7 #F78BA8
square
#DEF78B #8BF7DA #A48BF7 #F78BA8
split-complementary
#DEF78B #8BA8F7 #DA8BF7
monochromatic
#BDEF18 #CEF352 #DEF78B #EEFBC4 #F7FDE2

Accessibility & contrast

On white

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

On black

17.78
#DEF78B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DEF78B
17.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DEF78B#FFFFFF#000000##000000
##DEF78B1.001.1817.7817.78
#FFFFFF1.181.0021.0021.00
#00000017.7821.001.001.00
##00000017.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEC82
Deuteranopia (green-blind)
#FFEC91
Tritanopia (blue-blind)
#E7EDDD
Achromatopsia (no color)
#ECECEC

Design tokens & code

CSS
--color: #def78b;
/* rgb */ color: rgb(222, 247, 139);
/* oklch */ color: oklch(93.5% 0.136 119.8);
Tailwind
colors: {
  custom: {
    50: '#eaf9ae',
    500: '#def78b',
    950: '#000000',
  },
}
SCSS
$custom: #def78b;
$custom-light: #eaf9ae;
$custom-dark: #000000;
JSON
{
  "hex": "#def78b",
  "rgb": {
    "r": 222,
    "g": 247,
    "b": 139
  },
  "hsl": {
    "h": 73.889,
    "s": 87.097,
    "l": 75.686
  },
  "oklch": {
    "l": 0.93473,
    "c": 0.13639,
    "h": 119.8
  },
  "luminance": 0.83915
}

Semantic roles & 50–950 ramp

primary
#DEF78B
secondary
#7051D5
accent
#02E436
background
#FFFFFD
surface
#FEFFF7
border
#D6D7D0
text
#161710
muted
#858581

Preview Lab

Preview with #DEF78B

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

Preview Lab → · Contrast checker → · Palette generator →

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