#F2FF87#F2FF87

#F2FF87 is a very light, vivid yellow. Relative luminance 0.921; OKLCH L 96.6% C 0.145 H 114.2°. Best body text is #000000 at 19.43:1 contrast (WCAG AA passes).

Color values

HEX#F2FF87
RGBrgb(242, 255, 135)
HSLhsl(67, 100%, 76%)
HSVhsv(67, 47%, 100%)
CMYKcmyk(5.1%, 0%, 47.1%, 0%)
CIE-LABlab(96.88, -20.95, 55.49)
CIE-LCHlch(96.88, 59.31, 110.68°)
OKLaboklab(96.58% -0.0595 0.1322)
OKLCHoklch(96.58% 0.145 114.2)
XYZxyz(76.7522, 92.1476, 36.6600)
Luminance0.9215 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2FF87 #9487FF
analogous
#FFD087 #F2FF87 #B6FF87
triadic
#F2FF87 #87F2FF #FF87F2
tetradic
#F2FF87 #87FFD0 #9487FF #FF87B6
square
#F2FF87 #87FFD0 #9487FF #FF87B6
split-complementary
#F2FF87 #87B6FF #D087FF
monochromatic
#E5FF0D #EBFF4A #F2FF87 #F9FFC4 #FCFFE0

Accessibility & contrast

On white

1.08
#F2FF87 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

19.43
#F2FF87 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2FF87
19.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2FF87#FFFFFF#000000##000000
##F2FF871.001.0819.4319.43
#FFFFFF1.081.0021.0021.00
#00000019.4321.001.001.00
##00000019.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF57D
Deuteranopia (green-blind)
#FFF78D
Tritanopia (blue-blind)
#FEF3E3
Achromatopsia (no color)
#F6F6F6

Design tokens & code

CSS
--color: #f2ff87;
/* rgb */ color: rgb(242, 255, 135);
/* oklch */ color: oklch(96.6% 0.145 114.2);
Tailwind
colors: {
  custom: {
    50: '#f8ffac',
    500: '#f2ff87',
    950: '#000000',
  },
}
SCSS
$custom: #f2ff87;
$custom-light: #f8ffac;
$custom-dark: #000000;
JSON
{
  "hex": "#f2ff87",
  "rgb": {
    "r": 242,
    "g": 255,
    "b": 135
  },
  "hsl": {
    "h": 66.5,
    "s": 100,
    "l": 76.471
  },
  "oklch": {
    "l": 0.96581,
    "c": 0.14499,
    "h": 114.2
  },
  "luminance": 0.92147
}

Semantic roles & 50–950 ramp

primary
#F2FF87
secondary
#5B4BDF
accent
#00E619
background
#FFFFFD
surface
#FFFFF7
border
#D7D7D0
text
#171710
muted
#858581

Preview Lab

Preview with #F2FF87

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

Preview Lab → · Contrast checker → · Palette generator →

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