#F2F86A#F2F86A

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

Color values

HEX#F2F86A
RGBrgb(242, 248, 106)
HSLhsl(63, 91%, 69%)
HSVhsv(63, 57%, 97%)
CMYKcmyk(2.4%, 0%, 57.3%, 2.7%)
CIE-LABlab(94.76, -19.97, 65.94)
CIE-LCHlch(94.76, 68.90, 106.85°)
OKLaboklab(94.79% -0.0595 0.152)
OKLCHoklch(94.79% 0.163 111.4)
XYZxyz(72.7887, 87.0543, 26.6017)
Luminance0.8705 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2F86A #706AF8
analogous
#F8B76A #F2F86A #ABF86A
triadic
#F2F86A #6AF2F8 #F86AF2
tetradic
#F2F86A #6AF8B7 #706AF8 #F86AAB
square
#F2F86A #6AF8B7 #706AF8 #F86AAB
split-complementary
#F2F86A #6AABF8 #B76AF8
monochromatic
#D4DD0A #EDF530 #F2F86A #F7FBA4 #FCFDDF

Accessibility & contrast

On white

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

On black

18.41
#F2F86A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2F86A
18.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2F86A#FFFFFF#000000##000000
##F2F86A1.001.1418.4118.41
#FFFFFF1.141.0021.0021.00
#00000018.4121.001.001.00
##00000018.4121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #f2f86a;
/* rgb */ color: rgb(242, 248, 106);
/* oklch */ color: oklch(94.8% 0.163 111.4);
Tailwind
colors: {
  custom: {
    50: '#f9fa99',
    500: '#f2f86a',
    950: '#000000',
  },
}
SCSS
$custom: #f2f86a;
$custom-light: #f9fa99;
$custom-dark: #000000;
JSON
{
  "hex": "#f2f86a",
  "rgb": {
    "r": 242,
    "g": 248,
    "b": 106
  },
  "hsl": {
    "h": 62.535,
    "s": 91.026,
    "l": 69.412
  },
  "oklch": {
    "l": 0.94793,
    "c": 0.16327,
    "h": 111.4
  },
  "luminance": 0.87053
}

Semantic roles & 50–950 ramp

primary
#F2F86A
secondary
#3B34D2
accent
#00E60A
background
#FFFFFC
surface
#FFFFF5
border
#D7D7CF
text
#18170E
muted
#86857F

Preview Lab

Preview with #F2F86A

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

Preview Lab → · Contrast checker → · Palette generator →

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