#F0F566#F0F566

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

Color values

HEX#F0F566
RGBrgb(240, 245, 102)
HSLhsl(62, 88%, 68%)
HSVhsv(62, 58%, 96%)
CMYKcmyk(2%, 0%, 58.4%, 3.9%)
CIE-LABlab(93.79, -19.60, 66.51)
CIE-LCHlch(93.79, 69.34, 106.42°)
OKLaboklab(93.97% -0.0588 0.1528)
OKLCHoklch(93.97% 0.164 111)
XYZxyz(70.9878, 84.7910, 25.1946)
Luminance0.8479 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F0F566 #6B66F5
analogous
#F5B266 #F0F566 #A8F566
triadic
#F0F566 #66F0F5 #F566F0
tetradic
#F0F566 #66F5B2 #6B66F5 #F566A8
square
#F0F566 #66F5B2 #6B66F5 #F566A8
split-complementary
#F0F566 #66A8F5 #B266F5
monochromatic
#CCD30E #EAF12D #F0F566 #F6F99F #FBFDD9

Accessibility & contrast

On white

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

On black

17.96
#F0F566 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F0F566
17.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F0F566#FFFFFF#000000##000000
##F0F5661.001.1717.9617.96
#FFFFFF1.171.0021.0021.00
#00000017.9621.001.001.00
##00000017.9621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #f0f566;
/* rgb */ color: rgb(240, 245, 102);
/* oklch */ color: oklch(94.0% 0.164 111.0);
Tailwind
colors: {
  custom: {
    50: '#f8f897',
    500: '#f0f566',
    950: '#000000',
  },
}
SCSS
$custom: #f0f566;
$custom-light: #f8f897;
$custom-dark: #000000;
JSON
{
  "hex": "#f0f566",
  "rgb": {
    "r": 240,
    "g": 245,
    "b": 102
  },
  "hsl": {
    "h": 62.098,
    "s": 87.73,
    "l": 68.039
  },
  "oklch": {
    "l": 0.93972,
    "c": 0.16372,
    "h": 111
  },
  "luminance": 0.84789
}

Semantic roles & 50–950 ramp

primary
#F0F566
secondary
#3731CE
accent
#01E409
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18170E
muted
#86857F

Preview Lab

Preview with #F0F566

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

Preview Lab → · Contrast checker → · Palette generator →

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