#F2FF52#F2FF52

#F2FF52 is a very light, vivid yellow. Relative luminance 0.910; OKLCH L 96.1% C 0.188 H 113.6°. Best body text is #000000 at 19.20:1 contrast (WCAG AA passes).

Color values

HEX#F2FF52
RGBrgb(242, 255, 82)
HSLhsl(65, 100%, 66%)
HSVhsv(65, 68%, 100%)
CMYKcmyk(5.1%, 0%, 67.8%, 0%)
CIE-LABlab(96.41, -24.77, 77.07)
CIE-LCHlch(96.41, 80.96, 107.81°)
OKLaboklab(96.06% -0.0753 0.1722)
OKLCHoklch(96.06% 0.188 113.6)
XYZxyz(73.9030, 91.0079, 21.6542)
Luminance0.9101 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2FF52 #5F52FF
analogous
#FFB652 #F2FF52 #9BFF52
triadic
#F2FF52 #52F2FF #FF52F2
tetradic
#F2FF52 #52FFB6 #5F52FF #FF529B
square
#F2FF52 #52FFB6 #5F52FF #FF529B
split-complementary
#F2FF52 #529BFF #B652FF
monochromatic
#C6D700 #EDFF15 #F2FF52 #F7FF8F #FBFFCC

Accessibility & contrast

On white

1.09
#F2FF52 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

19.20
#F2FF52 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2FF52
19.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2FF52#FFFFFF#000000##000000
##F2FF521.001.0919.2019.20
#FFFFFF1.091.0021.0021.00
#00000019.2021.001.001.00
##00000019.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF336
Deuteranopia (green-blind)
#FFF65F
Tritanopia (blue-blind)
#FFF0DD
Achromatopsia (no color)
#F5F5F5

Design tokens & code

CSS
--color: #f2ff52;
/* rgb */ color: rgb(242, 255, 82);
/* oklch */ color: oklch(96.1% 0.188 113.6);
Tailwind
colors: {
  custom: {
    50: '#faff8c',
    500: '#f2ff52',
    950: '#000000',
  },
}
SCSS
$custom: #f2ff52;
$custom-light: #faff8c;
$custom-dark: #000000;
JSON
{
  "hex": "#f2ff52",
  "rgb": {
    "r": 242,
    "g": 255,
    "b": 82
  },
  "hsl": {
    "h": 64.509,
    "s": 100,
    "l": 66.078
  },
  "oklch": {
    "l": 0.96057,
    "c": 0.188,
    "h": 113.6
  },
  "luminance": 0.91006
}

Semantic roles & 50–950 ramp

primary
#F2FF52
secondary
#3225D0
accent
#00E611
background
#FFFFFC
surface
#FFFFF4
border
#D7D7CE
text
#18170D
muted
#86857F

Preview Lab

Preview with #F2FF52

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

Preview Lab → · Contrast checker → · Palette generator →

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