#F2FC8A#F2FC8A

#F2FC8A is a very light, vivid yellow. Relative luminance 0.903; OKLCH L 96.0% C 0.138 H 113.1°. Best body text is #000000 at 19.07:1 contrast (WCAG AA passes).

Color values

HEX#F2FC8A
RGBrgb(242, 252, 138)
HSLhsl(65, 95%, 76%)
HSVhsv(65, 45%, 99%)
CMYKcmyk(4%, 0%, 45.2%, 1.2%)
CIE-LABlab(96.14, -19.22, 53.18)
CIE-LCHlch(96.14, 56.55, 109.87°)
OKLaboklab(96% -0.0543 0.1273)
OKLCHoklch(96% 0.138 113.1)
XYZxyz(76.0169, 90.3342, 37.4716)
Luminance0.9033 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2FC8A #948AFC
analogous
#FCCD8A #F2FC8A #B9FC8A
triadic
#F2FC8A #8AF2FC #FC8AF2
tetradic
#F2FC8A #8AFCCD #948AFC #FC8AB9
square
#F2FC8A #8AFCCD #948AFC #FC8AB9
split-complementary
#F2FC8A #8AB9FC #CD8AFC
monochromatic
#E5F913 #EBFA4E #F2FC8A #F9FEC6 #FCFEE1

Accessibility & contrast

On white

1.10
#F2FC8A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

19.07
#F2FC8A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2FC8A
19.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2FC8A#FFFFFF#000000##000000
##F2FC8A1.001.1019.0719.07
#FFFFFF1.101.0021.0021.00
#00000019.0721.001.001.00
##00000019.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF380
Deuteranopia (green-blind)
#FFF590
Tritanopia (blue-blind)
#FEF0E1
Achromatopsia (no color)
#F4F4F4

Design tokens & code

CSS
--color: #f2fc8a;
/* rgb */ color: rgb(242, 252, 138);
/* oklch */ color: oklch(96.0% 0.138 113.1);
Tailwind
colors: {
  custom: {
    50: '#f8fdae',
    500: '#f2fc8a',
    950: '#000000',
  },
}
SCSS
$custom: #f2fc8a;
$custom-light: #f8fdae;
$custom-dark: #000000;
JSON
{
  "hex": "#f2fc8a",
  "rgb": {
    "r": 242,
    "g": 252,
    "b": 138
  },
  "hsl": {
    "h": 65.263,
    "s": 95,
    "l": 76.471
  },
  "oklch": {
    "l": 0.95998,
    "c": 0.13844,
    "h": 113.1
  },
  "luminance": 0.90333
}

Semantic roles & 50–950 ramp

primary
#F2FC8A
secondary
#5B4FDC
accent
#00E614
background
#FFFFFD
surface
#FFFFF7
border
#D7D7D0
text
#171710
muted
#858581

Preview Lab

Preview with #F2FC8A

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

Preview Lab → · Contrast checker → · Palette generator →

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