#F2FC5F#F2FC5F

#F2FC5F is a very light, vivid yellow. Relative luminance 0.893; OKLCH L 95.5% C 0.176 H 112.7°. Best body text is #000000 at 18.86:1 contrast (WCAG AA passes).

Color values

HEX#F2FC5F
RGBrgb(242, 252, 95)
HSLhsl(64, 96%, 68%)
HSVhsv(64, 62%, 99%)
CMYKcmyk(4%, 0%, 62.3%, 1.2%)
CIE-LABlab(95.72, -22.61, 71.48)
CIE-LCHlch(95.72, 74.97, 107.55°)
OKLaboklab(95.53% -0.0681 0.1624)
OKLCHoklch(95.53% 0.176 112.7)
XYZxyz(73.4959, 89.3258, 24.1942)
Luminance0.8932 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2FC5F #695FFC
analogous
#FCB85F #F2FC5F #A3FC5F
triadic
#F2FC5F #5FF2FC #FC5FF2
tetradic
#F2FC5F #5FFCB8 #695FFC #FC5FA3
square
#F2FC5F #5FFCB8 #695FFC #FC5FA3
split-complementary
#F2FC5F #5FA3FC #B85FFC
monochromatic
#CFDC04 #EDFB23 #F2FC5F #F7FD9B #FCFED7

Accessibility & contrast

On white

1.11
#F2FC5F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.86
#F2FC5F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2FC5F
18.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2FC5F#FFFFFF#000000##000000
##F2FC5F1.001.1118.8618.86
#FFFFFF1.111.0021.0021.00
#00000018.8621.001.001.00
##00000018.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF14B
Deuteranopia (green-blind)
#FFF469
Tritanopia (blue-blind)
#FFEEDB
Achromatopsia (no color)
#F3F3F3

Design tokens & code

CSS
--color: #f2fc5f;
/* rgb */ color: rgb(242, 252, 95);
/* oklch */ color: oklch(95.5% 0.176 112.7);
Tailwind
colors: {
  custom: {
    50: '#fafd93',
    500: '#f2fc5f',
    950: '#000000',
  },
}
SCSS
$custom: #f2fc5f;
$custom-light: #fafd93;
$custom-dark: #000000;
JSON
{
  "hex": "#f2fc5f",
  "rgb": {
    "r": 242,
    "g": 252,
    "b": 95
  },
  "hsl": {
    "h": 63.822,
    "s": 96.319,
    "l": 68.039
  },
  "oklch": {
    "l": 0.95528,
    "c": 0.17605,
    "h": 112.7
  },
  "luminance": 0.89324
}

Semantic roles & 50–950 ramp

primary
#F2FC5F
secondary
#352AD5
accent
#00E60F
background
#FFFFFC
surface
#FFFFF5
border
#D7D7CF
text
#18170E
muted
#86857F

Preview Lab

Preview with #F2FC5F

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

Preview Lab → · Contrast checker → · Palette generator →

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