#DEF0BB#DEF0BB

#DEF0BB is a very light, moderate yellow-green. Relative luminance 0.814; OKLCH L 92.9% C 0.072 H 123.0°. Best body text is #000000 at 17.29:1 contrast (WCAG AA passes).

Color values

HEX#DEF0BB
RGBrgb(222, 240, 187)
HSLhsl(80, 64%, 84%)
HSVhsv(80, 22%, 94%)
CMYKcmyk(7.5%, 0%, 22.1%, 5.9%)
CIE-LABlab(92.33, -14.85, 23.70)
CIE-LCHlch(92.33, 27.96, 122.07°)
OKLaboklab(92.85% -0.0392 0.0604)
OKLCHoklch(92.85% 0.072 123)
XYZxyz(70.2529, 81.4375, 59.0220)
Luminance0.8144 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DEF0BB #CDBBF0
analogous
#F0E7BB #DEF0BB #C3F0BB
triadic
#DEF0BB #BBDEF0 #F0BBDE
tetradic
#DEF0BB #BBF0E7 #CDBBF0 #F0BBC3
square
#DEF0BB #BBF0E7 #CDBBF0 #F0BBC3
split-complementary
#DEF0BB #BBC3F0 #E7BBF0
monochromatic
#ADDA57 #C6E589 #DEF0BB #F3F9E6 #F3F9E6

Accessibility & contrast

On white

1.21
#DEF0BB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.29
#DEF0BB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DEF0BB
17.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DEF0BB#FFFFFF#000000##000000
##DEF0BB1.001.2117.2917.29
#FFFFFF1.211.0021.0021.00
#00000017.2921.001.001.00
##00000017.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#F7E9B8
Deuteranopia (green-blind)
#F4E9BD
Tritanopia (blue-blind)
#E2EBE2
Achromatopsia (no color)
#E9E9E9

Design tokens & code

CSS
--color: #def0bb;
/* rgb */ color: rgb(222, 240, 187);
/* oklch */ color: oklch(92.9% 0.072 123.0);
Tailwind
colors: {
  custom: {
    50: '#e8f5cf',
    500: '#def0bb',
    950: '#000000',
  },
}
SCSS
$custom: #def0bb;
$custom-light: #e8f5cf;
$custom-dark: #000000;
JSON
{
  "hex": "#def0bb",
  "rgb": {
    "r": 222,
    "g": 240,
    "b": 187
  },
  "hsl": {
    "h": 80.377,
    "s": 63.855,
    "l": 83.725
  },
  "oklch": {
    "l": 0.92853,
    "c": 0.072,
    "h": 123
  },
  "luminance": 0.81438
}

Semantic roles & 50–950 ramp

primary
#DEF0BB
secondary
#9B81CF
accent
#1ACC56
background
#FEFFFE
surface
#FCFEFB
border
#D5D6D4
text
#161714
muted
#848583

Preview Lab

Preview with #DEF0BB

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

Preview Lab → · Contrast checker → · Palette generator →

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