#F2F86D#F2F86D

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

Color values

HEX#F2F86D
RGBrgb(242, 248, 109)
HSLhsl(63, 91%, 70%)
HSVhsv(63, 56%, 97%)
CMYKcmyk(2.4%, 0%, 56%, 2.7%)
CIE-LABlab(94.79, -19.75, 64.69)
CIE-LCHlch(94.79, 67.64, 106.98°)
OKLaboklab(94.82% -0.0586 0.1497)
OKLCHoklch(94.82% 0.161 111.4)
XYZxyz(72.9475, 87.1178, 27.4377)
Luminance0.8712 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2F86D #736DF8
analogous
#F8B96D #F2F86D #ACF86D
triadic
#F2F86D #6DF2F8 #F86DF2
tetradic
#F2F86D #6DF8B9 #736DF8 #F86DAC
square
#F2F86D #6DF8B9 #736DF8 #F86DAC
split-complementary
#F2F86D #6DACF8 #B96DF8
monochromatic
#D7E00B #EDF533 #F2F86D #F7FBA7 #FCFEE2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##F2F86D#FFFFFF#000000##000000
##F2F86D1.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)
#FFEE5E
Deuteranopia (green-blind)
#FFF275
Tritanopia (blue-blind)
#FFEADA
Achromatopsia (no color)
#F0F0F0

Design tokens & code

CSS
--color: #f2f86d;
/* rgb */ color: rgb(242, 248, 109);
/* oklch */ color: oklch(94.8% 0.161 111.4);
Tailwind
colors: {
  custom: {
    50: '#f9fa9b',
    500: '#f2f86d',
    950: '#000000',
  },
}
SCSS
$custom: #f2f86d;
$custom-light: #f9fa9b;
$custom-dark: #000000;
JSON
{
  "hex": "#f2f86d",
  "rgb": {
    "r": 242,
    "g": 248,
    "b": 109
  },
  "hsl": {
    "h": 62.59,
    "s": 90.85,
    "l": 70
  },
  "oklch": {
    "l": 0.94824,
    "c": 0.16078,
    "h": 111.4
  },
  "luminance": 0.87116
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #F2F86D

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

Preview Lab → · Contrast checker → · Palette generator →

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