#DEF97A#DEF97A

#DEF97A is a very light, vivid yellow-green. Relative luminance 0.847; OKLCH L 93.7% C 0.156 H 119.5°. Best body text is #000000 at 17.94:1 contrast (WCAG AA passes).

Color values

HEX#DEF97A
RGBrgb(222, 249, 122)
HSLhsl(73, 91%, 73%)
HSVhsv(73, 51%, 98%)
CMYKcmyk(10.8%, 0%, 51%, 2.4%)
CIE-LABlab(93.75, -26.93, 57.37)
CIE-LCHlch(93.75, 63.37, 115.15°)
OKLaboklab(93.68% -0.0765 0.1355)
OKLCHoklch(93.68% 0.156 119.5)
XYZxyz(67.5134, 84.6864, 31.1980)
Luminance0.8469 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DEF97A #957AF9
analogous
#F9D57A #DEF97A #9EF97A
triadic
#DEF97A #7ADEF9 #F97ADE
tetradic
#DEF97A #7AF9D5 #957AF9 #F97A9E
square
#DEF97A #7AF9D5 #957AF9 #F97A9E
split-complementary
#DEF97A #7A9EF9 #D57AF9
monochromatic
#BEEE0B #CFF63F #DEF97A #EDFCB5 #F8FEE2

Accessibility & contrast

On white

1.17
#DEF97A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.94
#DEF97A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DEF97A
17.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DEF97A#FFFFFF#000000##000000
##DEF97A1.001.1717.9417.94
#FFFFFF1.171.0021.0021.00
#00000017.9421.001.001.00
##00000017.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFED6E
Deuteranopia (green-blind)
#FFED81
Tritanopia (blue-blind)
#E8EEDC
Achromatopsia (no color)
#EDEDED

Design tokens & code

CSS
--color: #def97a;
/* rgb */ color: rgb(222, 249, 122);
/* oklch */ color: oklch(93.7% 0.156 119.5);
Tailwind
colors: {
  custom: {
    50: '#eafba3',
    500: '#def97a',
    950: '#000000',
  },
}
SCSS
$custom: #def97a;
$custom-light: #eafba3;
$custom-dark: #000000;
JSON
{
  "hex": "#def97a",
  "rgb": {
    "r": 222,
    "g": 249,
    "b": 122
  },
  "hsl": {
    "h": 72.756,
    "s": 91.367,
    "l": 72.745
  },
  "oklch": {
    "l": 0.93676,
    "c": 0.15565,
    "h": 119.5
  },
  "luminance": 0.84686
}

Semantic roles & 50–950 ramp

primary
#DEF97A
secondary
#6142D5
accent
#00E631
background
#FFFFFC
surface
#FEFFF6
border
#D6D7D0
text
#16170F
muted
#858580

Preview Lab

Preview with #DEF97A

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

Preview Lab → · Contrast checker → · Palette generator →

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