#DEFB8A#DEFB8A

#DEFB8A is a very light, vivid yellow-green. Relative luminance 0.864; OKLCH L 94.3% C 0.143 H 121.0°. Best body text is #000000 at 18.27:1 contrast (WCAG AA passes).

Color values

HEX#DEFB8A
RGBrgb(222, 251, 138)
HSLhsl(75, 93%, 76%)
HSVhsv(75, 45%, 98%)
CMYKcmyk(11.6%, 0%, 45%, 1.6%)
CIE-LABlab(94.47, -26.32, 50.81)
CIE-LCHlch(94.47, 57.23, 117.38°)
OKLaboklab(94.31% -0.0735 0.1223)
OKLCHoklch(94.31% 0.143 121)
XYZxyz(69.2091, 86.3590, 37.0627)
Luminance0.8636 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DEFB8A #A78AFB
analogous
#FBE08A #DEFB8A #A6FB8A
triadic
#DEFB8A #8ADEFB #FB8ADE
tetradic
#DEFB8A #8AFBE0 #A78AFB #FB8AA6
square
#DEFB8A #8AFBE0 #A78AFB #FB8AA6
split-complementary
#DEFB8A #8AA6FB #E08AFB
monochromatic
#BDF714 #CDF94F #DEFB8A #EFFDC5 #F7FEE1

Accessibility & contrast

On white

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

On black

18.27
#DEFB8A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DEFB8A
18.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DEFB8A#FFFFFF#000000##000000
##DEFB8A1.001.1518.2718.27
#FFFFFF1.151.0021.0021.00
#00000018.2721.001.001.00
##00000018.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF081
Deuteranopia (green-blind)
#FFEF90
Tritanopia (blue-blind)
#E7F1E0
Achromatopsia (no color)
#EFEFEF

Design tokens & code

CSS
--color: #defb8a;
/* rgb */ color: rgb(222, 251, 138);
/* oklch */ color: oklch(94.3% 0.143 121.0);
Tailwind
colors: {
  custom: {
    50: '#eafcae',
    500: '#defb8a',
    950: '#000000',
  },
}
SCSS
$custom: #defb8a;
$custom-light: #eafcae;
$custom-dark: #000000;
JSON
{
  "hex": "#defb8a",
  "rgb": {
    "r": 222,
    "g": 251,
    "b": 138
  },
  "hsl": {
    "h": 75.398,
    "s": 93.388,
    "l": 76.275
  },
  "oklch": {
    "l": 0.94312,
    "c": 0.14266,
    "h": 121
  },
  "luminance": 0.86359
}

Semantic roles & 50–950 ramp

primary
#DEFB8A
secondary
#734FDA
accent
#00E63B
background
#FFFFFD
surface
#FEFFF7
border
#D6D7D0
text
#161710
muted
#858581

Preview Lab

Preview with #DEFB8A

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

Preview Lab → · Contrast checker → · Palette generator →

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