#F0FB5E#F0FB5E

#F0FB5E is a very light, vivid yellow. Relative luminance 0.883; OKLCH L 95.2% C 0.176 H 113.1°. Best body text is #000000 at 18.67:1 contrast (WCAG AA passes).

Color values

HEX#F0FB5E
RGBrgb(240, 251, 94)
HSLhsl(64, 95%, 68%)
HSVhsv(64, 63%, 98%)
CMYKcmyk(4.4%, 0%, 62.5%, 1.6%)
CIE-LABlab(95.30, -22.99, 71.39)
CIE-LCHlch(95.30, 75.00, 107.85°)
OKLaboklab(95.16% -0.0691 0.1621)
OKLCHoklch(95.16% 0.176 113.1)
XYZxyz(72.4546, 88.3292, 23.8200)
Luminance0.8833 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F0FB5E #695EFB
analogous
#FBB85E #F0FB5E #A1FB5E
triadic
#F0FB5E #5EF0FB #FB5EF0
tetradic
#F0FB5E #5EFBB8 #695EFB #FB5EA1
square
#F0FB5E #5EFBB8 #695EFB #FB5EA1
split-complementary
#F0FB5E #5EA1FB #B85EFB
monochromatic
#CAD905 #EAFA22 #F0FB5E #F6FC9A #FBFED5

Accessibility & contrast

On white

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

On black

18.67
#F0FB5E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F0FB5E
18.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F0FB5E#FFFFFF#000000##000000
##F0FB5E1.001.1318.6718.67
#FFFFFF1.131.0021.0021.00
#00000018.6721.001.001.00
##00000018.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF04A
Deuteranopia (green-blind)
#FFF368
Tritanopia (blue-blind)
#FFEDDB
Achromatopsia (no color)
#F1F1F1

Design tokens & code

CSS
--color: #f0fb5e;
/* rgb */ color: rgb(240, 251, 94);
/* oklch */ color: oklch(95.2% 0.176 113.1);
Tailwind
colors: {
  custom: {
    50: '#f8fc92',
    500: '#f0fb5e',
    950: '#000000',
  },
}
SCSS
$custom: #f0fb5e;
$custom-light: #f8fc92;
$custom-dark: #000000;
JSON
{
  "hex": "#f0fb5e",
  "rgb": {
    "r": 240,
    "g": 251,
    "b": 94
  },
  "hsl": {
    "h": 64.204,
    "s": 95.152,
    "l": 67.647
  },
  "oklch": {
    "l": 0.95156,
    "c": 0.17619,
    "h": 113.1
  },
  "luminance": 0.88328
}

Semantic roles & 50–950 ramp

primary
#F0FB5E
secondary
#362AD3
accent
#00E610
background
#FFFFFC
surface
#FFFFF5
border
#D7D7CF
text
#18170D
muted
#86857F

Preview Lab

Preview with #F0FB5E

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

Preview Lab → · Contrast checker → · Palette generator →

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