#F0FA80#F0FA80

#F0FA80 is a very light, vivid yellow. Relative luminance 0.885; OKLCH L 95.3% C 0.146 H 113.0°. Best body text is #000000 at 18.69:1 contrast (WCAG AA passes).

Color values

HEX#F0FA80
RGBrgb(240, 250, 128)
HSLhsl(65, 92%, 74%)
HSVhsv(65, 49%, 98%)
CMYKcmyk(4%, 0%, 48.8%, 2%)
CIE-LABlab(95.35, -19.96, 56.85)
CIE-LCHlch(95.35, 60.25, 109.34°)
OKLaboklab(95.3% -0.0572 0.1347)
OKLCHoklch(95.3% 0.146 113)
XYZxyz(74.0183, 88.4562, 33.5924)
Luminance0.8845 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F0FA80 #8A80FA
analogous
#FAC780 #F0FA80 #B3FA80
triadic
#F0FA80 #80F0FA #FA80F0
tetradic
#F0FA80 #80FAC7 #8A80FA #FA80B3
square
#F0FA80 #80FAC7 #8A80FA #FA80B3
split-complementary
#F0FA80 #80B3FA #C780FA
monochromatic
#E2F50A #E9F845 #F0FA80 #F7FCBB #FCFEE2

Accessibility & contrast

On white

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

On black

18.69
#F0FA80 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F0FA80
18.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F0FA80#FFFFFF#000000##000000
##F0FA801.001.1218.6918.69
#FFFFFF1.121.0021.0021.00
#00000018.6921.001.001.00
##00000018.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF075
Deuteranopia (green-blind)
#FFF386
Tritanopia (blue-blind)
#FDEEDE
Achromatopsia (no color)
#F2F2F2

Design tokens & code

CSS
--color: #f0fa80;
/* rgb */ color: rgb(240, 250, 128);
/* oklch */ color: oklch(95.3% 0.146 113.0);
Tailwind
colors: {
  custom: {
    50: '#f7fba7',
    500: '#f0fa80',
    950: '#000000',
  },
}
SCSS
$custom: #f0fa80;
$custom-light: #f7fba7;
$custom-dark: #000000;
JSON
{
  "hex": "#f0fa80",
  "rgb": {
    "r": 240,
    "g": 250,
    "b": 128
  },
  "hsl": {
    "h": 64.918,
    "s": 92.424,
    "l": 74.118
  },
  "oklch": {
    "l": 0.953,
    "c": 0.14632,
    "h": 113
  },
  "luminance": 0.88455
}

Semantic roles & 50–950 ramp

primary
#F0FA80
secondary
#5347D7
accent
#00E613
background
#FFFFFD
surface
#FFFFF7
border
#D7D7D0
text
#171710
muted
#858581

Preview Lab

Preview with #F0FA80

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

Preview Lab → · Contrast checker → · Palette generator →

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