#F0FA87#F0FA87

#F0FA87 is a very light, vivid yellow. Relative luminance 0.886; OKLCH L 95.4% C 0.139 H 113.1°. Best body text is #000000 at 18.73:1 contrast (WCAG AA passes).

Color values

HEX#F0FA87
RGBrgb(240, 250, 135)
HSLhsl(65, 92%, 75%)
HSVhsv(65, 46%, 98%)
CMYKcmyk(4%, 0%, 46%, 2%)
CIE-LABlab(95.43, -19.31, 53.70)
CIE-LCHlch(95.43, 57.06, 109.78°)
OKLaboklab(95.39% -0.0548 0.1283)
OKLCHoklch(95.39% 0.139 113.1)
XYZxyz(74.4951, 88.6469, 36.1032)
Luminance0.8865 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F0FA87 #9187FA
analogous
#FACA87 #F0FA87 #B7FA87
triadic
#F0FA87 #87F0FA #FA87F0
tetradic
#F0FA87 #87FACA #9187FA #FA87B7
square
#F0FA87 #87FACA #9187FA #FA87B7
split-complementary
#F0FA87 #87B7FA #CA87FA
monochromatic
#E1F511 #E9F84C #F0FA87 #F7FCC2 #FBFEE2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##F0FA87#FFFFFF#000000##000000
##F0FA871.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)
#FFF07D
Deuteranopia (green-blind)
#FFF38D
Tritanopia (blue-blind)
#FCEEDF
Achromatopsia (no color)
#F2F2F2

Design tokens & code

CSS
--color: #f0fa87;
/* rgb */ color: rgb(240, 250, 135);
/* oklch */ color: oklch(95.4% 0.139 113.1);
Tailwind
colors: {
  custom: {
    50: '#f7fbac',
    500: '#f0fa87',
    950: '#000000',
  },
}
SCSS
$custom: #f0fa87;
$custom-light: #f7fbac;
$custom-dark: #000000;
JSON
{
  "hex": "#f0fa87",
  "rgb": {
    "r": 240,
    "g": 250,
    "b": 135
  },
  "hsl": {
    "h": 65.217,
    "s": 92,
    "l": 75.49
  },
  "oklch": {
    "l": 0.95389,
    "c": 0.13949,
    "h": 113.1
  },
  "luminance": 0.88646
}

Semantic roles & 50–950 ramp

primary
#F0FA87
secondary
#594DD8
accent
#00E614
background
#FFFFFD
surface
#FFFFF7
border
#D7D7D0
text
#171710
muted
#858581

Preview Lab

Preview with #F0FA87

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

Preview Lab → · Contrast checker → · Palette generator →

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