#F0FEC2#F0FEC2

#F0FEC2 is a very light, moderate yellow-green. Relative luminance 0.933; OKLCH L 97.2% C 0.079 H 118.5°. Best body text is #000000 at 19.66:1 contrast (WCAG AA passes).

Color values

HEX#F0FEC2
RGBrgb(240, 254, 194)
HSLhsl(74, 97%, 88%)
HSVhsv(74, 24%, 100%)
CMYKcmyk(5.5%, 0%, 23.6%, 0.4%)
CIE-LABlab(97.35, -14.32, 27.23)
CIE-LCHlch(97.35, 30.77, 117.73°)
OKLaboklab(97.21% -0.0376 0.0691)
OKLCHoklch(97.21% 0.079 118.5)
XYZxyz(81.1138, 93.3042, 64.7648)
Luminance0.9330 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F0FEC2 #D0C2FE
analogous
#FEEEC2 #F0FEC2 #D2FEC2
triadic
#F0FEC2 #C2F0FE #FEC2F0
tetradic
#F0FEC2 #C2FEEE #D0C2FE #FEC2D2
square
#F0FEC2 #C2FEEE #D0C2FE #FEC2D2
split-complementary
#F0FEC2 #C2D2FE #EEC2FE
monochromatic
#D2FC4A #E1FD86 #F0FEC2 #F8FFE1 #F8FFE1

Accessibility & contrast

On white

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

On black

19.66
#F0FEC2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F0FEC2
19.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F0FEC2#FFFFFF#000000##000000
##F0FEC21.001.0719.6619.66
#FFFFFF1.071.0021.0021.00
#00000019.6621.001.001.00
##00000019.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF7BE
Deuteranopia (green-blind)
#FFF8C4
Tritanopia (blue-blind)
#F6F7EE
Achromatopsia (no color)
#F7F7F7

Design tokens & code

CSS
--color: #f0fec2;
/* rgb */ color: rgb(240, 254, 194);
/* oklch */ color: oklch(97.2% 0.079 118.5);
Tailwind
colors: {
  custom: {
    50: '#f5fed4',
    500: '#f0fec2',
    950: '#000000',
  },
}
SCSS
$custom: #f0fec2;
$custom-light: #f5fed4;
$custom-dark: #000000;
JSON
{
  "hex": "#f0fec2",
  "rgb": {
    "r": 240,
    "g": 254,
    "b": 194
  },
  "hsl": {
    "h": 74,
    "s": 96.774,
    "l": 87.843
  },
  "oklch": {
    "l": 0.97205,
    "c": 0.07863,
    "h": 118.5
  },
  "luminance": 0.93304
}

Semantic roles & 50–950 ramp

primary
#F0FEC2
secondary
#967EE6
accent
#00E636
background
#FFFFFE
surface
#FEFFFB
border
#D6D7D4
text
#171714
muted
#858583

Preview Lab

Preview with #F0FEC2

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

Preview Lab → · Contrast checker → · Palette generator →

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