#DAFBA2#DAFBA2

#DAFBA2 is a very light, moderate yellow-green. Relative luminance 0.865; OKLCH L 94.4% C 0.119 H 125.2°. Best body text is #000000 at 18.30:1 contrast (WCAG AA passes).

Color values

HEX#DAFBA2
RGBrgb(218, 251, 162)
HSLhsl(82, 92%, 81%)
HSVhsv(82, 35%, 98%)
CMYKcmyk(13.1%, 0%, 35.5%, 1.6%)
CIE-LABlab(94.53, -25.03, 39.21)
CIE-LCHlch(94.53, 46.52, 122.55°)
OKLaboklab(94.4% -0.0683 0.097)
OKLCHoklch(94.4% 0.119 125.2)
XYZxyz(69.9316, 86.5080, 47.1889)
Luminance0.8651 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DAFBA2 #C3A2FB
analogous
#FBEFA2 #DAFBA2 #ADFBA2
triadic
#DAFBA2 #A2DAFB #FBA2DA
tetradic
#DAFBA2 #A2FBEF #C3A2FB #FBA2AD
square
#DAFBA2 #A2FBEF #C3A2FB #FBA2AD
split-complementary
#DAFBA2 #A2ADFB #EFA2FB
monochromatic
#ABF62D #C3F867 #DAFBA2 #F1FEDD #F3FEE2

Accessibility & contrast

On white

1.15
#DAFBA2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.30
#DAFBA2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DAFBA2
18.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DAFBA2#FFFFFF#000000##000000
##DAFBA21.001.1518.3018.30
#FFFFFF1.151.0021.0021.00
#00000018.3021.001.001.00
##00000018.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF09C
Deuteranopia (green-blind)
#FFEFA6
Tritanopia (blue-blind)
#DFF3E5
Achromatopsia (no color)
#EFEFEF

Design tokens & code

CSS
--color: #dafba2;
/* rgb */ color: rgb(218, 251, 162);
/* oklch */ color: oklch(94.4% 0.119 125.2);
Tailwind
colors: {
  custom: {
    50: '#e6fcbe',
    500: '#dafba2',
    950: '#000000',
  },
}
SCSS
$custom: #dafba2;
$custom-light: #e6fcbe;
$custom-dark: #000000;
JSON
{
  "hex": "#dafba2",
  "rgb": {
    "r": 218,
    "g": 251,
    "b": 162
  },
  "hsl": {
    "h": 82.247,
    "s": 91.753,
    "l": 80.98
  },
  "oklch": {
    "l": 0.94403,
    "c": 0.11862,
    "h": 125.2
  },
  "luminance": 0.86508
}

Semantic roles & 50–950 ramp

primary
#DAFBA2
secondary
#9164DD
accent
#00E655
background
#FEFFFD
surface
#FCFFF8
border
#D5D7D1
text
#161712
muted
#848582

Preview Lab

Preview with #DAFBA2

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

Preview Lab → · Contrast checker → · Palette generator →

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