#F2FFBA#F2FFBA

#F2FFBA is a very light, moderate yellow-green. Relative luminance 0.939; OKLCH L 97.4% C 0.089 H 116.8°. Best body text is #000000 at 19.79:1 contrast (WCAG AA passes).

Color values

HEX#F2FFBA
RGBrgb(242, 255, 186)
HSLhsl(71, 100%, 86%)
HSVhsv(71, 27%, 100%)
CMYKcmyk(5.1%, 0%, 27.1%, 0%)
CIE-LABlab(97.61, -15.18, 31.64)
CIE-LCHlch(97.61, 35.09, 115.63°)
OKLaboklab(97.4% -0.0401 0.0796)
OKLCHoklch(97.4% 0.089 116.8)
XYZxyz(81.2404, 93.9429, 60.2978)
Luminance0.9394 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2FFBA #C7BAFF
analogous
#FFEABA #F2FFBA #D0FFBA
triadic
#F2FFBA #BAF2FF #FFBAF2
tetradic
#F2FFBA #BAFFEA #C7BAFF #FFBAD0
square
#F2FFBA #BAFFEA #C7BAFF #FFBAD0
split-complementary
#F2FFBA #BAD0FF #EABAFF
monochromatic
#DBFF40 #E6FF7D #F2FFBA #F9FFE0 #F9FFE0

Accessibility & contrast

On white

1.06
#F2FFBA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

19.79
#F2FFBA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2FFBA
19.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2FFBA#FFFFFF#000000##000000
##F2FFBA1.001.0619.7919.79
#FFFFFF1.061.0021.0021.00
#00000019.7921.001.001.00
##00000019.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF8B6
Deuteranopia (green-blind)
#FFF9BD
Tritanopia (blue-blind)
#F9F7ED
Achromatopsia (no color)
#F8F8F8

Design tokens & code

CSS
--color: #f2ffba;
/* rgb */ color: rgb(242, 255, 186);
/* oklch */ color: oklch(97.4% 0.089 116.8);
Tailwind
colors: {
  custom: {
    50: '#f7ffcf',
    500: '#f2ffba',
    950: '#000000',
  },
}
SCSS
$custom: #f2ffba;
$custom-light: #f7ffcf;
$custom-dark: #000000;
JSON
{
  "hex": "#f2ffba",
  "rgb": {
    "r": 242,
    "g": 255,
    "b": 186
  },
  "hsl": {
    "h": 71.304,
    "s": 100,
    "l": 86.471
  },
  "oklch": {
    "l": 0.97399,
    "c": 0.08913,
    "h": 116.8
  },
  "luminance": 0.93942
}

Semantic roles & 50–950 ramp

primary
#F2FFBA
secondary
#8C76E7
accent
#00E62B
background
#FFFFFE
surface
#FFFFFB
border
#D7D7D4
text
#171814
muted
#858683

Preview Lab

Preview with #F2FFBA

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

Preview Lab → · Contrast checker → · Palette generator →

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