#F0FB56#F0FB56

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

Color values

HEX#F0FB56
RGBrgb(240, 251, 86)
HSLhsl(64, 95%, 66%)
HSVhsv(64, 66%, 98%)
CMYKcmyk(4.4%, 0%, 65.7%, 1.6%)
CIE-LABlab(95.24, -23.46, 74.39)
CIE-LCHlch(95.24, 78.00, 107.50°)
OKLaboklab(95.09% -0.0712 0.1673)
OKLCHoklch(95.09% 0.182 113.1)
XYZxyz(72.1141, 88.1930, 22.0264)
Luminance0.8819 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F0FB56 #6156FB
analogous
#FBB356 #F0FB56 #9DFB56
triadic
#F0FB56 #56F0FB #FB56F0
tetradic
#F0FB56 #56FBB3 #6156FB #FB569D
square
#F0FB56 #56FBB3 #6156FB #FB569D
split-complementary
#F0FB56 #569DFB #B356FB
monochromatic
#C4D205 #EBFA1A #F0FB56 #F5FC92 #FBFECE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##F0FB56#FFFFFF#000000##000000
##F0FB561.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)
#FFF03E
Deuteranopia (green-blind)
#FFF362
Tritanopia (blue-blind)
#FFEDDA
Achromatopsia (no color)
#F1F1F1

Design tokens & code

CSS
--color: #f0fb56;
/* rgb */ color: rgb(240, 251, 86);
/* oklch */ color: oklch(95.1% 0.182 113.1);
Tailwind
colors: {
  custom: {
    50: '#f8fc8e',
    500: '#f0fb56',
    950: '#000000',
  },
}
SCSS
$custom: #f0fb56;
$custom-light: #f8fc8e;
$custom-dark: #000000;
JSON
{
  "hex": "#f0fb56",
  "rgb": {
    "r": 240,
    "g": 251,
    "b": 86
  },
  "hsl": {
    "h": 64,
    "s": 95.376,
    "l": 66.078
  },
  "oklch": {
    "l": 0.95091,
    "c": 0.18178,
    "h": 113.1
  },
  "luminance": 0.88192
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #F0FB56

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

Preview Lab → · Contrast checker → · Palette generator →

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