#F0FA71#F0FA71

#F0FA71 is a very light, vivid yellow. Relative luminance 0.881; OKLCH L 95.1% C 0.160 H 112.9°. Best body text is #000000 at 18.62:1 contrast (WCAG AA passes).

Color values

HEX#F0FA71
RGBrgb(240, 250, 113)
HSLhsl(64, 93%, 71%)
HSVhsv(64, 55%, 98%)
CMYKcmyk(4%, 0%, 54.8%, 2%)
CIE-LABlab(95.20, -21.20, 63.38)
CIE-LCHlch(95.20, 66.83, 108.49°)
OKLaboklab(95.13% -0.0622 0.1474)
OKLCHoklch(95.13% 0.16 112.9)
XYZxyz(73.1030, 88.0901, 28.7717)
Luminance0.8809 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F0FA71 #7B71FA
analogous
#FABF71 #F0FA71 #ABFA71
triadic
#F0FA71 #71F0FA #FA71F0
tetradic
#F0FA71 #71FABF #7B71FA #FA71AB
square
#F0FA71 #71FABF #7B71FA #FA71AB
split-complementary
#F0FA71 #71ABFA #BF71FA
monochromatic
#D8E808 #EAF836 #F0FA71 #F6FCAC #FCFEE1

Accessibility & contrast

On white

1.13
#F0FA71 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.62
#F0FA71 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F0FA71
18.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F0FA71#FFFFFF#000000##000000
##F0FA711.001.1318.6218.62
#FFFFFF1.131.0021.0021.00
#00000018.6221.001.001.00
##00000018.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF063
Deuteranopia (green-blind)
#FFF379
Tritanopia (blue-blind)
#FEEDDC
Achromatopsia (no color)
#F1F1F1

Design tokens & code

CSS
--color: #f0fa71;
/* rgb */ color: rgb(240, 250, 113);
/* oklch */ color: oklch(95.1% 0.160 112.9);
Tailwind
colors: {
  custom: {
    50: '#f7fb9e',
    500: '#f0fa71',
    950: '#000000',
  },
}
SCSS
$custom: #f0fa71;
$custom-light: #f7fb9e;
$custom-dark: #000000;
JSON
{
  "hex": "#f0fa71",
  "rgb": {
    "r": 240,
    "g": 250,
    "b": 113
  },
  "hsl": {
    "h": 64.38,
    "s": 93.197,
    "l": 71.176
  },
  "oklch": {
    "l": 0.95127,
    "c": 0.15998,
    "h": 112.9
  },
  "luminance": 0.88089
}

Semantic roles & 50–950 ramp

primary
#F0FA71
secondary
#453AD5
accent
#00E611
background
#FFFFFC
surface
#FFFFF5
border
#D7D7CF
text
#18170F
muted
#868580

Preview Lab

Preview with #F0FA71

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

Preview Lab → · Contrast checker → · Palette generator →

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