#F0F559#F0F559

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

Color values

HEX#F0F559
RGBrgb(240, 245, 89)
HSLhsl(62, 89%, 65%)
HSVhsv(62, 64%, 96%)
CMYKcmyk(2%, 0%, 63.7%, 3.9%)
CIE-LABlab(93.69, -20.43, 71.65)
CIE-LCHlch(93.69, 74.51, 105.91°)
OKLaboklab(93.86% -0.0624 0.1619)
OKLCHoklch(93.86% 0.174 111.1)
XYZxyz(70.3929, 84.5531, 22.0615)
Luminance0.8455 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F0F559 #5E59F5
analogous
#F5AC59 #F0F559 #A2F559
triadic
#F0F559 #59F0F5 #F559F0
tetradic
#F0F559 #59F5AC #5E59F5 #F559A2
square
#F0F559 #59F5AC #5E59F5 #F559A2
split-complementary
#F0F559 #59A2F5 #AC59F5
monochromatic
#C2C80C #EBF21F #F0F559 #F5F893 #FAFCCC

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##F0F559#FFFFFF#000000##000000
##F0F5591.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)
#FFEB44
Deuteranopia (green-blind)
#FFEF63
Tritanopia (blue-blind)
#FFE7D5
Achromatopsia (no color)
#EDEDED

Design tokens & code

CSS
--color: #f0f559;
/* rgb */ color: rgb(240, 245, 89);
/* oklch */ color: oklch(93.9% 0.174 111.1);
Tailwind
colors: {
  custom: {
    50: '#f8f88f',
    500: '#f0f559',
    950: '#000000',
  },
}
SCSS
$custom: #f0f559;
$custom-light: #f8f88f;
$custom-dark: #000000;
JSON
{
  "hex": "#f0f559",
  "rgb": {
    "r": 240,
    "g": 245,
    "b": 89
  },
  "hsl": {
    "h": 61.923,
    "s": 88.636,
    "l": 65.49
  },
  "oklch": {
    "l": 0.93857,
    "c": 0.17353,
    "h": 111.1
  },
  "luminance": 0.84551
}

Semantic roles & 50–950 ramp

primary
#F0F559
secondary
#332EC4
accent
#00E508
background
#FFFFFC
surface
#FFFEF4
border
#D7D6CE
text
#18170D
muted
#86857F

Preview Lab

Preview with #F0F559

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

Preview Lab → · Contrast checker → · Palette generator →

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