#F0FA95#F0FA95

#F0FA95 is a very light, vivid yellow. Relative luminance 0.891; OKLCH L 95.6% C 0.125 H 113.4°. Best body text is #000000 at 18.81:1 contrast (WCAG AA passes).

Color values

HEX#F0FA95
RGBrgb(240, 250, 149)
HSLhsl(66, 91%, 78%)
HSVhsv(66, 40%, 98%)
CMYKcmyk(4%, 0%, 40.4%, 2%)
CIE-LABlab(95.61, -17.91, 47.26)
CIE-LCHlch(95.61, 50.54, 110.76°)
OKLaboklab(95.59% -0.0496 0.1148)
OKLCHoklch(95.59% 0.125 113.4)
XYZxyz(75.5464, 89.0674, 41.6399)
Luminance0.8907 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F0FA95 #9F95FA
analogous
#FAD295 #F0FA95 #BDFA95
triadic
#F0FA95 #95F0FA #FA95F0
tetradic
#F0FA95 #95FAD2 #9F95FA #FA95BD
square
#F0FA95 #95FAD2 #9F95FA #FA95BD
split-complementary
#F0FA95 #95BDFA #D295FA
monochromatic
#DFF420 #E8F75B #F0FA95 #F8FDCF #FBFEE2

Accessibility & contrast

On white

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

On black

18.81
#F0FA95 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F0FA95
18.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F0FA95#FFFFFF#000000##000000
##F0FA951.001.1218.8118.81
#FFFFFF1.121.0021.0021.00
#00000018.8121.001.001.00
##00000018.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF18D
Deuteranopia (green-blind)
#FFF49A
Tritanopia (blue-blind)
#FBEFE1
Achromatopsia (no color)
#F2F2F2

Design tokens & code

CSS
--color: #f0fa95;
/* rgb */ color: rgb(240, 250, 149);
/* oklch */ color: oklch(95.6% 0.125 113.4);
Tailwind
colors: {
  custom: {
    50: '#f6fbb5',
    500: '#f0fa95',
    950: '#000000',
  },
}
SCSS
$custom: #f0fa95;
$custom-light: #f6fbb5;
$custom-dark: #000000;
JSON
{
  "hex": "#f0fa95",
  "rgb": {
    "r": 240,
    "g": 250,
    "b": 149
  },
  "hsl": {
    "h": 65.941,
    "s": 90.991,
    "l": 78.235
  },
  "oklch": {
    "l": 0.95587,
    "c": 0.12504,
    "h": 113.4
  },
  "luminance": 0.89066
}

Semantic roles & 50–950 ramp

primary
#F0FA95
secondary
#6659DA
accent
#00E617
background
#FFFFFD
surface
#FFFFF8
border
#D7D7D1
text
#171711
muted
#858581

Preview Lab

Preview with #F0FA95

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

Preview Lab → · Contrast checker → · Palette generator →

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