#F2FFB8#F2FFB8

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

Color values

HEX#F2FFB8
RGBrgb(242, 255, 184)
HSLhsl(71, 100%, 86%)
HSVhsv(71, 28%, 100%)
CMYKcmyk(5.1%, 0%, 27.8%, 0%)
CIE-LABlab(97.57, -15.45, 32.60)
CIE-LCHlch(97.57, 36.07, 115.35°)
OKLaboklab(97.36% -0.0409 0.0818)
OKLCHoklch(97.36% 0.092 116.6)
XYZxyz(81.0293, 93.8584, 59.1859)
Luminance0.9386 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2FFB8 #C5B8FF
analogous
#FFE8B8 #F2FFB8 #CEFFB8
triadic
#F2FFB8 #B8F2FF #FFB8F2
tetradic
#F2FFB8 #B8FFE8 #C5B8FF #FFB8CE
square
#F2FFB8 #B8FFE8 #C5B8FF #FFB8CE
split-complementary
#F2FFB8 #B8CEFF #E8B8FF
monochromatic
#DCFF3E #E7FF7B #F2FFB8 #F9FFE0 #F9FFE0

Accessibility & contrast

On white

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

On black

19.77
#F2FFB8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2FFB8
19.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2FFB8#FFFFFF#000000##000000
##F2FFB81.001.0619.7719.77
#FFFFFF1.061.0021.0021.00
#00000019.7721.001.001.00
##00000019.7721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #f2ffb8;
/* rgb */ color: rgb(242, 255, 184);
/* oklch */ color: oklch(97.4% 0.091 116.6);
Tailwind
colors: {
  custom: {
    50: '#f7ffcd',
    500: '#f2ffb8',
    950: '#000000',
  },
}
SCSS
$custom: #f2ffb8;
$custom-light: #f7ffcd;
$custom-dark: #000000;
JSON
{
  "hex": "#f2ffb8",
  "rgb": {
    "r": 242,
    "g": 255,
    "b": 184
  },
  "hsl": {
    "h": 70.986,
    "s": 100,
    "l": 86.078
  },
  "oklch": {
    "l": 0.97361,
    "c": 0.0915,
    "h": 116.6
  },
  "luminance": 0.93858
}

Semantic roles & 50–950 ramp

primary
#F2FFB8
secondary
#8975E7
accent
#00E62A
background
#FFFFFE
surface
#FFFFFB
border
#D7D7D4
text
#171813
muted
#858683

Preview Lab

Preview with #F2FFB8

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

Preview Lab → · Contrast checker → · Palette generator →

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