#F0FA70#F0FA70

#F0FA70 is a very light, vivid yellow. Relative luminance 0.881; OKLCH L 95.1% C 0.161 H 112.9°. Best body text is #000000 at 18.61:1 contrast (WCAG AA passes).

Color values

HEX#F0FA70
RGBrgb(240, 250, 112)
HSLhsl(64, 93%, 71%)
HSVhsv(64, 55%, 98%)
CMYKcmyk(4%, 0%, 55.2%, 2%)
CIE-LABlab(95.19, -21.27, 63.80)
CIE-LCHlch(95.19, 67.26, 108.44°)
OKLaboklab(95.12% -0.0625 0.1482)
OKLCHoklch(95.12% 0.161 112.9)
XYZxyz(73.0470, 88.0677, 28.4768)
Luminance0.8807 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F0FA70 #7A70FA
analogous
#FABF70 #F0FA70 #ABFA70
triadic
#F0FA70 #70F0FA #FA70F0
tetradic
#F0FA70 #70FABF #7A70FA #FA70AB
square
#F0FA70 #70FABF #7A70FA #FA70AB
split-complementary
#F0FA70 #70ABFA #BF70FA
monochromatic
#D7E808 #EAF835 #F0FA70 #F6FCAB #FCFEE1

Accessibility & contrast

On white

1.13
#F0FA70 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.61
#F0FA70 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F0FA70
18.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F0FA70#FFFFFF#000000##000000
##F0FA701.001.1318.6118.61
#FFFFFF1.131.0021.0021.00
#00000018.6121.001.001.00
##00000018.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF062
Deuteranopia (green-blind)
#FFF378
Tritanopia (blue-blind)
#FEEDDC
Achromatopsia (no color)
#F1F1F1

Design tokens & code

CSS
--color: #f0fa70;
/* rgb */ color: rgb(240, 250, 112);
/* oklch */ color: oklch(95.1% 0.161 112.9);
Tailwind
colors: {
  custom: {
    50: '#f7fb9d',
    500: '#f0fa70',
    950: '#000000',
  },
}
SCSS
$custom: #f0fa70;
$custom-light: #f7fb9d;
$custom-dark: #000000;
JSON
{
  "hex": "#f0fa70",
  "rgb": {
    "r": 240,
    "g": 250,
    "b": 112
  },
  "hsl": {
    "h": 64.348,
    "s": 93.243,
    "l": 70.98
  },
  "oklch": {
    "l": 0.95116,
    "c": 0.16084,
    "h": 112.9
  },
  "luminance": 0.88066
}

Semantic roles & 50–950 ramp

primary
#F0FA70
secondary
#4439D5
accent
#00E611
background
#FFFFFC
surface
#FFFFF5
border
#D7D7CF
text
#18170F
muted
#868580

Preview Lab

Preview with #F0FA70

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

Preview Lab → · Contrast checker → · Palette generator →

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