#F2FC71#F2FC71

#F2FC71 is a very light, vivid yellow. Relative luminance 0.897; OKLCH L 95.7% C 0.162 H 112.8°. Best body text is #000000 at 18.94:1 contrast (WCAG AA passes).

Color values

HEX#F2FC71
RGBrgb(242, 252, 113)
HSLhsl(64, 96%, 72%)
HSVhsv(64, 55%, 99%)
CMYKcmyk(4%, 0%, 55.2%, 1.2%)
CIE-LABlab(95.87, -21.37, 64.18)
CIE-LCHlch(95.87, 67.64, 108.41°)
OKLaboklab(95.7% -0.0628 0.1491)
OKLCHoklch(95.7% 0.162 112.8)
XYZxyz(74.4106, 89.6917, 29.0120)
Luminance0.8969 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2FC71 #7B71FC
analogous
#FCC171 #F2FC71 #ADFC71
triadic
#F2FC71 #71F2FC #FC71F2
tetradic
#F2FC71 #71FCC1 #7B71FC #FC71AD
square
#F2FC71 #71FCC1 #7B71FC #FC71AD
split-complementary
#F2FC71 #71ADFC #C171FC
monochromatic
#DDEE05 #EDFB35 #F2FC71 #F7FDAD #FCFEE1

Accessibility & contrast

On white

1.11
#F2FC71 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.94
#F2FC71 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2FC71
18.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2FC71#FFFFFF#000000##000000
##F2FC711.001.1118.9418.94
#FFFFFF1.111.0021.0021.00
#00000018.9421.001.001.00
##00000018.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF162
Deuteranopia (green-blind)
#FFF579
Tritanopia (blue-blind)
#FFEFDE
Achromatopsia (no color)
#F3F3F3

Design tokens & code

CSS
--color: #f2fc71;
/* rgb */ color: rgb(242, 252, 113);
/* oklch */ color: oklch(95.7% 0.162 112.8);
Tailwind
colors: {
  custom: {
    50: '#f9fd9e',
    500: '#f2fc71',
    950: '#000000',
  },
}
SCSS
$custom: #f2fc71;
$custom-light: #f9fd9e;
$custom-dark: #000000;
JSON
{
  "hex": "#f2fc71",
  "rgb": {
    "r": 242,
    "g": 252,
    "b": 113
  },
  "hsl": {
    "h": 64.317,
    "s": 95.862,
    "l": 71.569
  },
  "oklch": {
    "l": 0.95699,
    "c": 0.16175,
    "h": 112.8
  },
  "luminance": 0.8969
}

Semantic roles & 50–950 ramp

primary
#F2FC71
secondary
#4539D8
accent
#00E611
background
#FFFFFC
surface
#FFFFF5
border
#D7D7CF
text
#18170F
muted
#868580

Preview Lab

Preview with #F2FC71

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

Preview Lab → · Contrast checker → · Palette generator →

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