#F0FA8A#F0FA8A

#F0FA8A is a very light, vivid yellow. Relative luminance 0.887; OKLCH L 95.4% C 0.136 H 113.2°. Best body text is #000000 at 18.75:1 contrast (WCAG AA passes).

Color values

HEX#F0FA8A
RGBrgb(240, 250, 138)
HSLhsl(65, 92%, 76%)
HSVhsv(65, 45%, 98%)
CMYKcmyk(4%, 0%, 44.8%, 2%)
CIE-LABlab(95.47, -19.03, 52.33)
CIE-LCHlch(95.47, 55.68, 109.98°)
OKLaboklab(95.43% -0.0537 0.1255)
OKLCHoklch(95.43% 0.136 113.2)
XYZxyz(74.7093, 88.7326, 37.2313)
Luminance0.8873 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F0FA8A #948AFA
analogous
#FACC8A #F0FA8A #B8FA8A
triadic
#F0FA8A #8AF0FA #FA8AF0
tetradic
#F0FA8A #8AFACC #948AFA #FA8AB8
square
#F0FA8A #8AFACC #948AFA #FA8AB8
split-complementary
#F0FA8A #8AB8FA #CC8AFA
monochromatic
#E1F515 #E8F74F #F0FA8A #F8FDC5 #FBFEE2

Accessibility & contrast

On white

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

On black

18.75
#F0FA8A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F0FA8A
18.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F0FA8A#FFFFFF#000000##000000
##F0FA8A1.001.1218.7518.75
#FFFFFF1.121.0021.0021.00
#00000018.7521.001.001.00
##00000018.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF181
Deuteranopia (green-blind)
#FFF390
Tritanopia (blue-blind)
#FCEEE0
Achromatopsia (no color)
#F2F2F2

Design tokens & code

CSS
--color: #f0fa8a;
/* rgb */ color: rgb(240, 250, 138);
/* oklch */ color: oklch(95.4% 0.136 113.2);
Tailwind
colors: {
  custom: {
    50: '#f7fbae',
    500: '#f0fa8a',
    950: '#000000',
  },
}
SCSS
$custom: #f0fa8a;
$custom-light: #f7fbae;
$custom-dark: #000000;
JSON
{
  "hex": "#f0fa8a",
  "rgb": {
    "r": 240,
    "g": 250,
    "b": 138
  },
  "hsl": {
    "h": 65.357,
    "s": 91.803,
    "l": 76.078
  },
  "oklch": {
    "l": 0.9543,
    "c": 0.13647,
    "h": 113.2
  },
  "luminance": 0.88731
}

Semantic roles & 50–950 ramp

primary
#F0FA8A
secondary
#5C4FD9
accent
#00E614
background
#FFFFFD
surface
#FFFFF7
border
#D7D7D0
text
#171710
muted
#858581

Preview Lab

Preview with #F0FA8A

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

Preview Lab → · Contrast checker → · Palette generator →

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