#F0FA6F#F0FA6F

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

Color values

HEX#F0FA6F
RGBrgb(240, 250, 111)
HSLhsl(64, 93%, 71%)
HSVhsv(64, 56%, 98%)
CMYKcmyk(4%, 0%, 55.6%, 2%)
CIE-LABlab(95.18, -21.35, 64.23)
CIE-LCHlch(95.18, 67.68, 108.39°)
OKLaboklab(95.11% -0.0628 0.149)
OKLCHoklch(95.11% 0.162 112.9)
XYZxyz(72.9917, 88.0456, 28.1852)
Luminance0.8804 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F0FA6F #796FFA
analogous
#FABF6F #F0FA6F #AAFA6F
triadic
#F0FA6F #6FF0FA #FA6FF0
tetradic
#F0FA6F #6FFABF #796FFA #FA6FAA
square
#F0FA6F #6FFABF #796FFA #FA6FAA
split-complementary
#F0FA6F #6FAAFA #BF6FFA
monochromatic
#D7E708 #EAF834 #F0FA6F #F6FCAA #FCFEE1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##F0FA6F#FFFFFF#000000##000000
##F0FA6F1.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)
#FFEF60
Deuteranopia (green-blind)
#FFF377
Tritanopia (blue-blind)
#FEEDDC
Achromatopsia (no color)
#F1F1F1

Design tokens & code

CSS
--color: #f0fa6f;
/* rgb */ color: rgb(240, 250, 111);
/* oklch */ color: oklch(95.1% 0.162 112.9);
Tailwind
colors: {
  custom: {
    50: '#f7fb9d',
    500: '#f0fa6f',
    950: '#000000',
  },
}
SCSS
$custom: #f0fa6f;
$custom-light: #f7fb9d;
$custom-dark: #000000;
JSON
{
  "hex": "#f0fa6f",
  "rgb": {
    "r": 240,
    "g": 250,
    "b": 111
  },
  "hsl": {
    "h": 64.317,
    "s": 93.289,
    "l": 70.784
  },
  "oklch": {
    "l": 0.95106,
    "c": 0.16169,
    "h": 112.9
  },
  "luminance": 0.88044
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #F0FA6F

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

Preview Lab → · Contrast checker → · Palette generator →

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