#F0F86A#F0F86A

#F0F86A is a very light, vivid yellow. Relative luminance 0.867; OKLCH L 94.6% C 0.164 H 112.1°. Best body text is #000000 at 18.34:1 contrast (WCAG AA passes).

Color values

HEX#F0F86A
RGBrgb(240, 248, 106)
HSLhsl(63, 91%, 69%)
HSVhsv(63, 57%, 97%)
CMYKcmyk(3.2%, 0%, 57.3%, 2.7%)
CIE-LABlab(94.61, -20.76, 65.73)
CIE-LCHlch(94.61, 68.93, 107.53°)
OKLaboklab(94.64% -0.0616 0.1516)
OKLCHoklch(94.64% 0.164 112.1)
XYZxyz(72.1059, 86.7022, 26.5697)
Luminance0.8670 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F0F86A #726AF8
analogous
#F8B96A #F0F86A #A9F86A
triadic
#F0F86A #6AF0F8 #F86AF0
tetradic
#F0F86A #6AF8B9 #726AF8 #F86AA9
square
#F0F86A #6AF8B9 #726AF8 #F86AA9
split-complementary
#F0F86A #6AA9F8 #B96AF8
monochromatic
#D1DD0A #EAF530 #F0F86A #F6FBA4 #FCFDDF

Accessibility & contrast

On white

1.15
#F0F86A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.34
#F0F86A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F0F86A
18.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F0F86A#FFFFFF#000000##000000
##F0F86A1.001.1518.3418.34
#FFFFFF1.151.0021.0021.00
#00000018.3421.001.001.00
##00000018.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEE5A
Deuteranopia (green-blind)
#FFF172
Tritanopia (blue-blind)
#FFEAD9
Achromatopsia (no color)
#EFEFEF

Design tokens & code

CSS
--color: #f0f86a;
/* rgb */ color: rgb(240, 248, 106);
/* oklch */ color: oklch(94.6% 0.164 112.1);
Tailwind
colors: {
  custom: {
    50: '#f8fa99',
    500: '#f0f86a',
    950: '#000000',
  },
}
SCSS
$custom: #f0f86a;
$custom-light: #f8fa99;
$custom-dark: #000000;
JSON
{
  "hex": "#f0f86a",
  "rgb": {
    "r": 240,
    "g": 248,
    "b": 106
  },
  "hsl": {
    "h": 63.38,
    "s": 91.026,
    "l": 69.412
  },
  "oklch": {
    "l": 0.94637,
    "c": 0.16368,
    "h": 112.1
  },
  "luminance": 0.86701
}

Semantic roles & 50–950 ramp

primary
#F0F86A
secondary
#3D34D2
accent
#00E60D
background
#FFFFFC
surface
#FFFFF5
border
#D7D7CF
text
#18170E
muted
#86857F

Preview Lab

Preview with #F0F86A

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

Preview Lab → · Contrast checker → · Palette generator →

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