#F2FC50#F2FC50

#F2FC50 is a very light, vivid yellow. Relative luminance 0.891; OKLCH L 95.4% C 0.186 H 112.7°. Best body text is #000000 at 18.82:1 contrast (WCAG AA passes).

Color values

HEX#F2FC50
RGBrgb(242, 252, 80)
HSLhsl(63, 97%, 65%)
HSVhsv(63, 68%, 99%)
CMYKcmyk(4%, 0%, 68.3%, 1.2%)
CIE-LABlab(95.61, -23.45, 76.99)
CIE-LCHlch(95.61, 80.48, 106.94°)
OKLaboklab(95.41% -0.0719 0.1717)
OKLCHoklch(95.41% 0.186 112.7)
XYZxyz(72.8785, 89.0789, 20.9427)
Luminance0.8908 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2FC50 #5A50FC
analogous
#FCB050 #F2FC50 #9CFC50
triadic
#F2FC50 #50F2FC #FC50F2
tetradic
#F2FC50 #50FCB0 #5A50FC #FC509C
square
#F2FC50 #50FCB0 #5A50FC #FC509C
split-complementary
#F2FC50 #509CFC #B050FC
monochromatic
#C2CE04 #EEFB14 #F2FC50 #F6FD8C #FBFEC8

Accessibility & contrast

On white

1.12
#F2FC50 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.82
#F2FC50 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2FC50
18.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2FC50#FFFFFF#000000##000000
##F2FC501.001.1218.8218.82
#FFFFFF1.121.0021.0021.00
#00000018.8221.001.001.00
##00000018.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF034
Deuteranopia (green-blind)
#FFF45D
Tritanopia (blue-blind)
#FFEDDA
Achromatopsia (no color)
#F2F2F2

Design tokens & code

CSS
--color: #f2fc50;
/* rgb */ color: rgb(242, 252, 80);
/* oklch */ color: oklch(95.4% 0.186 112.7);
Tailwind
colors: {
  custom: {
    50: '#fafd8b',
    500: '#f2fc50',
    950: '#000000',
  },
}
SCSS
$custom: #f2fc50;
$custom-light: #fafd8b;
$custom-dark: #000000;
JSON
{
  "hex": "#f2fc50",
  "rgb": {
    "r": 242,
    "g": 252,
    "b": 80
  },
  "hsl": {
    "h": 63.488,
    "s": 96.629,
    "l": 65.098
  },
  "oklch": {
    "l": 0.95413,
    "c": 0.18617,
    "h": 112.7
  },
  "luminance": 0.89077
}

Semantic roles & 50–950 ramp

primary
#F2FC50
secondary
#3027C9
accent
#00E60D
background
#FFFFFC
surface
#FFFFF4
border
#D7D7CE
text
#18170D
muted
#86857F

Preview Lab

Preview with #F2FC50

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

Preview Lab → · Contrast checker → · Palette generator →

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