#F0FA61#F0FA61

#F0FA61 is a very light, vivid yellow. Relative luminance 0.878; OKLCH L 95.0% C 0.173 H 112.8°. Best body text is #000000 at 18.55:1 contrast (WCAG AA passes).

Color values

HEX#F0FA61
RGBrgb(240, 250, 97)
HSLhsl(64, 94%, 68%)
HSVhsv(64, 61%, 98%)
CMYKcmyk(4%, 0%, 61.2%, 2%)
CIE-LABlab(95.06, -22.32, 69.94)
CIE-LCHlch(95.06, 73.41, 107.70°)
OKLaboklab(94.97% -0.067 0.1594)
OKLCHoklch(94.97% 0.173 112.8)
XYZxyz(72.2803, 87.7610, 24.4389)
Luminance0.8776 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F0FA61 #6B61FA
analogous
#FAB861 #F0FA61 #A3FA61
triadic
#F0FA61 #61F0FA #FA61F0
tetradic
#F0FA61 #61FAB8 #6B61FA #FA61A3
square
#F0FA61 #61FAB8 #6B61FA #FA61A3
split-complementary
#F0FA61 #61A3FA #B861FA
monochromatic
#CCDA07 #EAF826 #F0FA61 #F6FC9C #FBFED8

Accessibility & contrast

On white

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

On black

18.55
#F0FA61 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F0FA61
18.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F0FA61#FFFFFF#000000##000000
##F0FA611.001.1318.5518.55
#FFFFFF1.131.0021.0021.00
#00000018.5521.001.001.00
##00000018.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEF4E
Deuteranopia (green-blind)
#FFF36B
Tritanopia (blue-blind)
#FFECDA
Achromatopsia (no color)
#F1F1F1

Design tokens & code

CSS
--color: #f0fa61;
/* rgb */ color: rgb(240, 250, 97);
/* oklch */ color: oklch(95.0% 0.173 112.8);
Tailwind
colors: {
  custom: {
    50: '#f8fb94',
    500: '#f0fa61',
    950: '#000000',
  },
}
SCSS
$custom: #f0fa61;
$custom-light: #f8fb94;
$custom-dark: #000000;
JSON
{
  "hex": "#f0fa61",
  "rgb": {
    "r": 240,
    "g": 250,
    "b": 97
  },
  "hsl": {
    "h": 63.922,
    "s": 93.865,
    "l": 68.039
  },
  "oklch": {
    "l": 0.94972,
    "c": 0.17291,
    "h": 112.8
  },
  "luminance": 0.8776
}

Semantic roles & 50–950 ramp

primary
#F0FA61
secondary
#372CD3
accent
#00E60F
background
#FFFFFC
surface
#FFFFF5
border
#D7D7CF
text
#18170E
muted
#86857F

Preview Lab

Preview with #F0FA61

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

Preview Lab → · Contrast checker → · Palette generator →

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