#F0FC4B#F0FC4B

#F0FC4B is a very light, vivid yellow. Relative luminance 0.887; OKLCH L 95.2% C 0.190 H 113.3°. Best body text is #000000 at 18.73:1 contrast (WCAG AA passes).

Color values

HEX#F0FC4B
RGBrgb(240, 252, 75)
HSLhsl(64, 97%, 64%)
HSVhsv(64, 70%, 99%)
CMYKcmyk(4.8%, 0%, 70.2%, 1.2%)
CIE-LABlab(95.44, -24.50, 78.49)
CIE-LCHlch(95.44, 82.23, 107.33°)
OKLaboklab(95.23% -0.0751 0.1742)
OKLCHoklch(95.23% 0.19 113.3)
XYZxyz(72.0177, 88.6556, 19.9737)
Luminance0.8865 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F0FC4B #574BFC
analogous
#FCB04B #F0FC4B #98FC4B
triadic
#F0FC4B #4BF0FC #FC4BF0
tetradic
#F0FC4B #4BFCB0 #574BFC #FC4B98
square
#F0FC4B #4BFCB0 #574BFC #FC4B98
split-complementary
#F0FC4B #4B98FC #B04BFC
monochromatic
#BCC903 #EBFB0F #F0FC4B #F5FD87 #FAFEC3

Accessibility & contrast

On white

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

On black

18.73
#F0FC4B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F0FC4B
18.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F0FC4B#FFFFFF#000000##000000
##F0FC4B1.001.1218.7318.73
#FFFFFF1.121.0021.0021.00
#00000018.7321.001.001.00
##00000018.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF02B
Deuteranopia (green-blind)
#FFF459
Tritanopia (blue-blind)
#FFEDDA
Achromatopsia (no color)
#F2F2F2

Design tokens & code

CSS
--color: #f0fc4b;
/* rgb */ color: rgb(240, 252, 75);
/* oklch */ color: oklch(95.2% 0.190 113.3);
Tailwind
colors: {
  custom: {
    50: '#f9fd88',
    500: '#f0fc4b',
    950: '#000000',
  },
}
SCSS
$custom: #f0fc4b;
$custom-light: #f9fd88;
$custom-dark: #000000;
JSON
{
  "hex": "#f0fc4b",
  "rgb": {
    "r": 240,
    "g": 252,
    "b": 75
  },
  "hsl": {
    "h": 64.068,
    "s": 96.721,
    "l": 64.118
  },
  "oklch": {
    "l": 0.95225,
    "c": 0.18968,
    "h": 113.3
  },
  "luminance": 0.88654
}

Semantic roles & 50–950 ramp

primary
#F0FC4B
secondary
#3126C5
accent
#00E610
background
#FFFFFC
surface
#FFFFF4
border
#D7D7CE
text
#18170C
muted
#86857F

Preview Lab

Preview with #F0FC4B

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

Preview Lab → · Contrast checker → · Palette generator →

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