#F2FE71#F2FE71

#F2FE71 is a very light, vivid yellow. Relative luminance 0.910; OKLCH L 96.1% C 0.164 H 113.5°. Best body text is #000000 at 19.19:1 contrast (WCAG AA passes).

Color values

HEX#F2FE71
RGBrgb(242, 254, 113)
HSLhsl(65, 99%, 72%)
HSVhsv(65, 56%, 100%)
CMYKcmyk(4.7%, 0%, 55.5%, 0.4%)
CIE-LABlab(96.39, -22.32, 64.77)
CIE-LCHlch(96.39, 68.51, 109.01°)
OKLaboklab(96.12% -0.0655 0.1503)
OKLCHoklch(96.12% 0.164 113.5)
XYZxyz(75.0420, 90.9544, 29.2224)
Luminance0.9095 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2FE71 #7D71FE
analogous
#FEC371 #F2FE71 #ACFE71
triadic
#F2FE71 #71F2FE #FE71F2
tetradic
#F2FE71 #71FEC3 #7D71FE #FE71AC
square
#F2FE71 #71FEC3 #7D71FE #FE71AC
split-complementary
#F2FE71 #71ACFE #C371FE
monochromatic
#DEF302 #ECFE34 #F2FE71 #F8FEAE #FCFFE1

Accessibility & contrast

On white

1.09
#F2FE71 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

19.19
#F2FE71 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2FE71
19.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2FE71#FFFFFF#000000##000000
##F2FE711.001.0919.1919.19
#FFFFFF1.091.0021.0021.00
#00000019.1921.001.001.00
##00000019.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF362
Deuteranopia (green-blind)
#FFF679
Tritanopia (blue-blind)
#FFF1DF
Achromatopsia (no color)
#F5F5F5

Design tokens & code

CSS
--color: #f2fe71;
/* rgb */ color: rgb(242, 254, 113);
/* oklch */ color: oklch(96.1% 0.164 113.5);
Tailwind
colors: {
  custom: {
    50: '#f9fe9e',
    500: '#f2fe71',
    950: '#000000',
  },
}
SCSS
$custom: #f2fe71;
$custom-light: #f9fe9e;
$custom-dark: #000000;
JSON
{
  "hex": "#f2fe71",
  "rgb": {
    "r": 242,
    "g": 254,
    "b": 113
  },
  "hsl": {
    "h": 65.106,
    "s": 98.601,
    "l": 71.961
  },
  "oklch": {
    "l": 0.96116,
    "c": 0.16398,
    "h": 113.5
  },
  "luminance": 0.90953
}

Semantic roles & 50–950 ramp

primary
#F2FE71
secondary
#4639DB
accent
#00E614
background
#FFFFFC
surface
#FFFFF5
border
#D7D7CF
text
#18170F
muted
#868580

Preview Lab

Preview with #F2FE71

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

Preview Lab → · Contrast checker → · Palette generator →

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