#DEF9BC#DEF9BC

#DEF9BC is a very light, moderate yellow-green. Relative luminance 0.869; OKLCH L 94.7% C 0.084 H 127.3°. Best body text is #000000 at 18.38:1 contrast (WCAG AA passes).

Color values

HEX#DEF9BC
RGBrgb(222, 249, 188)
HSLhsl(87, 84%, 86%)
HSVhsv(87, 24%, 98%)
CMYKcmyk(10.8%, 0%, 24.5%, 2.4%)
CIE-LABlab(94.70, -19.11, 26.45)
CIE-LCHlch(94.70, 32.63, 125.85°)
OKLaboklab(94.75% -0.0512 0.0671)
OKLCHoklch(94.75% 0.084 127.3)
XYZxyz(73.0757, 86.9113, 60.4929)
Luminance0.8691 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DEF9BC #D7BCF9
analogous
#F9F5BC #DEF9BC #BFF9BC
triadic
#DEF9BC #BCDEF9 #F9BCDE
tetradic
#DEF9BC #BCF9F5 #D7BCF9 #F9BCBF
square
#DEF9BC #BCF9F5 #D7BCF9 #F9BCBF
split-complementary
#DEF9BC #BCBFF9 #F5BCF9
monochromatic
#A7EF4C #C2F484 #DEF9BC #F1FCE3 #F1FCE3

Accessibility & contrast

On white

1.14
#DEF9BC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.38
#DEF9BC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DEF9BC
18.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DEF9BC#FFFFFF#000000##000000
##DEF9BC1.001.1418.3818.38
#FFFFFF1.141.0021.0021.00
#00000018.3821.001.001.00
##00000018.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF1B8
Deuteranopia (green-blind)
#FBEFBF
Tritanopia (blue-blind)
#E1F3E9
Achromatopsia (no color)
#F0F0F0

Design tokens & code

CSS
--color: #def9bc;
/* rgb */ color: rgb(222, 249, 188);
/* oklch */ color: oklch(94.7% 0.084 127.3);
Tailwind
colors: {
  custom: {
    50: '#e8fbd0',
    500: '#def9bc',
    950: '#000000',
  },
}
SCSS
$custom: #def9bc;
$custom-light: #e8fbd0;
$custom-dark: #000000;
JSON
{
  "hex": "#def9bc",
  "rgb": {
    "r": 222,
    "g": 249,
    "b": 188
  },
  "hsl": {
    "h": 86.557,
    "s": 83.562,
    "l": 85.686
  },
  "oklch": {
    "l": 0.94749,
    "c": 0.08439,
    "h": 127.3
  },
  "luminance": 0.86912
}

Semantic roles & 50–950 ramp

primary
#DEF9BC
secondary
#A77CDD
accent
#06E066
background
#FEFFFE
surface
#FDFFFB
border
#D5D7D4
text
#161714
muted
#848583

Preview Lab

Preview with #DEF9BC

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

Preview Lab → · Contrast checker → · Palette generator →

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