#DEF97D#DEF97D

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

Color values

HEX#DEF97D
RGBrgb(222, 249, 125)
HSLhsl(73, 91%, 73%)
HSVhsv(73, 50%, 98%)
CMYKcmyk(10.8%, 0%, 49.8%, 2.4%)
CIE-LABlab(93.78, -26.65, 56.04)
CIE-LCHlch(93.78, 62.05, 115.44°)
OKLaboklab(93.71% -0.0755 0.1329)
OKLCHoklch(93.71% 0.153 119.6)
XYZxyz(67.7021, 84.7619, 32.1921)
Luminance0.8476 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DEF97D #987DF9
analogous
#F9D67D #DEF97D #A0F97D
triadic
#DEF97D #7DDEF9 #F97DDE
tetradic
#DEF97D #7DF9D6 #987DF9 #F97DA0
square
#DEF97D #7DF9D6 #987DF9 #F97DA0
split-complementary
#DEF97D #7DA0F9 #D67DF9
monochromatic
#BFF00B #CFF642 #DEF97D #EDFCB7 #F8FEE2

Accessibility & contrast

On white

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

On black

17.95
#DEF97D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DEF97D
17.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DEF97D#FFFFFF#000000##000000
##DEF97D1.001.1717.9517.95
#FFFFFF1.171.0021.0021.00
#00000017.9521.001.001.00
##00000017.9521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #def97d;
/* rgb */ color: rgb(222, 249, 125);
/* oklch */ color: oklch(93.7% 0.153 119.6);
Tailwind
colors: {
  custom: {
    50: '#eafba5',
    500: '#def97d',
    950: '#000000',
  },
}
SCSS
$custom: #def97d;
$custom-light: #eafba5;
$custom-dark: #000000;
JSON
{
  "hex": "#def97d",
  "rgb": {
    "r": 222,
    "g": 249,
    "b": 125
  },
  "hsl": {
    "h": 73.065,
    "s": 91.176,
    "l": 73.333
  },
  "oklch": {
    "l": 0.93713,
    "c": 0.15283,
    "h": 119.6
  },
  "luminance": 0.84762
}

Semantic roles & 50–950 ramp

primary
#DEF97D
secondary
#6444D6
accent
#00E632
background
#FFFFFC
surface
#FEFFF6
border
#D6D7D0
text
#16170F
muted
#858580

Preview Lab

Preview with #DEF97D

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

Preview Lab → · Contrast checker → · Palette generator →

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