#F0FB71#F0FB71

#F0FB71 is a very light, vivid yellow. Relative luminance 0.887; OKLCH L 95.3% C 0.161 H 113.2°. Best body text is #000000 at 18.74:1 contrast (WCAG AA passes).

Color values

HEX#F0FB71
RGBrgb(240, 251, 113)
HSLhsl(65, 95%, 71%)
HSVhsv(65, 55%, 98%)
CMYKcmyk(4.4%, 0%, 55%, 1.6%)
CIE-LABlab(95.46, -21.67, 63.68)
CIE-LCHlch(95.46, 67.27, 108.80°)
OKLaboklab(95.34% -0.0635 0.148)
OKLCHoklch(95.34% 0.161 113.2)
XYZxyz(73.4146, 88.7132, 28.8756)
Luminance0.8871 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F0FB71 #7C71FB
analogous
#FBC171 #F0FB71 #ABFB71
triadic
#F0FB71 #71F0FB #FB71F0
tetradic
#F0FB71 #71FBC1 #7C71FB #FB71AB
square
#F0FB71 #71FBC1 #7C71FB #FB71AB
split-complementary
#F0FB71 #71ABFB #C171FB
monochromatic
#D9EB07 #EAF935 #F0FB71 #F6FDAD #FCFEE1

Accessibility & contrast

On white

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

On black

18.74
#F0FB71 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F0FB71
18.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F0FB71#FFFFFF#000000##000000
##F0FB711.001.1218.7418.74
#FFFFFF1.121.0021.0021.00
#00000018.7421.001.001.00
##00000018.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF063
Deuteranopia (green-blind)
#FFF479
Tritanopia (blue-blind)
#FEEEDD
Achromatopsia (no color)
#F2F2F2

Design tokens & code

CSS
--color: #f0fb71;
/* rgb */ color: rgb(240, 251, 113);
/* oklch */ color: oklch(95.3% 0.161 113.2);
Tailwind
colors: {
  custom: {
    50: '#f7fc9e',
    500: '#f0fb71',
    950: '#000000',
  },
}
SCSS
$custom: #f0fb71;
$custom-light: #f7fc9e;
$custom-dark: #000000;
JSON
{
  "hex": "#f0fb71",
  "rgb": {
    "r": 240,
    "g": 251,
    "b": 113
  },
  "hsl": {
    "h": 64.783,
    "s": 94.521,
    "l": 71.373
  },
  "oklch": {
    "l": 0.95336,
    "c": 0.16109,
    "h": 113.2
  },
  "luminance": 0.88712
}

Semantic roles & 50–950 ramp

primary
#F0FB71
secondary
#4639D7
accent
#00E612
background
#FFFFFC
surface
#FFFFF5
border
#D7D7CF
text
#18170F
muted
#868580

Preview Lab

Preview with #F0FB71

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

Preview Lab → · Contrast checker → · Palette generator →

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