#F2FECC#F2FECC

#F2FECC is a very light, moderate yellow-green. Relative luminance 0.941; OKLCH L 97.6% C 0.066 H 118.6°. Best body text is #000000 at 19.82:1 contrast (WCAG AA passes).

Color values

HEX#F2FECC
RGBrgb(242, 254, 204)
HSLhsl(74, 96%, 90%)
HSVhsv(74, 20%, 100%)
CMYKcmyk(4.7%, 0%, 19.7%, 0.4%)
CIE-LABlab(97.68, -12.17, 22.64)
CIE-LCHlch(97.68, 25.70, 118.26°)
OKLaboklab(97.56% -0.0316 0.0579)
OKLCHoklch(97.56% 0.066 118.6)
XYZxyz(82.9577, 94.1207, 70.9118)
Luminance0.9412 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2FECC #D8CCFE
analogous
#FEF1CC #F2FECC #D9FECC
triadic
#F2FECC #CCF2FE #FECCF2
tetradic
#F2FECC #CCFEF1 #D8CCFE #FECCD9
square
#F2FECC #CCFEF1 #D8CCFE #FECCD9
split-complementary
#F2FECC #CCD9FE #F1CCFE
monochromatic
#D3FC54 #E3FD90 #F2FECC #F7FEE1 #F7FEE1

Accessibility & contrast

On white

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

On black

19.82
#F2FECC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2FECC
19.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2FECC#FFFFFF#000000##000000
##F2FECC1.001.0619.8219.82
#FFFFFF1.061.0021.0021.00
#00000019.8221.001.001.00
##00000019.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF8C9
Deuteranopia (green-blind)
#FFF9CE
Tritanopia (blue-blind)
#F7F8F0
Achromatopsia (no color)
#F8F8F8

Design tokens & code

CSS
--color: #f2fecc;
/* rgb */ color: rgb(242, 254, 204);
/* oklch */ color: oklch(97.6% 0.066 118.6);
Tailwind
colors: {
  custom: {
    50: '#f6fedb',
    500: '#f2fecc',
    950: '#000000',
  },
}
SCSS
$custom: #f2fecc;
$custom-light: #f6fedb;
$custom-dark: #000000;
JSON
{
  "hex": "#f2fecc",
  "rgb": {
    "r": 242,
    "g": 254,
    "b": 204
  },
  "hsl": {
    "h": 74.4,
    "s": 96.154,
    "l": 89.804
  },
  "oklch": {
    "l": 0.97564,
    "c": 0.06593,
    "h": 118.6
  },
  "luminance": 0.94121
}

Semantic roles & 50–950 ramp

primary
#F2FECC
secondary
#9E87E7
accent
#00E637
background
#FFFFFE
surface
#FEFFFC
border
#D6D7D5
text
#171715
muted
#858584

Preview Lab

Preview with #F2FECC

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

Preview Lab → · Contrast checker → · Palette generator →

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