#F0FCE2#F0FCE2

#F0FCE2 is a very light, muted yellow-green. Relative luminance 0.936; OKLCH L 97.5% C 0.036 H 127.4°. Best body text is #000000 at 19.73:1 contrast (WCAG AA passes).

Color values

HEX#F0FCE2
RGBrgb(240, 252, 226)
HSLhsl(88, 81%, 94%)
HSVhsv(88, 10%, 99%)
CMYKcmyk(4.8%, 0%, 10.3%, 1.2%)
CIE-LABlab(97.49, -8.44, 11.11)
CIE-LCHlch(97.49, 13.95, 127.24°)
OKLaboklab(97.53% -0.0221 0.0289)
OKLCHoklch(97.53% 0.036 127.4)
XYZxyz(84.4709, 93.6369, 85.5603)
Luminance0.9364 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F0FCE2 #EEE2FC
analogous
#FCFBE2 #F0FCE2 #E3FCE2
triadic
#F0FCE2 #E2F0FC #FCE2F0
tetradic
#F0FCE2 #E2FCFB #EEE2FC #FCE2E3
square
#F0FCE2 #E2FCFB #EEE2FC #FCE2E3
split-complementary
#F0FCE2 #E2E3FC #FBE2FC
monochromatic
#B7F173 #D3F6AB #F0FCE2 #F1FCE3 #F1FCE3

Accessibility & contrast

On white

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

On black

19.73
#F0FCE2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F0FCE2
19.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F0FCE2#FFFFFF#000000##000000
##F0FCE21.001.0619.7319.73
#FFFFFF1.061.0021.0021.00
#00000019.7321.001.001.00
##00000019.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF8E1
Deuteranopia (green-blind)
#FDF8E3
Tritanopia (blue-blind)
#F1F9F4
Achromatopsia (no color)
#F8F8F8

Design tokens & code

CSS
--color: #f0fce2;
/* rgb */ color: rgb(240, 252, 226);
/* oklch */ color: oklch(97.5% 0.036 127.4);
Tailwind
colors: {
  custom: {
    50: '#f5fdeb',
    500: '#f0fce2',
    950: '#000000',
  },
}
SCSS
$custom: #f0fce2;
$custom-light: #f5fdeb;
$custom-dark: #000000;
JSON
{
  "hex": "#f0fce2",
  "rgb": {
    "r": 240,
    "g": 252,
    "b": 226
  },
  "hsl": {
    "h": 87.692,
    "s": 81.25,
    "l": 93.725
  },
  "oklch": {
    "l": 0.97525,
    "c": 0.03638,
    "h": 127.4
  },
  "luminance": 0.93637
}

Semantic roles & 50–950 ramp

primary
#F0FCE2
secondary
#BE9EE4
accent
#08DE6B
background
#FFFFFE
surface
#FEFFFD
border
#D6D7D5
text
#171716
muted
#858584

Preview Lab

Preview with #F0FCE2

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

Preview Lab → · Contrast checker → · Palette generator →

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