#F0FA86#F0FA86

#F0FA86 is a very light, vivid yellow. Relative luminance 0.886; OKLCH L 95.4% C 0.140 H 113.1°. Best body text is #000000 at 18.72:1 contrast (WCAG AA passes).

Color values

HEX#F0FA86
RGBrgb(240, 250, 134)
HSLhsl(65, 92%, 75%)
HSVhsv(65, 46%, 98%)
CMYKcmyk(4%, 0%, 46.4%, 2%)
CIE-LABlab(95.42, -19.41, 54.15)
CIE-LCHlch(95.42, 57.52, 109.72°)
OKLaboklab(95.38% -0.0551 0.1292)
OKLCHoklch(95.38% 0.14 113.1)
XYZxyz(74.4250, 88.6189, 35.7341)
Luminance0.8862 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F0FA86 #9086FA
analogous
#FACA86 #F0FA86 #B6FA86
triadic
#F0FA86 #86F0FA #FA86F0
tetradic
#F0FA86 #86FACA #9086FA #FA86B6
square
#F0FA86 #86FACA #9086FA #FA86B6
split-complementary
#F0FA86 #86B6FA #CA86FA
monochromatic
#E1F510 #E9F84B #F0FA86 #F7FCC1 #FBFEE2

Accessibility & contrast

On white

1.12
#F0FA86 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.72
#F0FA86 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F0FA86
18.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F0FA86#FFFFFF#000000##000000
##F0FA861.001.1218.7218.72
#FFFFFF1.121.0021.0021.00
#00000018.7221.001.001.00
##00000018.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF07C
Deuteranopia (green-blind)
#FFF38C
Tritanopia (blue-blind)
#FDEEDF
Achromatopsia (no color)
#F2F2F2

Design tokens & code

CSS
--color: #f0fa86;
/* rgb */ color: rgb(240, 250, 134);
/* oklch */ color: oklch(95.4% 0.140 113.1);
Tailwind
colors: {
  custom: {
    50: '#f7fbab',
    500: '#f0fa86',
    950: '#000000',
  },
}
SCSS
$custom: #f0fa86;
$custom-light: #f7fbab;
$custom-dark: #000000;
JSON
{
  "hex": "#f0fa86",
  "rgb": {
    "r": 240,
    "g": 250,
    "b": 134
  },
  "hsl": {
    "h": 65.172,
    "s": 92.063,
    "l": 75.294
  },
  "oklch": {
    "l": 0.95376,
    "c": 0.14048,
    "h": 113.1
  },
  "luminance": 0.88618
}

Semantic roles & 50–950 ramp

primary
#F0FA86
secondary
#584CD8
accent
#00E614
background
#FFFFFD
surface
#FFFFF7
border
#D7D7D0
text
#171710
muted
#858581

Preview Lab

Preview with #F0FA86

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

Preview Lab → · Contrast checker → · Palette generator →

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