#DEF7BC#DEF7BC

#DEF7BC is a very light, moderate yellow-green. Relative luminance 0.857; OKLCH L 94.3% C 0.081 H 126.6°. Best body text is #000000 at 18.14:1 contrast (WCAG AA passes).

Color values

HEX#DEF7BC
RGBrgb(222, 247, 188)
HSLhsl(85, 79%, 85%)
HSVhsv(85, 24%, 97%)
CMYKcmyk(10.1%, 0%, 23.9%, 3.1%)
CIE-LABlab(94.18, -18.13, 25.73)
CIE-LCHlch(94.18, 31.48, 125.18°)
OKLaboklab(94.33% -0.0485 0.0653)
OKLCHoklch(94.33% 0.081 126.6)
XYZxyz(72.4608, 85.6816, 60.2879)
Luminance0.8568 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DEF7BC #D5BCF7
analogous
#F7F3BC #DEF7BC #C0F7BC
triadic
#DEF7BC #BCDEF7 #F7BCDE
tetradic
#DEF7BC #BCF7F3 #D5BCF7 #F7BCC0
square
#DEF7BC #BCF7F3 #D5BCF7 #F7BCC0
split-complementary
#DEF7BC #BCC0F7 #F3BCF7
monochromatic
#A8EA4F #C3F085 #DEF7BC #F2FCE4 #F2FCE4

Accessibility & contrast

On white

1.16
#DEF7BC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.14
#DEF7BC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DEF7BC
18.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DEF7BC#FFFFFF#000000##000000
##DEF7BC1.001.1618.1418.14
#FFFFFF1.161.0021.0021.00
#00000018.1421.001.001.00
##00000018.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#FEEFB8
Deuteranopia (green-blind)
#FAEEBF
Tritanopia (blue-blind)
#E1F1E7
Achromatopsia (no color)
#EEEEEE

Design tokens & code

CSS
--color: #def7bc;
/* rgb */ color: rgb(222, 247, 188);
/* oklch */ color: oklch(94.3% 0.081 126.6);
Tailwind
colors: {
  custom: {
    50: '#e8f9d0',
    500: '#def7bc',
    950: '#000000',
  },
}
SCSS
$custom: #def7bc;
$custom-light: #e8f9d0;
$custom-dark: #000000;
JSON
{
  "hex": "#def7bc",
  "rgb": {
    "r": 222,
    "g": 247,
    "b": 188
  },
  "hsl": {
    "h": 85.424,
    "s": 78.667,
    "l": 85.294
  },
  "oklch": {
    "l": 0.94331,
    "c": 0.08136,
    "h": 126.6
  },
  "luminance": 0.85682
}

Semantic roles & 50–950 ramp

primary
#DEF7BC
secondary
#A57EDA
accent
#0BDB63
background
#FEFFFE
surface
#FCFFFB
border
#D5D7D4
text
#161714
muted
#848583

Preview Lab

Preview with #DEF7BC

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

Preview Lab → · Contrast checker → · Palette generator →

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