#DEF5BC#DEF5BC

#DEF5BC is a very light, moderate yellow-green. Relative luminance 0.845; OKLCH L 93.9% C 0.078 H 125.7°. Best body text is #000000 at 17.89:1 contrast (WCAG AA passes).

Color values

HEX#DEF5BC
RGBrgb(222, 245, 188)
HSLhsl(84, 74%, 85%)
HSVhsv(84, 23%, 96%)
CMYKcmyk(9.4%, 0%, 23.3%, 3.9%)
CIE-LABlab(93.65, -17.16, 25.01)
CIE-LCHlch(93.65, 30.33, 124.45°)
OKLaboklab(93.91% -0.0457 0.0636)
OKLCHoklch(93.91% 0.078 125.7)
XYZxyz(71.8525, 84.4650, 60.0852)
Luminance0.8447 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DEF5BC #D3BCF5
analogous
#F5F0BC #DEF5BC #C1F5BC
triadic
#DEF5BC #BCDEF5 #F5BCDE
tetradic
#DEF5BC #BCF5F0 #D3BCF5 #F5BCC1
square
#DEF5BC #BCF5F0 #D3BCF5 #F5BCC1
split-complementary
#DEF5BC #BCC1F5 #F0BCF5
monochromatic
#AAE551 #C4ED87 #DEF5BC #F2FBE4 #F2FBE4

Accessibility & contrast

On white

1.17
#DEF5BC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.89
#DEF5BC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DEF5BC
17.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DEF5BC#FFFFFF#000000##000000
##DEF5BC1.001.1717.8917.89
#FFFFFF1.171.0021.0021.00
#00000017.8921.001.001.00
##00000017.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#FCEEB9
Deuteranopia (green-blind)
#F8ECBE
Tritanopia (blue-blind)
#E2EFE6
Achromatopsia (no color)
#EDEDED

Design tokens & code

CSS
--color: #def5bc;
/* rgb */ color: rgb(222, 245, 188);
/* oklch */ color: oklch(93.9% 0.078 125.7);
Tailwind
colors: {
  custom: {
    50: '#e8f8d0',
    500: '#def5bc',
    950: '#000000',
  },
}
SCSS
$custom: #def5bc;
$custom-light: #e8f8d0;
$custom-dark: #000000;
JSON
{
  "hex": "#def5bc",
  "rgb": {
    "r": 222,
    "g": 245,
    "b": 188
  },
  "hsl": {
    "h": 84.211,
    "s": 74.026,
    "l": 84.902
  },
  "oklch": {
    "l": 0.93914,
    "c": 0.07832,
    "h": 125.7
  },
  "luminance": 0.84465
}

Semantic roles & 50–950 ramp

primary
#DEF5BC
secondary
#A27FD6
accent
#0FD660
background
#FEFFFE
surface
#FCFFFB
border
#D5D7D4
text
#161714
muted
#848583

Preview Lab

Preview with #DEF5BC

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

Preview Lab → · Contrast checker → · Palette generator →

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