#DEF2BC#DEF2BC

#DEF2BC is a very light, moderate yellow-green. Relative luminance 0.827; OKLCH L 93.3% C 0.074 H 124.3°. Best body text is #000000 at 17.53:1 contrast (WCAG AA passes).

Color values

HEX#DEF2BC
RGBrgb(222, 242, 188)
HSLhsl(82, 68%, 84%)
HSVhsv(82, 22%, 95%)
CMYKcmyk(8.3%, 0%, 22.3%, 5.1%)
CIE-LABlab(92.87, -15.68, 23.93)
CIE-LCHlch(92.87, 28.61, 123.24°)
OKLaboklab(93.29% -0.0416 0.0609)
OKLCHoklch(93.29% 0.074 124.3)
XYZxyz(70.9523, 82.6645, 59.7851)
Luminance0.8266 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DEF2BC #D0BCF2
analogous
#F2EBBC #DEF2BC #C3F2BC
triadic
#DEF2BC #BCDEF2 #F2BCDE
tetradic
#DEF2BC #BCF2EB #D0BCF2 #F2BCC3
square
#DEF2BC #BCF2EB #D0BCF2 #F2BCC3
split-complementary
#DEF2BC #BCC3F2 #EBBCF2
monochromatic
#ACDE55 #C5E889 #DEF2BC #F2FAE5 #F2FAE5

Accessibility & contrast

On white

1.20
#DEF2BC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.53
#DEF2BC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DEF2BC
17.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DEF2BC#FFFFFF#000000##000000
##DEF2BC1.001.2017.5317.53
#FFFFFF1.201.0021.0021.00
#00000017.5321.001.001.00
##00000017.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#F8EBB9
Deuteranopia (green-blind)
#F6EABE
Tritanopia (blue-blind)
#E2EDE3
Achromatopsia (no color)
#EAEAEA

Design tokens & code

CSS
--color: #def2bc;
/* rgb */ color: rgb(222, 242, 188);
/* oklch */ color: oklch(93.3% 0.074 124.3);
Tailwind
colors: {
  custom: {
    50: '#e8f6d0',
    500: '#def2bc',
    950: '#000000',
  },
}
SCSS
$custom: #def2bc;
$custom-light: #e8f6d0;
$custom-dark: #000000;
JSON
{
  "hex": "#def2bc",
  "rgb": {
    "r": 222,
    "g": 242,
    "b": 188
  },
  "hsl": {
    "h": 82.222,
    "s": 67.5,
    "l": 84.314
  },
  "oklch": {
    "l": 0.9329,
    "c": 0.07379,
    "h": 124.3
  },
  "luminance": 0.82665
}

Semantic roles & 50–950 ramp

primary
#DEF2BC
secondary
#9F81D2
accent
#16CF5B
background
#FEFFFE
surface
#FCFEFB
border
#D5D6D4
text
#161714
muted
#848583

Preview Lab

Preview with #DEF2BC

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

Preview Lab → · Contrast checker → · Palette generator →

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