#DFFBA2#DFFBA2

#DFFBA2 is a very light, moderate yellow-green. Relative luminance 0.873; OKLCH L 94.8% C 0.117 H 122.8°. Best body text is #000000 at 18.46:1 contrast (WCAG AA passes).

Color values

HEX#DFFBA2
RGBrgb(223, 251, 162)
HSLhsl(79, 92%, 81%)
HSVhsv(79, 35%, 98%)
CMYKcmyk(11.2%, 0%, 35.5%, 1.6%)
CIE-LABlab(94.86, -23.22, 39.71)
CIE-LCHlch(94.86, 46.00, 120.32°)
OKLaboklab(94.75% -0.0633 0.0981)
OKLCHoklch(94.75% 0.117 122.8)
XYZxyz(71.4498, 87.2908, 47.2601)
Luminance0.8729 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFFBA2 #BEA2FB
analogous
#FBEAA2 #DFFBA2 #B2FBA2
triadic
#DFFBA2 #A2DFFB #FBA2DF
tetradic
#DFFBA2 #A2FBEA #BEA2FB #FBA2B2
square
#DFFBA2 #A2FBEA #BEA2FB #FBA2B2
split-complementary
#DFFBA2 #A2B2FB #EAA2FB
monochromatic
#B7F62D #CBF867 #DFFBA2 #F3FEDD #F5FEE2

Accessibility & contrast

On white

1.14
#DFFBA2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.46
#DFFBA2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DFFBA2
18.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DFFBA2#FFFFFF#000000##000000
##DFFBA21.001.1418.4618.46
#FFFFFF1.141.0021.0021.00
#00000018.4621.001.001.00
##00000018.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF19C
Deuteranopia (green-blind)
#FFF0A6
Tritanopia (blue-blind)
#E6F3E5
Achromatopsia (no color)
#F0F0F0

Design tokens & code

CSS
--color: #dffba2;
/* rgb */ color: rgb(223, 251, 162);
/* oklch */ color: oklch(94.8% 0.117 122.8);
Tailwind
colors: {
  custom: {
    50: '#eafcbe',
    500: '#dffba2',
    950: '#000000',
  },
}
SCSS
$custom: #dffba2;
$custom-light: #eafcbe;
$custom-dark: #000000;
JSON
{
  "hex": "#dffba2",
  "rgb": {
    "r": 223,
    "g": 251,
    "b": 162
  },
  "hsl": {
    "h": 78.876,
    "s": 91.753,
    "l": 80.98
  },
  "oklch": {
    "l": 0.94753,
    "c": 0.11677,
    "h": 122.8
  },
  "luminance": 0.87291
}

Semantic roles & 50–950 ramp

primary
#DFFBA2
secondary
#8A64DD
accent
#00E648
background
#FEFFFD
surface
#FDFFF8
border
#D5D7D1
text
#161712
muted
#848582

Preview Lab

Preview with #DFFBA2

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

Preview Lab → · Contrast checker → · Palette generator →

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