#F2FC87#F2FC87

#F2FC87 is a very light, vivid yellow. Relative luminance 0.902; OKLCH L 96.0% C 0.141 H 113.1°. Best body text is #000000 at 19.05:1 contrast (WCAG AA passes).

Color values

HEX#F2FC87
RGBrgb(242, 252, 135)
HSLhsl(65, 95%, 76%)
HSVhsv(65, 46%, 99%)
CMYKcmyk(4%, 0%, 46.4%, 1.2%)
CIE-LABlab(96.10, -19.51, 54.54)
CIE-LCHlch(96.10, 57.92, 109.68°)
OKLaboklab(95.96% -0.0554 0.1301)
OKLCHoklch(95.96% 0.141 113.1)
XYZxyz(75.8027, 90.2485, 36.3435)
Luminance0.9025 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2FC87 #9187FC
analogous
#FCCB87 #F2FC87 #B7FC87
triadic
#F2FC87 #87F2FC #FC87F2
tetradic
#F2FC87 #87FCCB #9187FC #FC87B7
square
#F2FC87 #87FCCB #9187FC #FC87B7
split-complementary
#F2FC87 #87B7FC #CB87FC
monochromatic
#E5F910 #ECFB4B #F2FC87 #F8FDC3 #FCFEE1

Accessibility & contrast

On white

1.10
#F2FC87 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

19.05
#F2FC87 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2FC87
19.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2FC87#FFFFFF#000000##000000
##F2FC871.001.1019.0519.05
#FFFFFF1.101.0021.0021.00
#00000019.0521.001.001.00
##00000019.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF27D
Deuteranopia (green-blind)
#FFF58D
Tritanopia (blue-blind)
#FFF0E1
Achromatopsia (no color)
#F4F4F4

Design tokens & code

CSS
--color: #f2fc87;
/* rgb */ color: rgb(242, 252, 135);
/* oklch */ color: oklch(96.0% 0.141 113.1);
Tailwind
colors: {
  custom: {
    50: '#f8fdac',
    500: '#f2fc87',
    950: '#000000',
  },
}
SCSS
$custom: #f2fc87;
$custom-light: #f8fdac;
$custom-dark: #000000;
JSON
{
  "hex": "#f2fc87",
  "rgb": {
    "r": 242,
    "g": 252,
    "b": 135
  },
  "hsl": {
    "h": 65.128,
    "s": 95.122,
    "l": 75.882
  },
  "oklch": {
    "l": 0.95958,
    "c": 0.14144,
    "h": 113.1
  },
  "luminance": 0.90247
}

Semantic roles & 50–950 ramp

primary
#F2FC87
secondary
#584CDB
accent
#00E614
background
#FFFFFD
surface
#FFFFF7
border
#D7D7D0
text
#171710
muted
#858581

Preview Lab

Preview with #F2FC87

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

Preview Lab → · Contrast checker → · Palette generator →

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