#F2FF8A#F2FF8A

#F2FF8A is a very light, vivid yellow. Relative luminance 0.922; OKLCH L 96.6% C 0.142 H 114.3°. Best body text is #000000 at 19.45:1 contrast (WCAG AA passes).

Color values

HEX#F2FF8A
RGBrgb(242, 255, 138)
HSLhsl(67, 100%, 77%)
HSVhsv(67, 46%, 100%)
CMYKcmyk(5.1%, 0%, 45.9%, 0%)
CIE-LABlab(96.92, -20.66, 54.13)
CIE-LCHlch(96.92, 57.94, 110.89°)
OKLaboklab(96.62% -0.0584 0.1294)
OKLCHoklch(96.62% 0.142 114.3)
XYZxyz(76.9664, 92.2333, 37.7881)
Luminance0.9223 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2FF8A #978AFF
analogous
#FFD28A #F2FF8A #B7FF8A
triadic
#F2FF8A #8AF2FF #FF8AF2
tetradic
#F2FF8A #8AFFD2 #978AFF #FF8AB7
square
#F2FF8A #8AFFD2 #978AFF #FF8AB7
split-complementary
#F2FF8A #8AB7FF #D28AFF
monochromatic
#E4FF10 #EBFF4D #F2FF8A #F9FFC7 #FCFFE0

Accessibility & contrast

On white

1.08
#F2FF8A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

19.45
#F2FF8A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2FF8A
19.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2FF8A#FFFFFF#000000##000000
##F2FF8A1.001.0819.4519.45
#FFFFFF1.081.0021.0021.00
#00000019.4521.001.001.00
##00000019.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF580
Deuteranopia (green-blind)
#FFF790
Tritanopia (blue-blind)
#FEF3E4
Achromatopsia (no color)
#F6F6F6

Design tokens & code

CSS
--color: #f2ff8a;
/* rgb */ color: rgb(242, 255, 138);
/* oklch */ color: oklch(96.6% 0.142 114.3);
Tailwind
colors: {
  custom: {
    50: '#f8ffae',
    500: '#f2ff8a',
    950: '#000000',
  },
}
SCSS
$custom: #f2ff8a;
$custom-light: #f8ffae;
$custom-dark: #000000;
JSON
{
  "hex": "#f2ff8a",
  "rgb": {
    "r": 242,
    "g": 255,
    "b": 138
  },
  "hsl": {
    "h": 66.667,
    "s": 100,
    "l": 77.059
  },
  "oklch": {
    "l": 0.96621,
    "c": 0.14203,
    "h": 114.3
  },
  "luminance": 0.92232
}

Semantic roles & 50–950 ramp

primary
#F2FF8A
secondary
#5E4EE0
accent
#00E61A
background
#FFFFFD
surface
#FFFFF7
border
#D7D7D0
text
#171710
muted
#858581

Preview Lab

Preview with #F2FF8A

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

Preview Lab → · Contrast checker → · Palette generator →

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