#F2FE8A#F2FE8A

#F2FE8A is a very light, vivid yellow. Relative luminance 0.916; OKLCH L 96.4% C 0.141 H 113.9°. Best body text is #000000 at 19.32:1 contrast (WCAG AA passes).

Color values

HEX#F2FE8A
RGBrgb(242, 254, 138)
HSLhsl(66, 98%, 77%)
HSVhsv(66, 46%, 100%)
CMYKcmyk(4.7%, 0%, 45.7%, 0.4%)
CIE-LABlab(96.66, -20.18, 53.82)
CIE-LCHlch(96.66, 57.48, 110.56°)
OKLaboklab(96.41% -0.0571 0.1287)
OKLCHoklch(96.41% 0.141 113.9)
XYZxyz(76.6483, 91.5969, 37.6820)
Luminance0.9160 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2FE8A #968AFE
analogous
#FED08A #F2FE8A #B8FE8A
triadic
#F2FE8A #8AF2FE #FE8AF2
tetradic
#F2FE8A #8AFED0 #968AFE #FE8AB8
square
#F2FE8A #8AFED0 #968AFE #FE8AB8
split-complementary
#F2FE8A #8AB8FE #D08AFE
monochromatic
#E5FD11 #EBFD4D #F2FE8A #F9FFC7 #FCFFE1

Accessibility & contrast

On white

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

On black

19.32
#F2FE8A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2FE8A
19.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2FE8A#FFFFFF#000000##000000
##F2FE8A1.001.0919.3219.32
#FFFFFF1.091.0021.0021.00
#00000019.3221.001.001.00
##00000019.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF480
Deuteranopia (green-blind)
#FFF790
Tritanopia (blue-blind)
#FEF2E3
Achromatopsia (no color)
#F5F5F5

Design tokens & code

CSS
--color: #f2fe8a;
/* rgb */ color: rgb(242, 254, 138);
/* oklch */ color: oklch(96.4% 0.141 113.9);
Tailwind
colors: {
  custom: {
    50: '#f8feae',
    500: '#f2fe8a',
    950: '#000000',
  },
}
SCSS
$custom: #f2fe8a;
$custom-light: #f8feae;
$custom-dark: #000000;
JSON
{
  "hex": "#f2fe8a",
  "rgb": {
    "r": 242,
    "g": 254,
    "b": 138
  },
  "hsl": {
    "h": 66.207,
    "s": 98.305,
    "l": 76.863
  },
  "oklch": {
    "l": 0.96413,
    "c": 0.14083,
    "h": 113.9
  },
  "luminance": 0.91596
}

Semantic roles & 50–950 ramp

primary
#F2FE8A
secondary
#5D4EDE
accent
#00E618
background
#FFFFFD
surface
#FFFFF7
border
#D7D7D0
text
#171710
muted
#858581

Preview Lab

Preview with #F2FE8A

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

Preview Lab → · Contrast checker → · Palette generator →

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