#DEF97F#DEF97F

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

Color values

HEX#DEF97F
RGBrgb(222, 249, 127)
HSLhsl(73, 91%, 74%)
HSVhsv(73, 49%, 98%)
CMYKcmyk(10.8%, 0%, 49%, 2.4%)
CIE-LABlab(93.80, -26.47, 55.15)
CIE-LCHlch(93.80, 61.17, 115.64°)
OKLaboklab(93.74% -0.0748 0.1311)
OKLCHoklch(93.74% 0.151 119.7)
XYZxyz(67.8312, 84.8135, 32.8718)
Luminance0.8481 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DEF97F #9A7FF9
analogous
#F9D77F #DEF97F #A1F97F
triadic
#DEF97F #7FDEF9 #F97FDE
tetradic
#DEF97F #7FF9D7 #9A7FF9 #F97FA1
square
#DEF97F #7FF9D7 #9A7FF9 #F97FA1
split-complementary
#DEF97F #7FA1F9 #D77FF9
monochromatic
#BFF20B #CFF645 #DEF97F #EDFCB9 #F7FEE2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##DEF97F#FFFFFF#000000##000000
##DEF97F1.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)
#FFED74
Deuteranopia (green-blind)
#FFEE86
Tritanopia (blue-blind)
#E8EEDD
Achromatopsia (no color)
#EDEDED

Design tokens & code

CSS
--color: #def97f;
/* rgb */ color: rgb(222, 249, 127);
/* oklch */ color: oklch(93.7% 0.151 119.7);
Tailwind
colors: {
  custom: {
    50: '#eafba7',
    500: '#def97f',
    950: '#000000',
  },
}
SCSS
$custom: #def97f;
$custom-light: #eafba7;
$custom-dark: #000000;
JSON
{
  "hex": "#def97f",
  "rgb": {
    "r": 222,
    "g": 249,
    "b": 127
  },
  "hsl": {
    "h": 73.279,
    "s": 91.045,
    "l": 73.725
  },
  "oklch": {
    "l": 0.93738,
    "c": 0.15092,
    "h": 119.7
  },
  "luminance": 0.84813
}

Semantic roles & 50–950 ramp

primary
#DEF97F
secondary
#6646D6
accent
#00E633
background
#FFFFFC
surface
#FEFFF6
border
#D6D7D0
text
#161710
muted
#858580

Preview Lab

Preview with #DEF97F

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

Preview Lab → · Contrast checker → · Palette generator →

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