#F2FB6A#F2FB6A

#F2FB6A is a very light, vivid yellow. Relative luminance 0.889; OKLCH L 95.4% C 0.167 H 112.4°. Best body text is #000000 at 18.78:1 contrast (WCAG AA passes).

Color values

HEX#F2FB6A
RGBrgb(242, 251, 106)
HSLhsl(64, 95%, 70%)
HSVhsv(64, 58%, 98%)
CMYKcmyk(3.6%, 0%, 57.8%, 1.6%)
CIE-LABlab(95.54, -21.40, 66.80)
CIE-LCHlch(95.54, 70.15, 107.77°)
OKLaboklab(95.42% -0.0636 0.1539)
OKLCHoklch(95.42% 0.167 112.4)
XYZxyz(73.7184, 88.9137, 26.9116)
Luminance0.8891 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2FB6A #736AFB
analogous
#FBBB6A #F2FB6A #AAFB6A
triadic
#F2FB6A #6AF2FB #FB6AF2
tetradic
#F2FB6A #6AFBBB #736AFB #FB6AAA
square
#F2FB6A #6AFBBB #736AFB #FB6AAA
split-complementary
#F2FB6A #6AAAFB #BB6AFB
monochromatic
#D7E406 #EDF92E #F2FB6A #F7FDA6 #FCFEE1

Accessibility & contrast

On white

1.12
#F2FB6A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.78
#F2FB6A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2FB6A
18.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2FB6A#FFFFFF#000000##000000
##F2FB6A1.001.1218.7818.78
#FFFFFF1.121.0021.0021.00
#00000018.7821.001.001.00
##00000018.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF05A
Deuteranopia (green-blind)
#FFF473
Tritanopia (blue-blind)
#FFEDDC
Achromatopsia (no color)
#F2F2F2

Design tokens & code

CSS
--color: #f2fb6a;
/* rgb */ color: rgb(242, 251, 106);
/* oklch */ color: oklch(95.4% 0.167 112.4);
Tailwind
colors: {
  custom: {
    50: '#f9fc9a',
    500: '#f2fb6a',
    950: '#000000',
  },
}
SCSS
$custom: #f2fb6a;
$custom-light: #f9fc9a;
$custom-dark: #000000;
JSON
{
  "hex": "#f2fb6a",
  "rgb": {
    "r": 242,
    "g": 251,
    "b": 106
  },
  "hsl": {
    "h": 63.724,
    "s": 94.771,
    "l": 70
  },
  "oklch": {
    "l": 0.95419,
    "c": 0.1665,
    "h": 112.4
  },
  "luminance": 0.88912
}

Semantic roles & 50–950 ramp

primary
#F2FB6A
secondary
#3D33D6
accent
#00E60E
background
#FFFFFC
surface
#FFFFF5
border
#D7D7CF
text
#18170E
muted
#86857F

Preview Lab

Preview with #F2FB6A

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

Preview Lab → · Contrast checker → · Palette generator →

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