#F2F86C#F2F86C

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

Color values

HEX#F2F86C
RGBrgb(242, 248, 108)
HSLhsl(63, 91%, 70%)
HSVhsv(63, 56%, 97%)
CMYKcmyk(2.4%, 0%, 56.5%, 2.7%)
CIE-LABlab(94.78, -19.82, 65.11)
CIE-LCHlch(94.78, 68.06, 106.93°)
OKLaboklab(94.81% -0.0589 0.1505)
OKLCHoklch(94.81% 0.162 111.4)
XYZxyz(72.8940, 87.0964, 27.1558)
Luminance0.8710 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2F86C #726CF8
analogous
#F8B86C #F2F86C #ACF86C
triadic
#F2F86C #6CF2F8 #F86CF2
tetradic
#F2F86C #6CF8B8 #726CF8 #F86CAC
square
#F2F86C #6CF8B8 #726CF8 #F86CAC
split-complementary
#F2F86C #6CACF8 #B86CF8
monochromatic
#D6DF0B #EDF532 #F2F86C #F7FBA6 #FCFEE1

Accessibility & contrast

On white

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

On black

18.42
#F2F86C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2F86C
18.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2F86C#FFFFFF#000000##000000
##F2F86C1.001.1418.4218.42
#FFFFFF1.141.0021.0021.00
#00000018.4221.001.001.00
##00000018.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEE5D
Deuteranopia (green-blind)
#FFF274
Tritanopia (blue-blind)
#FFEADA
Achromatopsia (no color)
#F0F0F0

Design tokens & code

CSS
--color: #f2f86c;
/* rgb */ color: rgb(242, 248, 108);
/* oklch */ color: oklch(94.8% 0.162 111.4);
Tailwind
colors: {
  custom: {
    50: '#f9fa9b',
    500: '#f2f86c',
    950: '#000000',
  },
}
SCSS
$custom: #f2f86c;
$custom-light: #f9fa9b;
$custom-dark: #000000;
JSON
{
  "hex": "#f2f86c",
  "rgb": {
    "r": 242,
    "g": 248,
    "b": 108
  },
  "hsl": {
    "h": 62.571,
    "s": 90.909,
    "l": 69.804
  },
  "oklch": {
    "l": 0.94813,
    "c": 0.16161,
    "h": 111.4
  },
  "luminance": 0.87095
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #F2F86C

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

Preview Lab → · Contrast checker → · Palette generator →

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