#DEFA97#DEFA97

#DEFA97 is a very light, vivid yellow-green. Relative luminance 0.861; OKLCH L 94.3% C 0.128 H 121.8°. Best body text is #000000 at 18.23:1 contrast (WCAG AA passes).

Color values

HEX#DEFA97
RGBrgb(222, 250, 151)
HSLhsl(77, 91%, 79%)
HSVhsv(77, 40%, 98%)
CMYKcmyk(11.2%, 0%, 39.6%, 2%)
CIE-LABlab(94.37, -24.42, 44.46)
CIE-LCHlch(94.37, 50.72, 118.78°)
OKLaboklab(94.29% -0.0673 0.1086)
OKLCHoklch(94.29% 0.128 121.8)
XYZxyz(69.8956, 86.1352, 42.2157)
Luminance0.8613 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DEFA97 #B397FA
analogous
#FAE597 #DEFA97 #ACFA97
triadic
#DEFA97 #97DEFA #FA97DE
tetradic
#DEFA97 #97FAE5 #B397FA #FA97AC
square
#DEFA97 #97FAE5 #B397FA #FA97AC
split-complementary
#DEFA97 #97ACFA #E597FA
monochromatic
#B9F422 #CBF75D #DEFA97 #F1FDD1 #F6FEE2

Accessibility & contrast

On white

1.15
#DEFA97 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.23
#DEFA97 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DEFA97
18.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DEFA97#FFFFFF#000000##000000
##DEFA971.001.1518.2318.23
#FFFFFF1.151.0021.0021.00
#00000018.2321.001.001.00
##00000018.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEF8F
Deuteranopia (green-blind)
#FFEF9C
Tritanopia (blue-blind)
#E6F1E2
Achromatopsia (no color)
#EFEFEF

Design tokens & code

CSS
--color: #defa97;
/* rgb */ color: rgb(222, 250, 151);
/* oklch */ color: oklch(94.3% 0.128 121.8);
Tailwind
colors: {
  custom: {
    50: '#e9fcb7',
    500: '#defa97',
    950: '#000000',
  },
}
SCSS
$custom: #defa97;
$custom-light: #e9fcb7;
$custom-dark: #000000;
JSON
{
  "hex": "#defa97",
  "rgb": {
    "r": 222,
    "g": 250,
    "b": 151
  },
  "hsl": {
    "h": 76.97,
    "s": 90.826,
    "l": 78.627
  },
  "oklch": {
    "l": 0.94291,
    "c": 0.12776,
    "h": 121.8
  },
  "luminance": 0.86135
}

Semantic roles & 50–950 ramp

primary
#DEFA97
secondary
#7F5BDA
accent
#00E641
background
#FEFFFD
surface
#FDFFF8
border
#D5D7D1
text
#161711
muted
#848581

Preview Lab

Preview with #DEFA97

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

Preview Lab → · Contrast checker → · Palette generator →

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