#F2FC62#F2FC62

#F2FC62 is a very light, vivid yellow. Relative luminance 0.894; OKLCH L 95.6% C 0.174 H 112.8°. Best body text is #000000 at 18.88:1 contrast (WCAG AA passes).

Color values

HEX#F2FC62
RGBrgb(242, 252, 98)
HSLhsl(64, 96%, 69%)
HSVhsv(64, 61%, 99%)
CMYKcmyk(4%, 0%, 61.1%, 1.2%)
CIE-LABlab(95.74, -22.42, 70.31)
CIE-LCHlch(95.74, 73.79, 107.69°)
OKLaboklab(95.55% -0.0672 0.1603)
OKLCHoklch(95.55% 0.174 112.8)
XYZxyz(73.6349, 89.3814, 24.9263)
Luminance0.8938 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2FC62 #6C62FC
analogous
#FCB962 #F2FC62 #A5FC62
triadic
#F2FC62 #62F2FC #FC62F2
tetradic
#F2FC62 #62FCB9 #6C62FC #FC62A5
square
#F2FC62 #62FCB9 #6C62FC #FC62A5
split-complementary
#F2FC62 #62A5FC #B962FC
monochromatic
#D1DF04 #EDFB26 #F2FC62 #F7FD9E #FCFEDA

Accessibility & contrast

On white

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

On black

18.88
#F2FC62 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2FC62
18.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2FC62#FFFFFF#000000##000000
##F2FC621.001.1118.8818.88
#FFFFFF1.111.0021.0021.00
#00000018.8821.001.001.00
##00000018.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF14F
Deuteranopia (green-blind)
#FFF56C
Tritanopia (blue-blind)
#FFEEDC
Achromatopsia (no color)
#F3F3F3

Design tokens & code

CSS
--color: #f2fc62;
/* rgb */ color: rgb(242, 252, 98);
/* oklch */ color: oklch(95.6% 0.174 112.8);
Tailwind
colors: {
  custom: {
    50: '#f9fd95',
    500: '#f2fc62',
    950: '#000000',
  },
}
SCSS
$custom: #f2fc62;
$custom-light: #f9fd95;
$custom-dark: #000000;
JSON
{
  "hex": "#f2fc62",
  "rgb": {
    "r": 242,
    "g": 252,
    "b": 98
  },
  "hsl": {
    "h": 63.896,
    "s": 96.25,
    "l": 68.627
  },
  "oklch": {
    "l": 0.95554,
    "c": 0.17382,
    "h": 112.8
  },
  "luminance": 0.8938
}

Semantic roles & 50–950 ramp

primary
#F2FC62
secondary
#372CD6
accent
#00E60F
background
#FFFFFC
surface
#FFFFF5
border
#D7D7CF
text
#18170E
muted
#86857F

Preview Lab

Preview with #F2FC62

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

Preview Lab → · Contrast checker → · Palette generator →

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