#DEF2BA#DEF2BA

#DEF2BA is a very light, moderate yellow-green. Relative luminance 0.826; OKLCH L 93.2% C 0.076 H 123.8°. Best body text is #000000 at 17.52:1 contrast (WCAG AA passes).

Color values

HEX#DEF2BA
RGBrgb(222, 242, 186)
HSLhsl(81, 68%, 84%)
HSVhsv(81, 23%, 95%)
CMYKcmyk(8.3%, 0%, 23.1%, 5.1%)
CIE-LABlab(92.83, -15.98, 24.90)
CIE-LCHlch(92.83, 29.59, 122.69°)
OKLaboklab(93.25% -0.0424 0.0633)
OKLCHoklch(93.25% 0.076 123.8)
XYZxyz(70.7382, 82.5789, 58.6575)
Luminance0.8258 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DEF2BA #CEBAF2
analogous
#F2EABA #DEF2BA #C2F2BA
triadic
#DEF2BA #BADEF2 #F2BADE
tetradic
#DEF2BA #BAF2EA #CEBAF2 #F2BAC2
square
#DEF2BA #BAF2EA #CEBAF2 #F2BAC2
split-complementary
#DEF2BA #BAC2F2 #EABAF2
monochromatic
#ADDF53 #C5E887 #DEF2BA #F3FAE5 #F3FAE5

Accessibility & contrast

On white

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

On black

17.52
#DEF2BA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DEF2BA
17.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DEF2BA#FFFFFF#000000##000000
##DEF2BA1.001.2017.5217.52
#FFFFFF1.201.0021.0021.00
#00000017.5221.001.001.00
##00000017.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#F9EBB7
Deuteranopia (green-blind)
#F6EABC
Tritanopia (blue-blind)
#E2ECE3
Achromatopsia (no color)
#EAEAEA

Design tokens & code

CSS
--color: #def2ba;
/* rgb */ color: rgb(222, 242, 186);
/* oklch */ color: oklch(93.2% 0.076 123.8);
Tailwind
colors: {
  custom: {
    50: '#e8f6cf',
    500: '#def2ba',
    950: '#000000',
  },
}
SCSS
$custom: #def2ba;
$custom-light: #e8f6cf;
$custom-dark: #000000;
JSON
{
  "hex": "#def2ba",
  "rgb": {
    "r": 222,
    "g": 242,
    "b": 186
  },
  "hsl": {
    "h": 81.429,
    "s": 68.293,
    "l": 83.922
  },
  "oklch": {
    "l": 0.93247,
    "c": 0.0762,
    "h": 123.8
  },
  "luminance": 0.82579
}

Semantic roles & 50–950 ramp

primary
#DEF2BA
secondary
#9C7FD2
accent
#15D058
background
#FEFFFE
surface
#FCFEFB
border
#D5D6D4
text
#161713
muted
#848583

Preview Lab

Preview with #DEF2BA

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

Preview Lab → · Contrast checker → · Palette generator →

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