#F0FB5D#F0FB5D

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

Color values

HEX#F0FB5D
RGBrgb(240, 251, 93)
HSLhsl(64, 95%, 67%)
HSVhsv(64, 63%, 98%)
CMYKcmyk(4.4%, 0%, 62.9%, 1.6%)
CIE-LABlab(95.29, -23.05, 71.77)
CIE-LCHlch(95.29, 75.38, 107.80°)
OKLaboklab(95.15% -0.0694 0.1627)
OKLCHoklch(95.15% 0.177 113.1)
XYZxyz(72.4101, 88.3114, 23.5852)
Luminance0.8831 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F0FB5D #685DFB
analogous
#FBB75D #F0FB5D #A1FB5D
triadic
#F0FB5D #5DF0FB #FB5DF0
tetradic
#F0FB5D #5DFBB7 #685DFB #FB5DA1
square
#F0FB5D #5DFBB7 #685DFB #FB5DA1
split-complementary
#F0FB5D #5DA1FB #B75DFB
monochromatic
#CAD805 #EAFA21 #F0FB5D #F6FC99 #FBFED4

Accessibility & contrast

On white

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

On black

18.66
#F0FB5D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F0FB5D
18.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F0FB5D#FFFFFF#000000##000000
##F0FB5D1.001.1318.6618.66
#FFFFFF1.131.0021.0021.00
#00000018.6621.001.001.00
##00000018.6621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #f0fb5d;
/* rgb */ color: rgb(240, 251, 93);
/* oklch */ color: oklch(95.1% 0.177 113.1);
Tailwind
colors: {
  custom: {
    50: '#f8fc92',
    500: '#f0fb5d',
    950: '#000000',
  },
}
SCSS
$custom: #f0fb5d;
$custom-light: #f8fc92;
$custom-dark: #000000;
JSON
{
  "hex": "#f0fb5d",
  "rgb": {
    "r": 240,
    "g": 251,
    "b": 93
  },
  "hsl": {
    "h": 64.177,
    "s": 95.181,
    "l": 67.451
  },
  "oklch": {
    "l": 0.95147,
    "c": 0.17692,
    "h": 113.1
  },
  "luminance": 0.8831
}

Semantic roles & 50–950 ramp

primary
#F0FB5D
secondary
#362AD2
accent
#00E610
background
#FFFFFC
surface
#FFFFF4
border
#D7D7CE
text
#18170D
muted
#86857F

Preview Lab

Preview with #F0FB5D

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

Preview Lab → · Contrast checker → · Palette generator →

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