#DEFD78#DEFD78

#DEFD78 is a very light, vivid yellow-green. Relative luminance 0.871; OKLCH L 94.5% C 0.162 H 120.5°. Best body text is #000000 at 18.43:1 contrast (WCAG AA passes).

Color values

HEX#DEFD78
RGBrgb(222, 253, 120)
HSLhsl(74, 97%, 73%)
HSVhsv(74, 53%, 99%)
CMYKcmyk(12.3%, 0%, 52.6%, 0.8%)
CIE-LABlab(94.80, -28.98, 59.50)
CIE-LCHlch(94.80, 66.18, 115.97°)
OKLaboklab(94.51% -0.0825 0.14)
OKLCHoklch(94.51% 0.162 120.5)
XYZxyz(68.6402, 87.1364, 30.9686)
Luminance0.8714 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DEFD78 #9778FD
analogous
#FDD978 #DEFD78 #9BFD78
triadic
#DEFD78 #78DEFD #FD78DE
tetradic
#DEFD78 #78FDD9 #9778FD #FD789B
square
#DEFD78 #78FDD9 #9778FD #FD789B
split-complementary
#DEFD78 #789BFD #D978FD
monochromatic
#BEF704 #CFFC3C #DEFD78 #EDFEB4 #F8FFE1

Accessibility & contrast

On white

1.14
#DEFD78 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.43
#DEFD78 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DEFD78
18.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DEFD78#FFFFFF#000000##000000
##DEFD781.001.1418.4318.43
#FFFFFF1.141.0021.0021.00
#00000018.4321.001.001.00
##00000018.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF06B
Deuteranopia (green-blind)
#FFF080
Tritanopia (blue-blind)
#E8F2DF
Achromatopsia (no color)
#F0F0F0

Design tokens & code

CSS
--color: #defd78;
/* rgb */ color: rgb(222, 253, 120);
/* oklch */ color: oklch(94.5% 0.162 120.5);
Tailwind
colors: {
  custom: {
    50: '#eafea2',
    500: '#defd78',
    950: '#000000',
  },
}
SCSS
$custom: #defd78;
$custom-light: #eafea2;
$custom-dark: #000000;
JSON
{
  "hex": "#defd78",
  "rgb": {
    "r": 222,
    "g": 253,
    "b": 120
  },
  "hsl": {
    "h": 73.985,
    "s": 97.08,
    "l": 73.137
  },
  "oklch": {
    "l": 0.94511,
    "c": 0.16248,
    "h": 120.5
  },
  "luminance": 0.87136
}

Semantic roles & 50–950 ramp

primary
#DEFD78
secondary
#633FDA
accent
#00E635
background
#FFFFFC
surface
#FEFFF6
border
#D6D7D0
text
#16170F
muted
#858580

Preview Lab

Preview with #DEFD78

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

Preview Lab → · Contrast checker → · Palette generator →

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