#F2FF56#F2FF56

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

Color values

HEX#F2FF56
RGBrgb(242, 255, 86)
HSLhsl(65, 100%, 67%)
HSVhsv(65, 66%, 100%)
CMYKcmyk(5.1%, 0%, 66.3%, 0%)
CIE-LABlab(96.44, -24.55, 75.66)
CIE-LCHlch(96.44, 79.54, 107.98°)
OKLaboklab(96.09% -0.0744 0.1699)
OKLCHoklch(96.09% 0.185 113.6)
XYZxyz(74.0597, 91.0706, 22.4793)
Luminance0.9107 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2FF56 #6356FF
analogous
#FFB756 #F2FF56 #9EFF56
triadic
#F2FF56 #56F2FF #FF56F2
tetradic
#F2FF56 #56FFB7 #6356FF #FF569E
square
#F2FF56 #56FFB7 #6356FF #FF569E
split-complementary
#F2FF56 #569EFF #B756FF
monochromatic
#CADB00 #EDFF19 #F2FF56 #F7FF93 #FBFFD0

Accessibility & contrast

On white

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

On black

19.21
#F2FF56 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2FF56
19.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2FF56#FFFFFF#000000##000000
##F2FF561.001.0919.2119.21
#FFFFFF1.091.0021.0021.00
#00000019.2121.001.001.00
##00000019.2121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #f2ff56;
/* rgb */ color: rgb(242, 255, 86);
/* oklch */ color: oklch(96.1% 0.185 113.6);
Tailwind
colors: {
  custom: {
    50: '#faff8e',
    500: '#f2ff56',
    950: '#000000',
  },
}
SCSS
$custom: #f2ff56;
$custom-light: #faff8e;
$custom-dark: #000000;
JSON
{
  "hex": "#f2ff56",
  "rgb": {
    "r": 242,
    "g": 255,
    "b": 86
  },
  "hsl": {
    "h": 64.615,
    "s": 100,
    "l": 66.863
  },
  "oklch": {
    "l": 0.96086,
    "c": 0.18543,
    "h": 113.6
  },
  "luminance": 0.91069
}

Semantic roles & 50–950 ramp

primary
#F2FF56
secondary
#3325D4
accent
#00E612
background
#FFFFFC
surface
#FFFFF4
border
#D7D7CE
text
#18170D
muted
#86857F

Preview Lab

Preview with #F2FF56

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

Preview Lab → · Contrast checker → · Palette generator →

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