#DEFA98#DEFA98

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

Color values

HEX#DEFA98
RGBrgb(222, 250, 152)
HSLhsl(77, 91%, 79%)
HSVhsv(77, 39%, 98%)
CMYKcmyk(11.2%, 0%, 39.2%, 2%)
CIE-LABlab(94.38, -24.31, 43.99)
CIE-LCHlch(94.38, 50.26, 118.93°)
OKLaboklab(94.31% -0.0669 0.1076)
OKLCHoklch(94.31% 0.127 121.9)
XYZxyz(69.9772, 86.1678, 42.6452)
Luminance0.8617 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DEFA98 #B498FA
analogous
#FAE598 #DEFA98 #ADFA98
triadic
#DEFA98 #98DEFA #FA98DE
tetradic
#DEFA98 #98FAE5 #B498FA #FA98AD
square
#DEFA98 #98FAE5 #B498FA #FA98AD
split-complementary
#DEFA98 #98ADFA #E598FA
monochromatic
#B9F423 #CBF75E #DEFA98 #F1FDD2 #F6FEE2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##DEFA98#FFFFFF#000000##000000
##DEFA981.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)
#FFEF91
Deuteranopia (green-blind)
#FFEF9D
Tritanopia (blue-blind)
#E6F1E2
Achromatopsia (no color)
#EFEFEF

Design tokens & code

CSS
--color: #defa98;
/* rgb */ color: rgb(222, 250, 152);
/* oklch */ color: oklch(94.3% 0.127 121.9);
Tailwind
colors: {
  custom: {
    50: '#e9fcb7',
    500: '#defa98',
    950: '#000000',
  },
}
SCSS
$custom: #defa98;
$custom-light: #e9fcb7;
$custom-dark: #000000;
JSON
{
  "hex": "#defa98",
  "rgb": {
    "r": 222,
    "g": 250,
    "b": 152
  },
  "hsl": {
    "h": 77.143,
    "s": 90.741,
    "l": 78.824
  },
  "oklch": {
    "l": 0.94306,
    "c": 0.12669,
    "h": 121.9
  },
  "luminance": 0.86168
}

Semantic roles & 50–950 ramp

primary
#DEFA98
secondary
#805CDB
accent
#00E642
background
#FEFFFD
surface
#FDFFF8
border
#D5D7D1
text
#161711
muted
#848581

Preview Lab

Preview with #DEFA98

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

Preview Lab → · Contrast checker → · Palette generator →

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