#F2F86F#F2F86F

#F2F86F is a very light, vivid yellow. Relative luminance 0.872; OKLCH L 94.8% C 0.159 H 111.4°. Best body text is #000000 at 18.43:1 contrast (WCAG AA passes).

Color values

HEX#F2F86F
RGBrgb(242, 248, 111)
HSLhsl(63, 91%, 70%)
HSVhsv(63, 55%, 97%)
CMYKcmyk(2.4%, 0%, 55.2%, 2.7%)
CIE-LABlab(94.81, -19.60, 63.85)
CIE-LCHlch(94.81, 66.79, 107.07°)
OKLaboklab(94.84% -0.058 0.1481)
OKLCHoklch(94.84% 0.159 111.4)
XYZxyz(73.0564, 87.1613, 28.0112)
Luminance0.8716 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2F86F #756FF8
analogous
#F8BA6F #F2F86F #ADF86F
triadic
#F2F86F #6FF2F8 #F86FF2
tetradic
#F2F86F #6FF8BA #756FF8 #F86FAD
square
#F2F86F #6FF8BA #756FF8 #F86FAD
split-complementary
#F2F86F #6FADF8 #BA6FF8
monochromatic
#D8E20B #EDF535 #F2F86F #F7FBA9 #FCFEE2

Accessibility & contrast

On white

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

On black

18.43
#F2F86F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2F86F
18.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2F86F#FFFFFF#000000##000000
##F2F86F1.001.1418.4318.43
#FFFFFF1.141.0021.0021.00
#00000018.4321.001.001.00
##00000018.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEE61
Deuteranopia (green-blind)
#FFF277
Tritanopia (blue-blind)
#FFEBDA
Achromatopsia (no color)
#F0F0F0

Design tokens & code

CSS
--color: #f2f86f;
/* rgb */ color: rgb(242, 248, 111);
/* oklch */ color: oklch(94.8% 0.159 111.4);
Tailwind
colors: {
  custom: {
    50: '#f9fa9d',
    500: '#f2f86f',
    950: '#000000',
  },
}
SCSS
$custom: #f2f86f;
$custom-light: #f9fa9d;
$custom-dark: #000000;
JSON
{
  "hex": "#f2f86f",
  "rgb": {
    "r": 242,
    "g": 248,
    "b": 111
  },
  "hsl": {
    "h": 62.628,
    "s": 90.728,
    "l": 70.392
  },
  "oklch": {
    "l": 0.94844,
    "c": 0.15909,
    "h": 111.4
  },
  "luminance": 0.8716
}

Semantic roles & 50–950 ramp

primary
#F2F86F
secondary
#3F38D3
accent
#00E60A
background
#FFFFFC
surface
#FFFFF5
border
#D7D7CF
text
#18170F
muted
#868580

Preview Lab

Preview with #F2F86F

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

Preview Lab → · Contrast checker → · Palette generator →

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