#DEFFB2#DEFFB2

#DEFFB2 is a very light, moderate yellow-green. Relative luminance 0.903; OKLCH L 95.8% C 0.105 H 127.1°. Best body text is #000000 at 19.05:1 contrast (WCAG AA passes).

Color values

HEX#DEFFB2
RGBrgb(222, 255, 178)
HSLhsl(86, 100%, 85%)
HSVhsv(86, 30%, 100%)
CMYKcmyk(12.9%, 0%, 30.2%, 0%)
CIE-LABlab(96.11, -23.41, 33.39)
CIE-LCHlch(96.11, 40.78, 125.03°)
OKLaboklab(95.81% -0.0633 0.0837)
OKLCHoklch(95.81% 0.105 127.1)
XYZxyz(73.9190, 90.2634, 55.6391)
Luminance0.9026 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DEFFB2 #D3B2FF
analogous
#FFF9B2 #DEFFB2 #B8FFB2
triadic
#DEFFB2 #B2DEFF #FFB2DE
tetradic
#DEFFB2 #B2FFF9 #D3B2FF #FFB2B8
square
#DEFFB2 #B2FFF9 #D3B2FF #FFB2B8
split-complementary
#DEFFB2 #B2B8FF #F9B2FF
monochromatic
#AAFF38 #C4FF75 #DEFFB2 #F2FFE0 #F2FFE0

Accessibility & contrast

On white

1.10
#DEFFB2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

19.05
#DEFFB2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DEFFB2
19.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DEFFB2#FFFFFF#000000##000000
##DEFFB21.001.1019.0519.05
#FFFFFF1.101.0021.0021.00
#00000019.0521.001.001.00
##00000019.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF5AD
Deuteranopia (green-blind)
#FFF3B6
Tritanopia (blue-blind)
#E2F8EB
Achromatopsia (no color)
#F4F4F4

Design tokens & code

CSS
--color: #deffb2;
/* rgb */ color: rgb(222, 255, 178);
/* oklch */ color: oklch(95.8% 0.105 127.1);
Tailwind
colors: {
  custom: {
    50: '#e9ffc9',
    500: '#deffb2',
    950: '#000000',
  },
}
SCSS
$custom: #deffb2;
$custom-light: #e9ffc9;
$custom-dark: #000000;
JSON
{
  "hex": "#deffb2",
  "rgb": {
    "r": 222,
    "g": 255,
    "b": 178
  },
  "hsl": {
    "h": 85.714,
    "s": 100,
    "l": 84.902
  },
  "oklch": {
    "l": 0.95814,
    "c": 0.10492,
    "h": 127.1
  },
  "luminance": 0.90264
}

Semantic roles & 50–950 ramp

primary
#DEFFB2
secondary
#A270E6
accent
#00E662
background
#FEFFFD
surface
#FDFFF9
border
#D5D7D2
text
#161813
muted
#848682

Preview Lab

Preview with #DEFFB2

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

Preview Lab → · Contrast checker → · Palette generator →

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