#F0F565#F0F565

#F0F565 is a very light, vivid yellow. Relative luminance 0.848; OKLCH L 94.0% C 0.165 H 111.0°. Best body text is #000000 at 17.95:1 contrast (WCAG AA passes).

Color values

HEX#F0F565
RGBrgb(240, 245, 101)
HSLhsl(62, 88%, 68%)
HSVhsv(62, 59%, 96%)
CMYKcmyk(2%, 0%, 58.8%, 3.9%)
CIE-LABlab(93.78, -19.67, 66.92)
CIE-LCHlch(93.78, 69.75, 106.38°)
OKLaboklab(93.96% -0.0591 0.1536)
OKLCHoklch(93.96% 0.165 111)
XYZxyz(70.9385, 84.7713, 24.9350)
Luminance0.8477 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F0F565 #6A65F5
analogous
#F5B265 #F0F565 #A8F565
triadic
#F0F565 #65F0F5 #F565F0
tetradic
#F0F565 #65F5B2 #6A65F5 #F565A8
square
#F0F565 #65F5B2 #6A65F5 #F565A8
split-complementary
#F0F565 #65A8F5 #B265F5
monochromatic
#CBD20E #EAF12C #F0F565 #F6F99E #FBFCD8

Accessibility & contrast

On white

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

On black

17.95
#F0F565 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F0F565
17.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F0F565#FFFFFF#000000##000000
##F0F5651.001.1717.9517.95
#FFFFFF1.171.0021.0021.00
#00000017.9521.001.001.00
##00000017.9521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #f0f565;
/* rgb */ color: rgb(240, 245, 101);
/* oklch */ color: oklch(94.0% 0.165 111.0);
Tailwind
colors: {
  custom: {
    50: '#f8f896',
    500: '#f0f565',
    950: '#000000',
  },
}
SCSS
$custom: #f0f565;
$custom-light: #f8f896;
$custom-dark: #000000;
JSON
{
  "hex": "#f0f565",
  "rgb": {
    "r": 240,
    "g": 245,
    "b": 101
  },
  "hsl": {
    "h": 62.083,
    "s": 87.805,
    "l": 67.843
  },
  "oklch": {
    "l": 0.93962,
    "c": 0.16452,
    "h": 111
  },
  "luminance": 0.8477
}

Semantic roles & 50–950 ramp

primary
#F0F565
secondary
#3631CD
accent
#01E409
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18170E
muted
#86857F

Preview Lab

Preview with #F0F565

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

Preview Lab → · Contrast checker → · Palette generator →

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