#F0FD5B#F0FD5B

#F0FD5B is a very light, vivid yellow. Relative luminance 0.895; OKLCH L 95.6% C 0.180 H 113.7°. Best body text is #000000 at 18.91:1 contrast (WCAG AA passes).

Color values

HEX#F0FD5B
RGBrgb(240, 253, 91)
HSLhsl(65, 98%, 67%)
HSVhsv(65, 64%, 99%)
CMYKcmyk(5.1%, 0%, 64%, 0.8%)
CIE-LABlab(95.80, -24.12, 73.08)
CIE-LCHlch(95.80, 76.95, 108.26°)
OKLaboklab(95.55% -0.0726 0.1652)
OKLCHoklch(95.55% 0.18 113.7)
XYZxyz(72.9507, 89.5326, 23.3341)
Luminance0.8953 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F0FD5B #685BFD
analogous
#FDB95B #F0FD5B #9FFD5B
triadic
#F0FD5B #5BF0FD #FD5BF0
tetradic
#F0FD5B #5BFDB9 #685BFD #FD5B9F
square
#F0FD5B #5BFDB9 #685BFD #FD5B9F
split-complementary
#F0FD5B #5B9FFD #B95BFD
monochromatic
#CADB03 #EAFC1F #F0FD5B #F6FE97 #FBFED4

Accessibility & contrast

On white

1.11
#F0FD5B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.91
#F0FD5B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F0FD5B
18.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F0FD5B#FFFFFF#000000##000000
##F0FD5B1.001.1118.9118.91
#FFFFFF1.111.0021.0021.00
#00000018.9121.001.001.00
##00000018.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF145
Deuteranopia (green-blind)
#FFF566
Tritanopia (blue-blind)
#FFEFDC
Achromatopsia (no color)
#F3F3F3

Design tokens & code

CSS
--color: #f0fd5b;
/* rgb */ color: rgb(240, 253, 91);
/* oklch */ color: oklch(95.6% 0.180 113.7);
Tailwind
colors: {
  custom: {
    50: '#f8fd91',
    500: '#f0fd5b',
    950: '#000000',
  },
}
SCSS
$custom: #f0fd5b;
$custom-light: #f8fd91;
$custom-dark: #000000;
JSON
{
  "hex": "#f0fd5b",
  "rgb": {
    "r": 240,
    "g": 253,
    "b": 91
  },
  "hsl": {
    "h": 64.815,
    "s": 97.59,
    "l": 67.451
  },
  "oklch": {
    "l": 0.95551,
    "c": 0.18046,
    "h": 113.7
  },
  "luminance": 0.89531
}

Semantic roles & 50–950 ramp

primary
#F0FD5B
secondary
#3628D4
accent
#00E612
background
#FFFFFC
surface
#FFFFF4
border
#D7D7CE
text
#18170D
muted
#86857F

Preview Lab

Preview with #F0FD5B

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

Preview Lab → · Contrast checker → · Palette generator →

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