#DEF8BC#DEF8BC

#DEF8BC is a very light, moderate yellow-green. Relative luminance 0.863; OKLCH L 94.5% C 0.083 H 127.0°. Best body text is #000000 at 18.26:1 contrast (WCAG AA passes).

Color values

HEX#DEF8BC
RGBrgb(222, 248, 188)
HSLhsl(86, 81%, 85%)
HSVhsv(86, 24%, 97%)
CMYKcmyk(10.5%, 0%, 24.2%, 2.7%)
CIE-LABlab(94.44, -18.62, 26.09)
CIE-LCHlch(94.44, 32.05, 125.52°)
OKLaboklab(94.54% -0.0498 0.0662)
OKLCHoklch(94.54% 0.083 127)
XYZxyz(72.7674, 86.2948, 60.3902)
Luminance0.8629 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DEF8BC #D6BCF8
analogous
#F8F4BC #DEF8BC #C0F8BC
triadic
#DEF8BC #BCDEF8 #F8BCDE
tetradic
#DEF8BC #BCF8F4 #D6BCF8 #F8BCC0
square
#DEF8BC #BCF8F4 #D6BCF8 #F8BCC0
split-complementary
#DEF8BC #BCC0F8 #F4BCF8
monochromatic
#A7EC4D #C3F285 #DEF8BC #F1FCE3 #F1FCE3

Accessibility & contrast

On white

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

On black

18.26
#DEF8BC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DEF8BC
18.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DEF8BC#FFFFFF#000000##000000
##DEF8BC1.001.1518.2618.26
#FFFFFF1.151.0021.0021.00
#00000018.2621.001.001.00
##00000018.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF0B8
Deuteranopia (green-blind)
#FBEFBF
Tritanopia (blue-blind)
#E1F2E8
Achromatopsia (no color)
#EFEFEF

Design tokens & code

CSS
--color: #def8bc;
/* rgb */ color: rgb(222, 248, 188);
/* oklch */ color: oklch(94.5% 0.083 127.0);
Tailwind
colors: {
  custom: {
    50: '#e8fad0',
    500: '#def8bc',
    950: '#000000',
  },
}
SCSS
$custom: #def8bc;
$custom-light: #e8fad0;
$custom-dark: #000000;
JSON
{
  "hex": "#def8bc",
  "rgb": {
    "r": 222,
    "g": 248,
    "b": 188
  },
  "hsl": {
    "h": 86,
    "s": 81.081,
    "l": 85.49
  },
  "oklch": {
    "l": 0.9454,
    "c": 0.08287,
    "h": 127
  },
  "luminance": 0.86295
}

Semantic roles & 50–950 ramp

primary
#DEF8BC
secondary
#A67DDB
accent
#08DD65
background
#FEFFFE
surface
#FCFFFB
border
#D5D7D4
text
#161714
muted
#848583

Preview Lab

Preview with #DEF8BC

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

Preview Lab → · Contrast checker → · Palette generator →

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