#F0F560#F0F560

#F0F560 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.93:1 contrast (WCAG AA passes).

Color values

HEX#F0F560
RGBrgb(240, 245, 96)
HSLhsl(62, 88%, 67%)
HSVhsv(62, 61%, 96%)
CMYKcmyk(2%, 0%, 60.8%, 3.9%)
CIE-LABlab(93.74, -20.00, 68.93)
CIE-LCHlch(93.74, 71.77, 106.18°)
OKLaboklab(93.92% -0.0605 0.1572)
OKLCHoklch(93.92% 0.168 111.1)
XYZxyz(70.7009, 84.6763, 23.6839)
Luminance0.8468 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F0F560 #6560F5
analogous
#F5AF60 #F0F560 #A6F560
triadic
#F0F560 #60F0F5 #F560F0
tetradic
#F0F560 #60F5AF #6560F5 #F560A6
square
#F0F560 #60F5AF #6560F5 #F560A6
split-complementary
#F0F560 #60A6F5 #AF60F5
monochromatic
#C7CE0D #EBF126 #F0F560 #F5F99A #FBFCD3

Accessibility & contrast

On white

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

On black

17.93
#F0F560 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F0F560
17.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F0F560#FFFFFF#000000##000000
##F0F5601.001.1717.9317.93
#FFFFFF1.171.0021.0021.00
#00000017.9321.001.001.00
##00000017.9321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #f0f560;
/* rgb */ color: rgb(240, 245, 96);
/* oklch */ color: oklch(93.9% 0.168 111.1);
Tailwind
colors: {
  custom: {
    50: '#f8f893',
    500: '#f0f560',
    950: '#000000',
  },
}
SCSS
$custom: #f0f560;
$custom-light: #f8f893;
$custom-dark: #000000;
JSON
{
  "hex": "#f0f560",
  "rgb": {
    "r": 240,
    "g": 245,
    "b": 96
  },
  "hsl": {
    "h": 62.013,
    "s": 88.166,
    "l": 66.863
  },
  "oklch": {
    "l": 0.93916,
    "c": 0.16841,
    "h": 111.1
  },
  "luminance": 0.84675
}

Semantic roles & 50–950 ramp

primary
#F0F560
secondary
#3530C9
accent
#01E508
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18170D
muted
#86857F

Preview Lab

Preview with #F0F560

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

Preview Lab → · Contrast checker → · Palette generator →

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