#F0FB58#F0FB58

#F0FB58 is a very light, vivid yellow. Relative luminance 0.882; OKLCH L 95.1% C 0.180 H 113.1°. Best body text is #000000 at 18.64:1 contrast (WCAG AA passes).

Color values

HEX#F0FB58
RGBrgb(240, 251, 88)
HSLhsl(64, 95%, 66%)
HSVhsv(64, 65%, 98%)
CMYKcmyk(4.4%, 0%, 64.9%, 1.6%)
CIE-LABlab(95.26, -23.35, 73.65)
CIE-LCHlch(95.26, 77.27, 107.59°)
OKLaboklab(95.11% -0.0707 0.166)
OKLCHoklch(95.11% 0.18 113.1)
XYZxyz(72.1958, 88.2257, 22.4567)
Luminance0.8822 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F0FB58 #6358FB
analogous
#FBB558 #F0FB58 #9FFB58
triadic
#F0FB58 #58F0FB #FB58F0
tetradic
#F0FB58 #58FBB5 #6358FB #FB589F
square
#F0FB58 #58FBB5 #6358FB #FB589F
split-complementary
#F0FB58 #589FFB #B558FB
monochromatic
#C6D405 #EBFA1C #F0FB58 #F5FC94 #FBFED0

Accessibility & contrast

On white

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

On black

18.64
#F0FB58 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F0FB58
18.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F0FB58#FFFFFF#000000##000000
##F0FB581.001.1318.6418.64
#FFFFFF1.131.0021.0021.00
#00000018.6421.001.001.00
##00000018.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF041
Deuteranopia (green-blind)
#FFF363
Tritanopia (blue-blind)
#FFEDDA
Achromatopsia (no color)
#F1F1F1

Design tokens & code

CSS
--color: #f0fb58;
/* rgb */ color: rgb(240, 251, 88);
/* oklch */ color: oklch(95.1% 0.180 113.1);
Tailwind
colors: {
  custom: {
    50: '#f8fc8f',
    500: '#f0fb58',
    950: '#000000',
  },
}
SCSS
$custom: #f0fb58;
$custom-light: #f8fc8f;
$custom-dark: #000000;
JSON
{
  "hex": "#f0fb58",
  "rgb": {
    "r": 240,
    "g": 251,
    "b": 88
  },
  "hsl": {
    "h": 64.049,
    "s": 95.322,
    "l": 66.471
  },
  "oklch": {
    "l": 0.95107,
    "c": 0.18043,
    "h": 113.1
  },
  "luminance": 0.88224
}

Semantic roles & 50–950 ramp

primary
#F0FB58
secondary
#3429CE
accent
#00E60F
background
#FFFFFC
surface
#FFFFF4
border
#D7D7CE
text
#18170D
muted
#86857F

Preview Lab

Preview with #F0FB58

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

Preview Lab → · Contrast checker → · Palette generator →

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