#F0F86E#F0F86E

#F0F86E is a very light, vivid yellow. Relative luminance 0.868; OKLCH L 94.7% C 0.160 H 112.1°. Best body text is #000000 at 18.36:1 contrast (WCAG AA passes).

Color values

HEX#F0F86E
RGBrgb(240, 248, 110)
HSLhsl(63, 91%, 70%)
HSVhsv(63, 56%, 97%)
CMYKcmyk(3.2%, 0%, 55.6%, 2.7%)
CIE-LABlab(94.65, -20.47, 64.06)
CIE-LCHlch(94.65, 67.25, 107.72°)
OKLaboklab(94.68% -0.0604 0.1485)
OKLCHoklch(94.68% 0.16 112.1)
XYZxyz(72.3188, 86.7873, 27.6908)
Luminance0.8679 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F0F86E #766EF8
analogous
#F8BB6E #F0F86E #ABF86E
triadic
#F0F86E #6EF0F8 #F86EF0
tetradic
#F0F86E #6EF8BB #766EF8 #F86EAB
square
#F0F86E #6EF8BB #766EF8 #F86EAB
split-complementary
#F0F86E #6EABF8 #BB6EF8
monochromatic
#D4E10B #EAF534 #F0F86E #F6FBA8 #FCFEE2

Accessibility & contrast

On white

1.14
#F0F86E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.36
#F0F86E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F0F86E
18.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F0F86E#FFFFFF#000000##000000
##F0F86E1.001.1418.3618.36
#FFFFFF1.141.0021.0021.00
#00000018.3621.001.001.00
##00000018.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEE5F
Deuteranopia (green-blind)
#FFF176
Tritanopia (blue-blind)
#FEEBDA
Achromatopsia (no color)
#F0F0F0

Design tokens & code

CSS
--color: #f0f86e;
/* rgb */ color: rgb(240, 248, 110);
/* oklch */ color: oklch(94.7% 0.160 112.1);
Tailwind
colors: {
  custom: {
    50: '#f7fa9c',
    500: '#f0f86e',
    950: '#000000',
  },
}
SCSS
$custom: #f0f86e;
$custom-light: #f7fa9c;
$custom-dark: #000000;
JSON
{
  "hex": "#f0f86e",
  "rgb": {
    "r": 240,
    "g": 248,
    "b": 110
  },
  "hsl": {
    "h": 63.478,
    "s": 90.789,
    "l": 70.196
  },
  "oklch": {
    "l": 0.94678,
    "c": 0.16034,
    "h": 112.1
  },
  "luminance": 0.86786
}

Semantic roles & 50–950 ramp

primary
#F0F86E
secondary
#4138D3
accent
#00E60D
background
#FFFFFC
surface
#FFFFF5
border
#D7D7CF
text
#18170E
muted
#86857F

Preview Lab

Preview with #F0F86E

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

Preview Lab → · Contrast checker → · Palette generator →

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