#F0FC62#F0FC62

#F0FC62 is a very light, vivid yellow. Relative luminance 0.890; OKLCH L 95.4% C 0.174 H 113.4°. Best body text is #000000 at 18.81:1 contrast (WCAG AA passes).

Color values

HEX#F0FC62
RGBrgb(240, 252, 98)
HSLhsl(65, 96%, 69%)
HSVhsv(65, 61%, 99%)
CMYKcmyk(4.8%, 0%, 61.1%, 1.2%)
CIE-LABlab(95.59, -23.21, 70.11)
CIE-LCHlch(95.59, 73.85, 108.32°)
OKLaboklab(95.4% -0.0693 0.1599)
OKLCHoklch(95.4% 0.174 113.4)
XYZxyz(72.9520, 89.0293, 24.8943)
Luminance0.8903 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F0FC62 #6E62FC
analogous
#FCBB62 #F0FC62 #A3FC62
triadic
#F0FC62 #62F0FC #FC62F0
tetradic
#F0FC62 #62FCBB #6E62FC #FC62A3
square
#F0FC62 #62FCBB #6E62FC #FC62A3
split-complementary
#F0FC62 #62A3FC #BB62FC
monochromatic
#CEDF04 #EAFB26 #F0FC62 #F6FD9E #FBFEDA

Accessibility & contrast

On white

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

On black

18.81
#F0FC62 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F0FC62
18.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F0FC62#FFFFFF#000000##000000
##F0FC621.001.1218.8118.81
#FFFFFF1.121.0021.0021.00
#00000018.8121.001.001.00
##00000018.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF14F
Deuteranopia (green-blind)
#FFF46C
Tritanopia (blue-blind)
#FFEEDC
Achromatopsia (no color)
#F2F2F2

Design tokens & code

CSS
--color: #f0fc62;
/* rgb */ color: rgb(240, 252, 98);
/* oklch */ color: oklch(95.4% 0.174 113.4);
Tailwind
colors: {
  custom: {
    50: '#f8fd95',
    500: '#f0fc62',
    950: '#000000',
  },
}
SCSS
$custom: #f0fc62;
$custom-light: #f8fd95;
$custom-dark: #000000;
JSON
{
  "hex": "#f0fc62",
  "rgb": {
    "r": 240,
    "g": 252,
    "b": 98
  },
  "hsl": {
    "h": 64.675,
    "s": 96.25,
    "l": 68.627
  },
  "oklch": {
    "l": 0.954,
    "c": 0.1743,
    "h": 113.4
  },
  "luminance": 0.89028
}

Semantic roles & 50–950 ramp

primary
#F0FC62
secondary
#392CD6
accent
#00E612
background
#FFFFFC
surface
#FFFFF5
border
#D7D7CF
text
#18170E
muted
#86857F

Preview Lab

Preview with #F0FC62

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

Preview Lab → · Contrast checker → · Palette generator →

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