#DEF97C#DEF97C

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

Color values

HEX#DEF97C
RGBrgb(222, 249, 124)
HSLhsl(73, 91%, 73%)
HSVhsv(73, 50%, 98%)
CMYKcmyk(10.8%, 0%, 50.2%, 2.4%)
CIE-LABlab(93.77, -26.75, 56.48)
CIE-LCHlch(93.77, 62.50, 115.34°)
OKLaboklab(93.7% -0.0758 0.1338)
OKLCHoklch(93.7% 0.154 119.5)
XYZxyz(67.6386, 84.7365, 31.8574)
Luminance0.8474 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DEF97C #977CF9
analogous
#F9D57C #DEF97C #9FF97C
triadic
#DEF97C #7CDEF9 #F97CDE
tetradic
#DEF97C #7CF9D5 #977CF9 #F97C9F
square
#DEF97C #7CF9D5 #977CF9 #F97C9F
split-complementary
#DEF97C #7C9FF9 #D57CF9
monochromatic
#BEF00B #CFF641 #DEF97C #EDFCB7 #F8FEE2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##DEF97C#FFFFFF#000000##000000
##DEF97C1.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)
#FFED71
Deuteranopia (green-blind)
#FFEE83
Tritanopia (blue-blind)
#E8EEDD
Achromatopsia (no color)
#EDEDED

Design tokens & code

CSS
--color: #def97c;
/* rgb */ color: rgb(222, 249, 124);
/* oklch */ color: oklch(93.7% 0.154 119.5);
Tailwind
colors: {
  custom: {
    50: '#eafba5',
    500: '#def97c',
    950: '#000000',
  },
}
SCSS
$custom: #def97c;
$custom-light: #eafba5;
$custom-dark: #000000;
JSON
{
  "hex": "#def97c",
  "rgb": {
    "r": 222,
    "g": 249,
    "b": 124
  },
  "hsl": {
    "h": 72.96,
    "s": 91.241,
    "l": 73.137
  },
  "oklch": {
    "l": 0.93701,
    "c": 0.15378,
    "h": 119.5
  },
  "luminance": 0.84736
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #DEF97C

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

Preview Lab → · Contrast checker → · Palette generator →

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