#F0FC8A#F0FC8A

#F0FC8A is a very light, vivid yellow. Relative luminance 0.900; OKLCH L 95.8% C 0.139 H 114.0°. Best body text is #000000 at 19.00:1 contrast (WCAG AA passes).

Color values

HEX#F0FC8A
RGBrgb(240, 252, 138)
HSLhsl(66, 95%, 76%)
HSVhsv(66, 45%, 99%)
CMYKcmyk(4.8%, 0%, 45.2%, 1.2%)
CIE-LABlab(95.99, -19.99, 52.97)
CIE-LCHlch(95.99, 56.62, 110.68°)
OKLaboklab(95.85% -0.0564 0.1269)
OKLCHoklch(95.85% 0.139 114)
XYZxyz(75.3340, 89.9821, 37.4396)
Luminance0.8998 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F0FC8A #968AFC
analogous
#FCCF8A #F0FC8A #B7FC8A
triadic
#F0FC8A #8AF0FC #FC8AF0
tetradic
#F0FC8A #8AFCCF #968AFC #FC8AB7
square
#F0FC8A #8AFCCF #968AFC #FC8AB7
split-complementary
#F0FC8A #8AB7FC #CF8AFC
monochromatic
#E1F913 #E8FA4E #F0FC8A #F8FEC6 #FBFEE1

Accessibility & contrast

On white

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

On black

19.00
#F0FC8A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F0FC8A
19.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F0FC8A#FFFFFF#000000##000000
##F0FC8A1.001.1119.0019.00
#FFFFFF1.111.0021.0021.00
#00000019.0021.001.001.00
##00000019.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF280
Deuteranopia (green-blind)
#FFF590
Tritanopia (blue-blind)
#FCF0E1
Achromatopsia (no color)
#F3F3F3

Design tokens & code

CSS
--color: #f0fc8a;
/* rgb */ color: rgb(240, 252, 138);
/* oklch */ color: oklch(95.8% 0.139 114.0);
Tailwind
colors: {
  custom: {
    50: '#f7fdae',
    500: '#f0fc8a',
    950: '#000000',
  },
}
SCSS
$custom: #f0fc8a;
$custom-light: #f7fdae;
$custom-dark: #000000;
JSON
{
  "hex": "#f0fc8a",
  "rgb": {
    "r": 240,
    "g": 252,
    "b": 138
  },
  "hsl": {
    "h": 66.316,
    "s": 95,
    "l": 76.471
  },
  "oklch": {
    "l": 0.95845,
    "c": 0.13887,
    "h": 114
  },
  "luminance": 0.89981
}

Semantic roles & 50–950 ramp

primary
#F0FC8A
secondary
#5E4FDC
accent
#00E618
background
#FFFFFD
surface
#FFFFF7
border
#D7D7D0
text
#171710
muted
#858581

Preview Lab

Preview with #F0FC8A

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

Preview Lab → · Contrast checker → · Palette generator →

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