#F2FF71#F2FF71

#F2FF71 is a very light, vivid yellow. Relative luminance 0.916; OKLCH L 96.3% C 0.165 H 113.9°. Best body text is #000000 at 19.32:1 contrast (WCAG AA passes).

Color values

HEX#F2FF71
RGBrgb(242, 255, 113)
HSLhsl(65, 100%, 72%)
HSVhsv(65, 56%, 100%)
CMYKcmyk(5.1%, 0%, 55.7%, 0%)
CIE-LABlab(96.65, -22.80, 65.07)
CIE-LCHlch(96.65, 68.94, 109.31°)
OKLaboklab(96.33% -0.0668 0.151)
OKLCHoklch(96.33% 0.165 113.9)
XYZxyz(75.3602, 91.5908, 29.3285)
Luminance0.9159 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2FF71 #7E71FF
analogous
#FFC571 #F2FF71 #ABFF71
triadic
#F2FF71 #71F2FF #FF71F2
tetradic
#F2FF71 #71FFC5 #7E71FF #FF71AB
square
#F2FF71 #71FFC5 #7E71FF #FF71AB
split-complementary
#F2FF71 #71ABFF #C571FF
monochromatic
#DFF600 #ECFF34 #F2FF71 #F8FFAE #FCFFE0

Accessibility & contrast

On white

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

On black

19.32
#F2FF71 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2FF71
19.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2FF71#FFFFFF#000000##000000
##F2FF711.001.0919.3219.32
#FFFFFF1.091.0021.0021.00
#00000019.3221.001.001.00
##00000019.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF462
Deuteranopia (green-blind)
#FFF779
Tritanopia (blue-blind)
#FFF2E0
Achromatopsia (no color)
#F5F5F5

Design tokens & code

CSS
--color: #f2ff71;
/* rgb */ color: rgb(242, 255, 113);
/* oklch */ color: oklch(96.3% 0.165 113.9);
Tailwind
colors: {
  custom: {
    50: '#f9ff9e',
    500: '#f2ff71',
    950: '#000000',
  },
}
SCSS
$custom: #f2ff71;
$custom-light: #f9ff9e;
$custom-dark: #000000;
JSON
{
  "hex": "#f2ff71",
  "rgb": {
    "r": 242,
    "g": 255,
    "b": 113
  },
  "hsl": {
    "h": 65.493,
    "s": 100,
    "l": 72.157
  },
  "oklch": {
    "l": 0.96326,
    "c": 0.1651,
    "h": 113.9
  },
  "luminance": 0.91589
}

Semantic roles & 50–950 ramp

primary
#F2FF71
secondary
#4738DC
accent
#00E615
background
#FFFFFC
surface
#FFFFF5
border
#D7D7CF
text
#18170F
muted
#868580

Preview Lab

Preview with #F2FF71

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

Preview Lab → · Contrast checker → · Palette generator →

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