#F0FF99#F0FF99

#F0FF99 is a very light, vivid yellow. Relative luminance 0.923; OKLCH L 96.7% C 0.127 H 115.7°. Best body text is #000000 at 19.47:1 contrast (WCAG AA passes).

Color values

HEX#F0FF99
RGBrgb(240, 255, 153)
HSLhsl(69, 100%, 80%)
HSVhsv(69, 40%, 100%)
CMYKcmyk(5.9%, 0%, 40%, 0%)
CIE-LABlab(96.96, -19.90, 47.04)
CIE-LCHlch(96.96, 51.07, 112.93°)
OKLaboklab(96.68% -0.055 0.1145)
OKLCHoklch(96.68% 0.127 115.7)
XYZxyz(77.4455, 92.3459, 43.8755)
Luminance0.9234 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F0FF99 #A899FF
analogous
#FFDB99 #F0FF99 #BDFF99
triadic
#F0FF99 #99F0FF #FF99F0
tetradic
#F0FF99 #99FFDB #A899FF #FF99BD
square
#F0FF99 #99FFDB #A899FF #FF99BD
split-complementary
#F0FF99 #99BDFF #DB99FF
monochromatic
#DEFF1F #E7FF5C #F0FF99 #F9FFD6 #FAFFE0

Accessibility & contrast

On white

1.08
#F0FF99 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

19.47
#F0FF99 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F0FF99
19.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F0FF99#FFFFFF#000000##000000
##F0FF991.001.0819.4719.47
#FFFFFF1.081.0021.0021.00
#00000019.4721.001.001.00
##00000019.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF691
Deuteranopia (green-blind)
#FFF79E
Tritanopia (blue-blind)
#FBF5E6
Achromatopsia (no color)
#F6F6F6

Design tokens & code

CSS
--color: #f0ff99;
/* rgb */ color: rgb(240, 255, 153);
/* oklch */ color: oklch(96.7% 0.127 115.7);
Tailwind
colors: {
  custom: {
    50: '#f6ffb8',
    500: '#f0ff99',
    950: '#000000',
  },
}
SCSS
$custom: #f0ff99;
$custom-light: #f6ffb8;
$custom-dark: #000000;
JSON
{
  "hex": "#f0ff99",
  "rgb": {
    "r": 240,
    "g": 255,
    "b": 153
  },
  "hsl": {
    "h": 68.824,
    "s": 100,
    "l": 80
  },
  "oklch": {
    "l": 0.96683,
    "c": 0.12699,
    "h": 115.7
  },
  "luminance": 0.92345
}

Semantic roles & 50–950 ramp

primary
#F0FF99
secondary
#6E5AE2
accent
#00E622
background
#FFFFFD
surface
#FFFFF8
border
#D7D7D1
text
#171811
muted
#858681

Preview Lab

Preview with #F0FF99

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

Preview Lab → · Contrast checker → · Palette generator →

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