#F2FB71#F2FB71

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

Color values

HEX#F2FB71
RGBrgb(242, 251, 113)
HSLhsl(64, 95%, 71%)
HSVhsv(64, 55%, 98%)
CMYKcmyk(3.6%, 0%, 55%, 1.6%)
CIE-LABlab(95.61, -20.89, 63.88)
CIE-LCHlch(95.61, 67.21, 108.11°)
OKLaboklab(95.49% -0.0614 0.1484)
OKLCHoklch(95.49% 0.161 112.5)
XYZxyz(74.0974, 89.0653, 28.9076)
Luminance0.8906 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2FB71 #7A71FB
analogous
#FBBF71 #F2FB71 #ADFB71
triadic
#F2FB71 #71F2FB #FB71F2
tetradic
#F2FB71 #71FBBF #7A71FB #FB71AD
square
#F2FB71 #71FBBF #7A71FB #FB71AD
split-complementary
#F2FB71 #71ADFB #BF71FB
monochromatic
#DCEB07 #EDF935 #F2FB71 #F7FDAD #FCFEE1

Accessibility & contrast

On white

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

On black

18.81
#F2FB71 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2FB71
18.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2FB71#FFFFFF#000000##000000
##F2FB711.001.1218.8118.81
#FFFFFF1.121.0021.0021.00
#00000018.8121.001.001.00
##00000018.8121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #f2fb71;
/* rgb */ color: rgb(242, 251, 113);
/* oklch */ color: oklch(95.5% 0.161 112.5);
Tailwind
colors: {
  custom: {
    50: '#f9fc9e',
    500: '#f2fb71',
    950: '#000000',
  },
}
SCSS
$custom: #f2fb71;
$custom-light: #f9fc9e;
$custom-dark: #000000;
JSON
{
  "hex": "#f2fb71",
  "rgb": {
    "r": 242,
    "g": 251,
    "b": 113
  },
  "hsl": {
    "h": 63.913,
    "s": 94.521,
    "l": 71.373
  },
  "oklch": {
    "l": 0.9549,
    "c": 0.16065,
    "h": 112.5
  },
  "luminance": 0.89064
}

Semantic roles & 50–950 ramp

primary
#F2FB71
secondary
#4439D7
accent
#00E60F
background
#FFFFFC
surface
#FFFFF5
border
#D7D7CF
text
#18170F
muted
#868580

Preview Lab

Preview with #F2FB71

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

Preview Lab → · Contrast checker → · Palette generator →

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