#F0F661#F0F661

#F0F661 is a very light, vivid yellow. Relative luminance 0.853; OKLCH L 94.1% C 0.169 H 111.4°. Best body text is #000000 at 18.06:1 contrast (WCAG AA passes).

Color values

HEX#F0F661
RGBrgb(240, 246, 97)
HSLhsl(62, 89%, 67%)
HSVhsv(62, 61%, 96%)
CMYKcmyk(2.4%, 0%, 60.6%, 3.5%)
CIE-LABlab(94.01, -20.41, 68.82)
CIE-LCHlch(94.01, 71.78, 106.52°)
OKLaboklab(94.13% -0.0616 0.1571)
OKLCHoklch(94.13% 0.169 111.4)
XYZxyz(71.0506, 85.3015, 24.0290)
Luminance0.8530 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F0F661 #6761F6
analogous
#F6B161 #F0F661 #A6F661
triadic
#F0F661 #61F0F6 #F661F0
tetradic
#F0F661 #61F6B1 #6761F6 #F661A6
square
#F0F661 #61F6B1 #6761F6 #F661A6
split-complementary
#F0F661 #61A6F6 #B161F6
monochromatic
#C9D10C #EBF327 #F0F661 #F5F99B #FBFDD5

Accessibility & contrast

On white

1.16
#F0F661 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.06
#F0F661 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F0F661
18.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F0F661#FFFFFF#000000##000000
##F0F6611.001.1618.0618.06
#FFFFFF1.161.0021.0021.00
#00000018.0621.001.001.00
##00000018.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEC4F
Deuteranopia (green-blind)
#FFF06A
Tritanopia (blue-blind)
#FFE8D7
Achromatopsia (no color)
#EEEEEE

Design tokens & code

CSS
--color: #f0f661;
/* rgb */ color: rgb(240, 246, 97);
/* oklch */ color: oklch(94.1% 0.169 111.4);
Tailwind
colors: {
  custom: {
    50: '#f8f994',
    500: '#f0f661',
    950: '#000000',
  },
}
SCSS
$custom: #f0f661;
$custom-light: #f8f994;
$custom-dark: #000000;
JSON
{
  "hex": "#f0f661",
  "rgb": {
    "r": 240,
    "g": 246,
    "b": 97
  },
  "hsl": {
    "h": 62.416,
    "s": 89.222,
    "l": 67.255
  },
  "oklch": {
    "l": 0.94134,
    "c": 0.16869,
    "h": 111.4
  },
  "luminance": 0.853
}

Semantic roles & 50–950 ramp

primary
#F0F661
secondary
#352FCC
accent
#00E609
background
#FFFFFC
surface
#FFFFF5
border
#D7D7CF
text
#18170E
muted
#86857F

Preview Lab

Preview with #F0F661

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

Preview Lab → · Contrast checker → · Palette generator →

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