#F0F556#F0F556

#F0F556 is a very light, vivid yellow. Relative luminance 0.845; OKLCH L 93.8% C 0.176 H 111.1°. Best body text is #000000 at 17.90:1 contrast (WCAG AA passes).

Color values

HEX#F0F556
RGBrgb(240, 245, 86)
HSLhsl(62, 89%, 65%)
HSVhsv(62, 65%, 96%)
CMYKcmyk(2%, 0%, 64.9%, 3.9%)
CIE-LABlab(93.67, -20.60, 72.78)
CIE-LCHlch(93.67, 75.64, 105.80°)
OKLaboklab(93.83% -0.0632 0.1639)
OKLCHoklch(93.83% 0.176 111.1)
XYZxyz(70.2695, 84.5037, 21.4115)
Luminance0.8450 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F0F556 #5B56F5
analogous
#F5AB56 #F0F556 #A0F556
triadic
#F0F556 #56F0F5 #F556F0
tetradic
#F0F556 #56F5AB #5B56F5 #F556A0
square
#F0F556 #56F5AB #5B56F5 #F556A0
split-complementary
#F0F556 #56A0F5 #AB56F5
monochromatic
#BFC50C #EBF21C #F0F556 #F5F890 #FAFCCA

Accessibility & contrast

On white

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

On black

17.90
#F0F556 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F0F556
17.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F0F556#FFFFFF#000000##000000
##F0F5561.001.1717.9017.90
#FFFFFF1.171.0021.0021.00
#00000017.9021.001.001.00
##00000017.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEB40
Deuteranopia (green-blind)
#FFEF61
Tritanopia (blue-blind)
#FFE7D5
Achromatopsia (no color)
#EDEDED

Design tokens & code

CSS
--color: #f0f556;
/* rgb */ color: rgb(240, 245, 86);
/* oklch */ color: oklch(93.8% 0.176 111.1);
Tailwind
colors: {
  custom: {
    50: '#f8f88d',
    500: '#f0f556',
    950: '#000000',
  },
}
SCSS
$custom: #f0f556;
$custom-light: #f8f88d;
$custom-dark: #000000;
JSON
{
  "hex": "#f0f556",
  "rgb": {
    "r": 240,
    "g": 245,
    "b": 86
  },
  "hsl": {
    "h": 61.887,
    "s": 88.827,
    "l": 64.902
  },
  "oklch": {
    "l": 0.93833,
    "c": 0.17562,
    "h": 111.1
  },
  "luminance": 0.84502
}

Semantic roles & 50–950 ramp

primary
#F0F556
secondary
#322DC2
accent
#00E507
background
#FFFFFC
surface
#FFFEF4
border
#D7D6CE
text
#18170D
muted
#86857F

Preview Lab

Preview with #F0F556

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

Preview Lab → · Contrast checker → · Palette generator →

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