#F0FC86#F0FC86

#F0FC86 is a very light, vivid yellow. Relative luminance 0.899; OKLCH L 95.8% C 0.143 H 113.9°. Best body text is #000000 at 18.97:1 contrast (WCAG AA passes).

Color values

HEX#F0FC86
RGBrgb(240, 252, 134)
HSLhsl(66, 95%, 76%)
HSVhsv(66, 47%, 99%)
CMYKcmyk(4.8%, 0%, 46.8%, 1.2%)
CIE-LABlab(95.94, -20.37, 54.78)
CIE-LCHlch(95.94, 58.45, 110.40°)
OKLaboklab(95.79% -0.0578 0.1306)
OKLCHoklch(95.79% 0.143 113.9)
XYZxyz(75.0498, 89.8684, 35.9424)
Luminance0.8987 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F0FC86 #9286FC
analogous
#FCCD86 #F0FC86 #B5FC86
triadic
#F0FC86 #86F0FC #FC86F0
tetradic
#F0FC86 #86FCCD #9286FC #FC86B5
square
#F0FC86 #86FCCD #9286FC #FC86B5
split-complementary
#F0FC86 #86B5FC #CD86FC
monochromatic
#E1F90F #E9FB4A #F0FC86 #F7FDC2 #FBFEE1

Accessibility & contrast

On white

1.11
#F0FC86 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.97
#F0FC86 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F0FC86
18.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F0FC86#FFFFFF#000000##000000
##F0FC861.001.1118.9718.97
#FFFFFF1.111.0021.0021.00
#00000018.9721.001.001.00
##00000018.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF27C
Deuteranopia (green-blind)
#FFF58C
Tritanopia (blue-blind)
#FCF0E1
Achromatopsia (no color)
#F3F3F3

Design tokens & code

CSS
--color: #f0fc86;
/* rgb */ color: rgb(240, 252, 134);
/* oklch */ color: oklch(95.8% 0.143 113.9);
Tailwind
colors: {
  custom: {
    50: '#f7fdab',
    500: '#f0fc86',
    950: '#000000',
  },
}
SCSS
$custom: #f0fc86;
$custom-light: #f7fdab;
$custom-dark: #000000;
JSON
{
  "hex": "#f0fc86",
  "rgb": {
    "r": 240,
    "g": 252,
    "b": 134
  },
  "hsl": {
    "h": 66.102,
    "s": 95.161,
    "l": 75.686
  },
  "oklch": {
    "l": 0.95792,
    "c": 0.14285,
    "h": 113.9
  },
  "luminance": 0.89867
}

Semantic roles & 50–950 ramp

primary
#F0FC86
secondary
#5A4BDB
accent
#00E617
background
#FFFFFD
surface
#FFFFF7
border
#D7D7D0
text
#171710
muted
#858581

Preview Lab

Preview with #F0FC86

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

Preview Lab → · Contrast checker → · Palette generator →

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