#F0FE97#F0FE97

#F0FE97 is a very light, vivid yellow. Relative luminance 0.916; OKLCH L 96.4% C 0.128 H 115.2°. Best body text is #000000 at 19.33:1 contrast (WCAG AA passes).

Color values

HEX#F0FE97
RGBrgb(240, 254, 151)
HSLhsl(68, 98%, 79%)
HSVhsv(68, 41%, 100%)
CMYKcmyk(5.5%, 0%, 40.6%, 0.4%)
CIE-LABlab(96.67, -19.63, 47.64)
CIE-LCHlch(96.67, 51.52, 112.40°)
OKLaboklab(96.45% -0.0544 0.1157)
OKLCHoklch(96.45% 0.128 115.2)
XYZxyz(76.9635, 91.6441, 42.9068)
Luminance0.9164 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F0FE97 #A597FE
analogous
#FED897 #F0FE97 #BDFE97
triadic
#F0FE97 #97F0FE #FE97F0
tetradic
#F0FE97 #97FED8 #A597FE #FE97BD
square
#F0FE97 #97FED8 #A597FE #FE97BD
split-complementary
#F0FE97 #97BDFE #D897FE
monochromatic
#DFFD1E #E7FD5A #F0FE97 #F9FFD4 #FBFFE1

Accessibility & contrast

On white

1.09
#F0FE97 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

19.33
#F0FE97 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F0FE97
19.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F0FE97#FFFFFF#000000##000000
##F0FE971.001.0919.3319.33
#FFFFFF1.091.0021.0021.00
#00000019.3321.001.001.00
##00000019.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF58F
Deuteranopia (green-blind)
#FFF69C
Tritanopia (blue-blind)
#FBF3E5
Achromatopsia (no color)
#F5F5F5

Design tokens & code

CSS
--color: #f0fe97;
/* rgb */ color: rgb(240, 254, 151);
/* oklch */ color: oklch(96.4% 0.128 115.2);
Tailwind
colors: {
  custom: {
    50: '#f6feb7',
    500: '#f0fe97',
    950: '#000000',
  },
}
SCSS
$custom: #f0fe97;
$custom-light: #f6feb7;
$custom-dark: #000000;
JSON
{
  "hex": "#f0fe97",
  "rgb": {
    "r": 240,
    "g": 254,
    "b": 151
  },
  "hsl": {
    "h": 68.155,
    "s": 98.095,
    "l": 79.412
  },
  "oklch": {
    "l": 0.96446,
    "c": 0.12786,
    "h": 115.2
  },
  "luminance": 0.91643
}

Semantic roles & 50–950 ramp

primary
#F0FE97
secondary
#6B59E0
accent
#00E61F
background
#FFFFFD
surface
#FFFFF8
border
#D7D7D1
text
#171711
muted
#858581

Preview Lab

Preview with #F0FE97

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

Preview Lab → · Contrast checker → · Palette generator →

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