#F0FB61#F0FB61

#F0FB61 is a very light, vivid yellow. Relative luminance 0.884; OKLCH L 95.2% C 0.174 H 113.1°. Best body text is #000000 at 18.68:1 contrast (WCAG AA passes).

Color values

HEX#F0FB61
RGBrgb(240, 251, 97)
HSLhsl(64, 95%, 68%)
HSVhsv(64, 61%, 98%)
CMYKcmyk(4.4%, 0%, 61.4%, 1.6%)
CIE-LABlab(95.32, -22.80, 70.22)
CIE-LCHlch(95.32, 73.83, 107.99°)
OKLaboklab(95.18% -0.0683 0.16)
OKLCHoklch(95.18% 0.174 113.1)
XYZxyz(72.5919, 88.3841, 24.5428)
Luminance0.8838 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F0FB61 #6C61FB
analogous
#FBB961 #F0FB61 #A3FB61
triadic
#F0FB61 #61F0FB #FB61F0
tetradic
#F0FB61 #61FBB9 #6C61FB #FB61A3
square
#F0FB61 #61FBB9 #6C61FB #FB61A3
split-complementary
#F0FB61 #61A3FB #B961FB
monochromatic
#CDDC06 #EAF925 #F0FB61 #F6FD9D #FBFED8

Accessibility & contrast

On white

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

On black

18.68
#F0FB61 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F0FB61
18.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F0FB61#FFFFFF#000000##000000
##F0FB611.001.1218.6818.68
#FFFFFF1.121.0021.0021.00
#00000018.6821.001.001.00
##00000018.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF04E
Deuteranopia (green-blind)
#FFF36B
Tritanopia (blue-blind)
#FFEDDB
Achromatopsia (no color)
#F2F2F2

Design tokens & code

CSS
--color: #f0fb61;
/* rgb */ color: rgb(240, 251, 97);
/* oklch */ color: oklch(95.2% 0.174 113.1);
Tailwind
colors: {
  custom: {
    50: '#f8fc94',
    500: '#f0fb61',
    950: '#000000',
  },
}
SCSS
$custom: #f0fb61;
$custom-light: #f8fc94;
$custom-dark: #000000;
JSON
{
  "hex": "#f0fb61",
  "rgb": {
    "r": 240,
    "g": 251,
    "b": 97
  },
  "hsl": {
    "h": 64.286,
    "s": 95.062,
    "l": 68.235
  },
  "oklch": {
    "l": 0.95181,
    "c": 0.17398,
    "h": 113.1
  },
  "luminance": 0.88383
}

Semantic roles & 50–950 ramp

primary
#F0FB61
secondary
#382CD5
accent
#00E610
background
#FFFFFC
surface
#FFFFF5
border
#D7D7CF
text
#18170E
muted
#86857F

Preview Lab

Preview with #F0FB61

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

Preview Lab → · Contrast checker → · Palette generator →

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