#DEFA78#DEFA78

#DEFA78 is a very light, vivid yellow-green. Relative luminance 0.853; OKLCH L 93.9% C 0.159 H 119.6°. Best body text is #000000 at 18.05:1 contrast (WCAG AA passes).

Color values

HEX#DEFA78
RGBrgb(222, 250, 120)
HSLhsl(73, 93%, 73%)
HSVhsv(73, 52%, 98%)
CMYKcmyk(11.2%, 0%, 52%, 2%)
CIE-LABlab(93.99, -27.58, 58.56)
CIE-LCHlch(93.99, 64.73, 115.22°)
OKLaboklab(93.87% -0.0785 0.138)
OKLCHoklch(93.87% 0.159 119.6)
XYZxyz(67.7006, 85.2572, 30.6554)
Luminance0.8526 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DEFA78 #9478FA
analogous
#FAD578 #DEFA78 #9DFA78
triadic
#DEFA78 #78DEFA #FA78DE
tetradic
#DEFA78 #78FAD5 #9478FA #FA789D
square
#DEFA78 #78FAD5 #9478FA #FA789D
split-complementary
#DEFA78 #789DFA #D578FA
monochromatic
#BDEF09 #D0F83D #DEFA78 #ECFCB3 #F8FEE1

Accessibility & contrast

On white

1.16
#DEFA78 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.05
#DEFA78 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DEFA78
18.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DEFA78#FFFFFF#000000##000000
##DEFA781.001.1618.0518.05
#FFFFFF1.161.0021.0021.00
#00000018.0521.001.001.00
##00000018.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEE6C
Deuteranopia (green-blind)
#FFEE80
Tritanopia (blue-blind)
#E8EFDD
Achromatopsia (no color)
#EEEEEE

Design tokens & code

CSS
--color: #defa78;
/* rgb */ color: rgb(222, 250, 120);
/* oklch */ color: oklch(93.9% 0.159 119.6);
Tailwind
colors: {
  custom: {
    50: '#eafca2',
    500: '#defa78',
    950: '#000000',
  },
}
SCSS
$custom: #defa78;
$custom-light: #eafca2;
$custom-dark: #000000;
JSON
{
  "hex": "#defa78",
  "rgb": {
    "r": 222,
    "g": 250,
    "b": 120
  },
  "hsl": {
    "h": 72.923,
    "s": 92.857,
    "l": 72.549
  },
  "oklch": {
    "l": 0.93867,
    "c": 0.15874,
    "h": 119.6
  },
  "luminance": 0.85257
}

Semantic roles & 50–950 ramp

primary
#DEFA78
secondary
#6040D6
accent
#00E631
background
#FFFFFC
surface
#FEFFF6
border
#D6D7D0
text
#16170F
muted
#858580

Preview Lab

Preview with #DEFA78

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

Preview Lab → · Contrast checker → · Palette generator →

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