#DEF0BC#DEF0BC

#DEF0BC is a very light, moderate yellow-green. Relative luminance 0.815; OKLCH L 92.9% C 0.071 H 123.3°. Best body text is #000000 at 17.30:1 contrast (WCAG AA passes).

Color values

HEX#DEF0BC
RGBrgb(222, 240, 188)
HSLhsl(81, 63%, 84%)
HSVhsv(81, 22%, 94%)
CMYKcmyk(7.5%, 0%, 21.7%, 5.9%)
CIE-LABlab(92.35, -14.70, 23.21)
CIE-LCHlch(92.35, 27.47, 122.34°)
OKLaboklab(92.87% -0.0388 0.0592)
OKLCHoklch(92.87% 0.071 123.3)
XYZxyz(70.3603, 81.4805, 59.5878)
Luminance0.8148 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DEF0BC #CEBCF0
analogous
#F0E8BC #DEF0BC #C4F0BC
triadic
#DEF0BC #BCDEF0 #F0BCDE
tetradic
#DEF0BC #BCF0E8 #CEBCF0 #F0BCC4
square
#DEF0BC #BCF0E8 #CEBCF0 #F0BCC4
split-complementary
#DEF0BC #BCC4F0 #E8BCF0
monochromatic
#ADDA58 #C5E58A #DEF0BC #F3F9E6 #F3F9E6

Accessibility & contrast

On white

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

On black

17.30
#DEF0BC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DEF0BC
17.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DEF0BC#FFFFFF#000000##000000
##DEF0BC1.001.2117.3017.30
#FFFFFF1.211.0021.0021.00
#00000017.3021.001.001.00
##00000017.3021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #def0bc;
/* rgb */ color: rgb(222, 240, 188);
/* oklch */ color: oklch(92.9% 0.071 123.3);
Tailwind
colors: {
  custom: {
    50: '#e8f5d0',
    500: '#def0bc',
    950: '#000000',
  },
}
SCSS
$custom: #def0bc;
$custom-light: #e8f5d0;
$custom-dark: #000000;
JSON
{
  "hex": "#def0bc",
  "rgb": {
    "r": 222,
    "g": 240,
    "b": 188
  },
  "hsl": {
    "h": 80.769,
    "s": 63.415,
    "l": 83.922
  },
  "oklch": {
    "l": 0.92874,
    "c": 0.07078,
    "h": 123.3
  },
  "luminance": 0.81481
}

Semantic roles & 50–950 ramp

primary
#DEF0BC
secondary
#9C82CF
accent
#1ACB58
background
#FEFFFE
surface
#FCFEFB
border
#D5D6D4
text
#161714
muted
#848583

Preview Lab

Preview with #DEF0BC

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

Preview Lab → · Contrast checker → · Palette generator →

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