#DEFF7B#DEFF7B

#DEFF7B is a very light, vivid yellow-green. Relative luminance 0.885; OKLCH L 95.0% C 0.162 H 121.2°. Best body text is #000000 at 18.70:1 contrast (WCAG AA passes).

Color values

HEX#DEFF7B
RGBrgb(222, 255, 123)
HSLhsl(75, 100%, 74%)
HSVhsv(75, 52%, 100%)
CMYKcmyk(12.9%, 0%, 51.8%, 0%)
CIE-LABlab(95.36, -29.64, 58.82)
CIE-LCHlch(95.36, 65.87, 116.75°)
OKLaboklab(94.98% -0.0841 0.1388)
OKLCHoklch(94.98% 0.162 121.2)
XYZxyz(69.4598, 88.4797, 32.1541)
Luminance0.8848 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DEFF7B #9C7BFF
analogous
#FFDE7B #DEFF7B #9CFF7B
triadic
#DEFF7B #7BDEFF #FF7BDE
tetradic
#DEFF7B #7BFFDE #9C7BFF #FF7B9C
square
#DEFF7B #7BFFDE #9C7BFF #FF7B9C
split-complementary
#DEFF7B #7B9CFF #DE7BFF
monochromatic
#BFFF01 #CFFF3E #DEFF7B #EDFFB8 #F7FFE0

Accessibility & contrast

On white

1.12
#DEFF7B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.70
#DEFF7B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DEFF7B
18.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DEFF7B#FFFFFF#000000##000000
##DEFF7B1.001.1218.7018.70
#FFFFFF1.121.0021.0021.00
#00000018.7021.001.001.00
##00000018.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF26E
Deuteranopia (green-blind)
#FFF283
Tritanopia (blue-blind)
#E8F4E1
Achromatopsia (no color)
#F2F2F2

Design tokens & code

CSS
--color: #deff7b;
/* rgb */ color: rgb(222, 255, 123);
/* oklch */ color: oklch(95.0% 0.162 121.2);
Tailwind
colors: {
  custom: {
    50: '#eaffa4',
    500: '#deff7b',
    950: '#000000',
  },
}
SCSS
$custom: #deff7b;
$custom-light: #eaffa4;
$custom-dark: #000000;
JSON
{
  "hex": "#deff7b",
  "rgb": {
    "r": 222,
    "g": 255,
    "b": 123
  },
  "hsl": {
    "h": 75,
    "s": 100,
    "l": 74.118
  },
  "oklch": {
    "l": 0.94976,
    "c": 0.16226,
    "h": 121.2
  },
  "luminance": 0.8848
}

Semantic roles & 50–950 ramp

primary
#DEFF7B
secondary
#6841DD
accent
#00E639
background
#FFFFFC
surface
#FEFFF6
border
#D6D7D0
text
#16180F
muted
#858680

Preview Lab

Preview with #DEFF7B

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

Preview Lab → · Contrast checker → · Palette generator →

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