#F2FFB3#F2FFB3

#F2FFB3 is a very light, moderate yellow-green. Relative luminance 0.937; OKLCH L 97.3% C 0.097 H 116.1°. Best body text is #000000 at 19.73:1 contrast (WCAG AA passes).

Color values

HEX#F2FFB3
RGBrgb(242, 255, 179)
HSLhsl(70, 100%, 85%)
HSVhsv(70, 30%, 100%)
CMYKcmyk(5.1%, 0%, 29.8%, 0%)
CIE-LABlab(97.49, -16.09, 34.98)
CIE-LCHlch(97.49, 38.51, 114.70°)
OKLaboklab(97.27% -0.0429 0.0874)
OKLCHoklch(97.27% 0.097 116.1)
XYZxyz(80.5144, 93.6525, 56.4743)
Luminance0.9365 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2FFB3 #C0B3FF
analogous
#FFE6B3 #F2FFB3 #CCFFB3
triadic
#F2FFB3 #B3F2FF #FFB3F2
tetradic
#F2FFB3 #B3FFE6 #C0B3FF #FFB3CC
square
#F2FFB3 #B3FFE6 #C0B3FF #FFB3CC
split-complementary
#F2FFB3 #B3CCFF #E6B3FF
monochromatic
#DDFF39 #E8FF76 #F2FFB3 #FAFFE0 #FAFFE0

Accessibility & contrast

On white

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

On black

19.73
#F2FFB3 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2FFB3
19.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2FFB3#FFFFFF#000000##000000
##F2FFB31.001.0619.7319.73
#FFFFFF1.061.0021.0021.00
#00000019.7321.001.001.00
##00000019.7321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #f2ffb3;
/* rgb */ color: rgb(242, 255, 179);
/* oklch */ color: oklch(97.3% 0.097 116.1);
Tailwind
colors: {
  custom: {
    50: '#f7ffca',
    500: '#f2ffb3',
    950: '#000000',
  },
}
SCSS
$custom: #f2ffb3;
$custom-light: #f7ffca;
$custom-dark: #000000;
JSON
{
  "hex": "#f2ffb3",
  "rgb": {
    "r": 242,
    "g": 255,
    "b": 179
  },
  "hsl": {
    "h": 70.263,
    "s": 100,
    "l": 85.098
  },
  "oklch": {
    "l": 0.97268,
    "c": 0.09738,
    "h": 116.1
  },
  "luminance": 0.93652
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #F2FFB3

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

Preview Lab → · Contrast checker → · Palette generator →

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