#F2FB6F#F2FB6F

#F2FB6F is a very light, vivid yellow. Relative luminance 0.890; OKLCH L 95.5% C 0.162 H 112.5°. Best body text is #000000 at 18.80:1 contrast (WCAG AA passes).

Color values

HEX#F2FB6F
RGBrgb(242, 251, 111)
HSLhsl(64, 95%, 71%)
HSVhsv(64, 56%, 98%)
CMYKcmyk(3.6%, 0%, 55.8%, 1.6%)
CIE-LABlab(95.59, -21.04, 64.73)
CIE-LCHlch(95.59, 68.06, 108.01°)
OKLaboklab(95.47% -0.0621 0.15)
OKLCHoklch(95.47% 0.162 112.5)
XYZxyz(73.9861, 89.0208, 28.3211)
Luminance0.8902 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2FB6F #786FFB
analogous
#FBBE6F #F2FB6F #ACFB6F
triadic
#F2FB6F #6FF2FB #FB6FF2
tetradic
#F2FB6F #6FFBBE #786FFB #FB6FAC
square
#F2FB6F #6FFBBE #786FFB #FB6FAC
split-complementary
#F2FB6F #6FACFB #BE6FFB
monochromatic
#DBE906 #EDF933 #F2FB6F #F7FDAB #FCFEE1

Accessibility & contrast

On white

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

On black

18.80
#F2FB6F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2FB6F
18.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2FB6F#FFFFFF#000000##000000
##F2FB6F1.001.1218.8018.80
#FFFFFF1.121.0021.0021.00
#00000018.8021.001.001.00
##00000018.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF160
Deuteranopia (green-blind)
#FFF477
Tritanopia (blue-blind)
#FFEEDD
Achromatopsia (no color)
#F2F2F2

Design tokens & code

CSS
--color: #f2fb6f;
/* rgb */ color: rgb(242, 251, 111);
/* oklch */ color: oklch(95.5% 0.162 112.5);
Tailwind
colors: {
  custom: {
    50: '#f9fc9d',
    500: '#f2fb6f',
    950: '#000000',
  },
}
SCSS
$custom: #f2fb6f;
$custom-light: #f9fc9d;
$custom-dark: #000000;
JSON
{
  "hex": "#f2fb6f",
  "rgb": {
    "r": 242,
    "g": 251,
    "b": 111
  },
  "hsl": {
    "h": 63.857,
    "s": 94.595,
    "l": 70.98
  },
  "oklch": {
    "l": 0.95469,
    "c": 0.16236,
    "h": 112.5
  },
  "luminance": 0.89019
}

Semantic roles & 50–950 ramp

primary
#F2FB6F
secondary
#4238D6
accent
#00E60F
background
#FFFFFC
surface
#FFFFF5
border
#D7D7CF
text
#18170F
muted
#868580

Preview Lab

Preview with #F2FB6F

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

Preview Lab → · Contrast checker → · Palette generator →

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