#F0FA58#F0FA58

#F0FA58 is a very light, vivid yellow. Relative luminance 0.876; OKLCH L 94.9% C 0.179 H 112.8°. Best body text is #000000 at 18.52:1 contrast (WCAG AA passes).

Color values

HEX#F0FA58
RGBrgb(240, 250, 88)
HSLhsl(64, 94%, 66%)
HSVhsv(64, 65%, 98%)
CMYKcmyk(4%, 0%, 64.8%, 2%)
CIE-LABlab(94.99, -22.87, 73.38)
CIE-LCHlch(94.99, 76.87, 107.31°)
OKLaboklab(94.9% -0.0694 0.1654)
OKLCHoklch(94.9% 0.179 112.8)
XYZxyz(71.8843, 87.6026, 22.3529)
Luminance0.8760 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F0FA58 #6258FA
analogous
#FAB358 #F0FA58 #9FFA58
triadic
#F0FA58 #58F0FA #FA58F0
tetradic
#F0FA58 #58FAB3 #6258FA #FA589F
square
#F0FA58 #58FAB3 #6258FA #FA589F
split-complementary
#F0FA58 #589FFA #B358FA
monochromatic
#C5D106 #EBF81D #F0FA58 #F5FC93 #FBFECF

Accessibility & contrast

On white

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

On black

18.52
#F0FA58 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F0FA58
18.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F0FA58#FFFFFF#000000##000000
##F0FA581.001.1318.5218.52
#FFFFFF1.131.0021.0021.00
#00000018.5221.001.001.00
##00000018.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEF41
Deuteranopia (green-blind)
#FFF263
Tritanopia (blue-blind)
#FFECD9
Achromatopsia (no color)
#F1F1F1

Design tokens & code

CSS
--color: #f0fa58;
/* rgb */ color: rgb(240, 250, 88);
/* oklch */ color: oklch(94.9% 0.179 112.8);
Tailwind
colors: {
  custom: {
    50: '#f8fb8f',
    500: '#f0fa58',
    950: '#000000',
  },
}
SCSS
$custom: #f0fa58;
$custom-light: #f8fb8f;
$custom-dark: #000000;
JSON
{
  "hex": "#f0fa58",
  "rgb": {
    "r": 240,
    "g": 250,
    "b": 88
  },
  "hsl": {
    "h": 63.704,
    "s": 94.186,
    "l": 66.275
  },
  "oklch": {
    "l": 0.94897,
    "c": 0.17939,
    "h": 112.8
  },
  "luminance": 0.87601
}

Semantic roles & 50–950 ramp

primary
#F0FA58
secondary
#342ACC
accent
#00E60E
background
#FFFFFC
surface
#FFFFF4
border
#D7D7CE
text
#18170D
muted
#86857F

Preview Lab

Preview with #F0FA58

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

Preview Lab → · Contrast checker → · Palette generator →

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