#F2FEB7#F2FEB7

#F2FEB7 is a very light, moderate yellow-green. Relative luminance 0.932; OKLCH L 97.1% C 0.091 H 115.9°. Best body text is #000000 at 19.64:1 contrast (WCAG AA passes).

Color values

HEX#F2FEB7
RGBrgb(242, 254, 183)
HSLhsl(70, 97%, 86%)
HSVhsv(70, 28%, 100%)
CMYKcmyk(4.7%, 0%, 28%, 0.4%)
CIE-LABlab(97.30, -15.09, 32.73)
CIE-LCHlch(97.30, 36.04, 114.75°)
OKLaboklab(97.14% -0.0399 0.0821)
OKLCHoklch(97.14% 0.091 115.9)
XYZxyz(80.6067, 93.1803, 58.5297)
Luminance0.9318 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2FEB7 #C3B7FE
analogous
#FEE6B7 #F2FEB7 #CEFEB7
triadic
#F2FEB7 #B7F2FE #FEB7F2
tetradic
#F2FEB7 #B7FEE6 #C3B7FE #FEB7CE
square
#F2FEB7 #B7FEE6 #C3B7FE #FEB7CE
split-complementary
#F2FEB7 #B7CEFE #E6B7FE
monochromatic
#DCFC3E #E7FD7B #F2FEB7 #FAFFE1 #FAFFE1

Accessibility & contrast

On white

1.07
#F2FEB7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

19.64
#F2FEB7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2FEB7
19.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2FEB7#FFFFFF#000000##000000
##F2FEB71.001.0719.6419.64
#FFFFFF1.071.0021.0021.00
#00000019.6421.001.001.00
##00000019.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF7B2
Deuteranopia (green-blind)
#FFF8BA
Tritanopia (blue-blind)
#FAF6EB
Achromatopsia (no color)
#F7F7F7

Design tokens & code

CSS
--color: #f2feb7;
/* rgb */ color: rgb(242, 254, 183);
/* oklch */ color: oklch(97.1% 0.091 115.9);
Tailwind
colors: {
  custom: {
    50: '#f7fecd',
    500: '#f2feb7',
    950: '#000000',
  },
}
SCSS
$custom: #f2feb7;
$custom-light: #f7fecd;
$custom-dark: #000000;
JSON
{
  "hex": "#f2feb7",
  "rgb": {
    "r": 242,
    "g": 254,
    "b": 183
  },
  "hsl": {
    "h": 70.141,
    "s": 97.26,
    "l": 85.686
  },
  "oklch": {
    "l": 0.97138,
    "c": 0.09134,
    "h": 115.9
  },
  "luminance": 0.9318
}

Semantic roles & 50–950 ramp

primary
#F2FEB7
secondary
#8774E5
accent
#00E627
background
#FFFFFE
surface
#FFFFFA
border
#D7D7D3
text
#171713
muted
#858583

Preview Lab

Preview with #F2FEB7

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

Preview Lab → · Contrast checker → · Palette generator →

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