#F0F558#F0F558

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

Color values

HEX#F0F558
RGBrgb(240, 245, 88)
HSLhsl(62, 89%, 65%)
HSVhsv(62, 64%, 96%)
CMYKcmyk(2%, 0%, 64.1%, 3.9%)
CIE-LABlab(93.68, -20.48, 72.03)
CIE-LCHlch(93.68, 74.89, 105.87°)
OKLaboklab(93.85% -0.0627 0.1626)
OKLCHoklch(93.85% 0.174 111.1)
XYZxyz(70.3512, 84.5364, 21.8419)
Luminance0.8454 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F0F558 #5D58F5
analogous
#F5AC58 #F0F558 #A1F558
triadic
#F0F558 #58F0F5 #F558F0
tetradic
#F0F558 #58F5AC #5D58F5 #F558A1
square
#F0F558 #58F5AC #5D58F5 #F558A1
split-complementary
#F0F558 #58A1F5 #AC58F5
monochromatic
#C1C70C #EBF21E #F0F558 #F5F892 #FAFCCB

Accessibility & contrast

On white

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

On black

17.91
#F0F558 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F0F558
17.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F0F558#FFFFFF#000000##000000
##F0F5581.001.1717.9117.91
#FFFFFF1.171.0021.0021.00
#00000017.9121.001.001.00
##00000017.9121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #f0f558;
/* rgb */ color: rgb(240, 245, 88);
/* oklch */ color: oklch(93.8% 0.174 111.1);
Tailwind
colors: {
  custom: {
    50: '#f8f88f',
    500: '#f0f558',
    950: '#000000',
  },
}
SCSS
$custom: #f0f558;
$custom-light: #f8f88f;
$custom-dark: #000000;
JSON
{
  "hex": "#f0f558",
  "rgb": {
    "r": 240,
    "g": 245,
    "b": 88
  },
  "hsl": {
    "h": 61.911,
    "s": 88.701,
    "l": 65.294
  },
  "oklch": {
    "l": 0.93849,
    "c": 0.17424,
    "h": 111.1
  },
  "luminance": 0.84535
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #F0F558

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

Preview Lab → · Contrast checker → · Palette generator →

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