#F2FFB2#F2FFB2

#F2FFB2 is a very light, moderate yellow-green. Relative luminance 0.936; OKLCH L 97.2% C 0.099 H 116.1°. Best body text is #000000 at 19.72:1 contrast (WCAG AA passes).

Color values

HEX#F2FFB2
RGBrgb(242, 255, 178)
HSLhsl(70, 100%, 85%)
HSVhsv(70, 30%, 100%)
CMYKcmyk(5.1%, 0%, 30.2%, 0%)
CIE-LABlab(97.48, -16.22, 35.46)
CIE-LCHlch(97.48, 38.99, 114.58°)
OKLaboklab(97.25% -0.0433 0.0885)
OKLCHoklch(97.25% 0.099 116.1)
XYZxyz(80.4137, 93.6122, 55.9436)
Luminance0.9361 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2FFB2 #BFB2FF
analogous
#FFE6B2 #F2FFB2 #CBFFB2
triadic
#F2FFB2 #B2F2FF #FFB2F2
tetradic
#F2FFB2 #B2FFE6 #BFB2FF #FFB2CB
square
#F2FFB2 #B2FFE6 #BFB2FF #FFB2CB
split-complementary
#F2FFB2 #B2CBFF #E6B2FF
monochromatic
#DDFF38 #E8FF75 #F2FFB2 #FAFFE0 #FAFFE0

Accessibility & contrast

On white

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

On black

19.72
#F2FFB2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2FFB2
19.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2FFB2#FFFFFF#000000##000000
##F2FFB21.001.0619.7219.72
#FFFFFF1.061.0021.0021.00
#00000019.7221.001.001.00
##00000019.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF7AD
Deuteranopia (green-blind)
#FFF8B5
Tritanopia (blue-blind)
#FAF7EB
Achromatopsia (no color)
#F8F8F8

Design tokens & code

CSS
--color: #f2ffb2;
/* rgb */ color: rgb(242, 255, 178);
/* oklch */ color: oklch(97.2% 0.099 116.1);
Tailwind
colors: {
  custom: {
    50: '#f7ffc9',
    500: '#f2ffb2',
    950: '#000000',
  },
}
SCSS
$custom: #f2ffb2;
$custom-light: #f7ffc9;
$custom-dark: #000000;
JSON
{
  "hex": "#f2ffb2",
  "rgb": {
    "r": 242,
    "g": 255,
    "b": 178
  },
  "hsl": {
    "h": 70.13,
    "s": 100,
    "l": 84.902
  },
  "oklch": {
    "l": 0.97249,
    "c": 0.09855,
    "h": 116.1
  },
  "luminance": 0.93612
}

Semantic roles & 50–950 ramp

primary
#F2FFB2
secondary
#8370E6
accent
#00E627
background
#FFFFFD
surface
#FFFFF9
border
#D7D7D2
text
#171813
muted
#858682

Preview Lab

Preview with #F2FFB2

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

Preview Lab → · Contrast checker → · Palette generator →

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