#F2FFB7#F2FFB7

#F2FFB7 is a very light, moderate yellow-green. Relative luminance 0.938; OKLCH L 97.3% C 0.093 H 116.5°. Best body text is #000000 at 19.76:1 contrast (WCAG AA passes).

Color values

HEX#F2FFB7
RGBrgb(242, 255, 183)
HSLhsl(71, 100%, 86%)
HSVhsv(71, 28%, 100%)
CMYKcmyk(5.1%, 0%, 28.2%, 0%)
CIE-LABlab(97.56, -15.58, 33.07)
CIE-LCHlch(97.56, 36.56, 115.22°)
OKLaboklab(97.34% -0.0413 0.083)
OKLCHoklch(97.34% 0.093 116.5)
XYZxyz(80.9249, 93.8167, 58.6358)
Luminance0.9382 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2FFB7 #C4B7FF
analogous
#FFE8B7 #F2FFB7 #CEFFB7
triadic
#F2FFB7 #B7F2FF #FFB7F2
tetradic
#F2FFB7 #B7FFE8 #C4B7FF #FFB7CE
square
#F2FFB7 #B7FFE8 #C4B7FF #FFB7CE
split-complementary
#F2FFB7 #B7CEFF #E8B7FF
monochromatic
#DCFF3D #E7FF7A #F2FFB7 #F9FFE0 #F9FFE0

Accessibility & contrast

On white

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

On black

19.76
#F2FFB7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2FFB7
19.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2FFB7#FFFFFF#000000##000000
##F2FFB71.001.0619.7619.76
#FFFFFF1.061.0021.0021.00
#00000019.7621.001.001.00
##00000019.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF8B2
Deuteranopia (green-blind)
#FFF9BA
Tritanopia (blue-blind)
#FAF7EC
Achromatopsia (no color)
#F8F8F8

Design tokens & code

CSS
--color: #f2ffb7;
/* rgb */ color: rgb(242, 255, 183);
/* oklch */ color: oklch(97.3% 0.093 116.5);
Tailwind
colors: {
  custom: {
    50: '#f7ffcd',
    500: '#f2ffb7',
    950: '#000000',
  },
}
SCSS
$custom: #f2ffb7;
$custom-light: #f7ffcd;
$custom-dark: #000000;
JSON
{
  "hex": "#f2ffb7",
  "rgb": {
    "r": 242,
    "g": 255,
    "b": 183
  },
  "hsl": {
    "h": 70.833,
    "s": 100,
    "l": 85.882
  },
  "oklch": {
    "l": 0.97342,
    "c": 0.09268,
    "h": 116.5
  },
  "luminance": 0.93816
}

Semantic roles & 50–950 ramp

primary
#F2FFB7
secondary
#8874E6
accent
#00E629
background
#FFFFFE
surface
#FFFFFA
border
#D7D7D3
text
#171813
muted
#858683

Preview Lab

Preview with #F2FFB7

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

Preview Lab → · Contrast checker → · Palette generator →

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