#F0FB6B#F0FB6B

#F0FB6B is a very light, vivid yellow. Relative luminance 0.886; OKLCH L 95.3% C 0.166 H 113.2°. Best body text is #000000 at 18.72:1 contrast (WCAG AA passes).

Color values

HEX#F0FB6B
RGBrgb(240, 251, 107)
HSLhsl(65, 95%, 70%)
HSVhsv(65, 57%, 98%)
CMYKcmyk(4.4%, 0%, 57.4%, 1.6%)
CIE-LABlab(95.41, -22.12, 66.19)
CIE-LCHlch(95.41, 69.79, 108.48°)
OKLaboklab(95.28% -0.0654 0.1527)
OKLCHoklch(95.28% 0.166 113.2)
XYZxyz(73.0879, 88.5825, 27.1550)
Luminance0.8858 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F0FB6B #766BFB
analogous
#FBBE6B #F0FB6B #A8FB6B
triadic
#F0FB6B #6BF0FB #FB6BF0
tetradic
#F0FB6B #6BFBBE #766BFB #FB6BA8
square
#F0FB6B #6BFBBE #766BFB #FB6BA8
split-complementary
#F0FB6B #6BA8FB #BE6BFB
monochromatic
#D4E506 #EAF92F #F0FB6B #F6FDA7 #FCFEE1

Accessibility & contrast

On white

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

On black

18.72
#F0FB6B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F0FB6B
18.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F0FB6B#FFFFFF#000000##000000
##F0FB6B1.001.1218.7218.72
#FFFFFF1.121.0021.0021.00
#00000018.7221.001.001.00
##00000018.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF05B
Deuteranopia (green-blind)
#FFF374
Tritanopia (blue-blind)
#FEEEDC
Achromatopsia (no color)
#F2F2F2

Design tokens & code

CSS
--color: #f0fb6b;
/* rgb */ color: rgb(240, 251, 107);
/* oklch */ color: oklch(95.3% 0.166 113.2);
Tailwind
colors: {
  custom: {
    50: '#f8fc9a',
    500: '#f0fb6b',
    950: '#000000',
  },
}
SCSS
$custom: #f0fb6b;
$custom-light: #f8fc9a;
$custom-dark: #000000;
JSON
{
  "hex": "#f0fb6b",
  "rgb": {
    "r": 240,
    "g": 251,
    "b": 107
  },
  "hsl": {
    "h": 64.583,
    "s": 94.737,
    "l": 70.196
  },
  "oklch": {
    "l": 0.95275,
    "c": 0.16613,
    "h": 113.2
  },
  "luminance": 0.88581
}

Semantic roles & 50–950 ramp

primary
#F0FB6B
secondary
#4134D6
accent
#00E612
background
#FFFFFC
surface
#FFFFF5
border
#D7D7CF
text
#18170E
muted
#86857F

Preview Lab

Preview with #F0FB6B

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

Preview Lab → · Contrast checker → · Palette generator →

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