#F0F561#F0F561

#F0F561 is a very light, vivid yellow. Relative luminance 0.847; OKLCH L 93.9% C 0.168 H 111.1°. Best body text is #000000 at 17.94:1 contrast (WCAG AA passes).

Color values

HEX#F0F561
RGBrgb(240, 245, 97)
HSLhsl(62, 88%, 67%)
HSVhsv(62, 60%, 96%)
CMYKcmyk(2%, 0%, 60.4%, 3.9%)
CIE-LABlab(93.75, -19.93, 68.53)
CIE-LCHlch(93.75, 71.37, 106.22°)
OKLaboklab(93.93% -0.0602 0.1565)
OKLCHoklch(93.93% 0.168 111.1)
XYZxyz(70.7472, 84.6948, 23.9279)
Luminance0.8469 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F0F561 #6661F5
analogous
#F5B061 #F0F561 #A6F561
triadic
#F0F561 #61F0F5 #F561F0
tetradic
#F0F561 #61F5B0 #6661F5 #F561A6
square
#F0F561 #61F5B0 #6661F5 #F561A6
split-complementary
#F0F561 #61A6F5 #B061F5
monochromatic
#C8CF0D #EBF127 #F0F561 #F5F99B #FBFCD4

Accessibility & contrast

On white

1.17
#F0F561 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.94
#F0F561 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F0F561
17.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F0F561#FFFFFF#000000##000000
##F0F5611.001.1717.9417.94
#FFFFFF1.171.0021.0021.00
#00000017.9421.001.001.00
##00000017.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEB4F
Deuteranopia (green-blind)
#FFEF6A
Tritanopia (blue-blind)
#FFE7D6
Achromatopsia (no color)
#EDEDED

Design tokens & code

CSS
--color: #f0f561;
/* rgb */ color: rgb(240, 245, 97);
/* oklch */ color: oklch(93.9% 0.168 111.1);
Tailwind
colors: {
  custom: {
    50: '#f8f894',
    500: '#f0f561',
    950: '#000000',
  },
}
SCSS
$custom: #f0f561;
$custom-light: #f8f894;
$custom-dark: #000000;
JSON
{
  "hex": "#f0f561",
  "rgb": {
    "r": 240,
    "g": 245,
    "b": 97
  },
  "hsl": {
    "h": 62.027,
    "s": 88.095,
    "l": 67.059
  },
  "oklch": {
    "l": 0.93925,
    "c": 0.16764,
    "h": 111.1
  },
  "luminance": 0.84693
}

Semantic roles & 50–950 ramp

primary
#F0F561
secondary
#3530CA
accent
#01E509
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18170E
muted
#86857F

Preview Lab

Preview with #F0F561

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

Preview Lab → · Contrast checker → · Palette generator →

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