#DEF97E#DEF97E

#DEF97E is a very light, vivid yellow-green. Relative luminance 0.848; OKLCH L 93.7% C 0.152 H 119.7°. Best body text is #000000 at 17.96:1 contrast (WCAG AA passes).

Color values

HEX#DEF97E
RGBrgb(222, 249, 126)
HSLhsl(73, 91%, 74%)
HSVhsv(73, 49%, 98%)
CMYKcmyk(10.8%, 0%, 49.4%, 2.4%)
CIE-LABlab(93.79, -26.56, 55.59)
CIE-LCHlch(93.79, 61.61, 115.54°)
OKLaboklab(93.73% -0.0751 0.132)
OKLCHoklch(93.73% 0.152 119.7)
XYZxyz(67.7663, 84.7876, 32.5302)
Luminance0.8479 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DEF97E #997EF9
analogous
#F9D67E #DEF97E #A0F97E
triadic
#DEF97E #7EDEF9 #F97EDE
tetradic
#DEF97E #7EF9D6 #997EF9 #F97EA0
square
#DEF97E #7EF9D6 #997EF9 #F97EA0
split-complementary
#DEF97E #7EA0F9 #D67EF9
monochromatic
#BFF10B #CFF644 #DEF97E #EDFCB8 #F8FEE2

Accessibility & contrast

On white

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

On black

17.96
#DEF97E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DEF97E
17.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DEF97E#FFFFFF#000000##000000
##DEF97E1.001.1717.9617.96
#FFFFFF1.171.0021.0021.00
#00000017.9621.001.001.00
##00000017.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFED73
Deuteranopia (green-blind)
#FFEE85
Tritanopia (blue-blind)
#E8EEDD
Achromatopsia (no color)
#EDEDED

Design tokens & code

CSS
--color: #def97e;
/* rgb */ color: rgb(222, 249, 126);
/* oklch */ color: oklch(93.7% 0.152 119.7);
Tailwind
colors: {
  custom: {
    50: '#eafba6',
    500: '#def97e',
    950: '#000000',
  },
}
SCSS
$custom: #def97e;
$custom-light: #eafba6;
$custom-dark: #000000;
JSON
{
  "hex": "#def97e",
  "rgb": {
    "r": 222,
    "g": 249,
    "b": 126
  },
  "hsl": {
    "h": 73.171,
    "s": 91.111,
    "l": 73.529
  },
  "oklch": {
    "l": 0.93726,
    "c": 0.15188,
    "h": 119.7
  },
  "luminance": 0.84787
}

Semantic roles & 50–950 ramp

primary
#DEF97E
secondary
#6545D6
accent
#00E632
background
#FFFFFC
surface
#FEFFF6
border
#D6D7D0
text
#161710
muted
#858580

Preview Lab

Preview with #DEF97E

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

Preview Lab → · Contrast checker → · Palette generator →

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