#F2FFB4#F2FFB4

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

Color values

HEX#F2FFB4
RGBrgb(242, 255, 180)
HSLhsl(70, 100%, 85%)
HSVhsv(70, 29%, 100%)
CMYKcmyk(5.1%, 0%, 29.4%, 0%)
CIE-LABlab(97.51, -15.97, 34.51)
CIE-LCHlch(97.51, 38.02, 114.83°)
OKLaboklab(97.29% -0.0425 0.0863)
OKLCHoklch(97.29% 0.096 116.2)
XYZxyz(80.6159, 93.6931, 57.0088)
Luminance0.9369 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2FFB4 #C1B4FF
analogous
#FFE6B4 #F2FFB4 #CCFFB4
triadic
#F2FFB4 #B4F2FF #FFB4F2
tetradic
#F2FFB4 #B4FFE6 #C1B4FF #FFB4CC
square
#F2FFB4 #B4FFE6 #C1B4FF #FFB4CC
split-complementary
#F2FFB4 #B4CCFF #E6B4FF
monochromatic
#DDFF3A #E7FF77 #F2FFB4 #FAFFE0 #FAFFE0

Accessibility & contrast

On white

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

On black

19.74
#F2FFB4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2FFB4
19.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2FFB4#FFFFFF#000000##000000
##F2FFB41.001.0619.7419.74
#FFFFFF1.061.0021.0021.00
#00000019.7421.001.001.00
##00000019.7421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #f2ffb4;
/* rgb */ color: rgb(242, 255, 180);
/* oklch */ color: oklch(97.3% 0.096 116.2);
Tailwind
colors: {
  custom: {
    50: '#f7ffcb',
    500: '#f2ffb4',
    950: '#000000',
  },
}
SCSS
$custom: #f2ffb4;
$custom-light: #f7ffcb;
$custom-dark: #000000;
JSON
{
  "hex": "#f2ffb4",
  "rgb": {
    "r": 242,
    "g": 255,
    "b": 180
  },
  "hsl": {
    "h": 70.4,
    "s": 100,
    "l": 85.294
  },
  "oklch": {
    "l": 0.97286,
    "c": 0.09621,
    "h": 116.2
  },
  "luminance": 0.93693
}

Semantic roles & 50–950 ramp

primary
#F2FFB4
secondary
#8571E6
accent
#00E628
background
#FFFFFE
surface
#FFFFFA
border
#D7D7D3
text
#171813
muted
#858683

Preview Lab

Preview with #F2FFB4

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

Preview Lab → · Contrast checker → · Palette generator →

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