#F2FC8D#F2FC8D

#F2FC8D is a very light, vivid yellow. Relative luminance 0.904; OKLCH L 96.0% C 0.135 H 113.2°. Best body text is #000000 at 19.08:1 contrast (WCAG AA passes).

Color values

HEX#F2FC8D
RGBrgb(242, 252, 141)
HSLhsl(65, 95%, 77%)
HSVhsv(65, 44%, 99%)
CMYKcmyk(4%, 0%, 44%, 1.2%)
CIE-LABlab(96.17, -18.93, 51.81)
CIE-LCHlch(96.17, 55.16, 110.07°)
OKLaboklab(96.04% -0.0533 0.1245)
OKLCHoklch(96.04% 0.135 113.2)
XYZxyz(76.2371, 90.4223, 38.6313)
Luminance0.9042 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2FC8D #978DFC
analogous
#FCCE8D #F2FC8D #BBFC8D
triadic
#F2FC8D #8DF2FC #FC8DF2
tetradic
#F2FC8D #8DFCCE #978DFC #FC8DBB
square
#F2FC8D #8DFCCE #978DFC #FC8DBB
split-complementary
#F2FC8D #8DBBFC #CE8DFC
monochromatic
#E4F916 #EBFA51 #F2FC8D #F9FEC9 #FCFEE1

Accessibility & contrast

On white

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

On black

19.08
#F2FC8D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2FC8D
19.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2FC8D#FFFFFF#000000##000000
##F2FC8D1.001.1019.0819.08
#FFFFFF1.101.0021.0021.00
#00000019.0821.001.001.00
##00000019.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF384
Deuteranopia (green-blind)
#FFF592
Tritanopia (blue-blind)
#FEF1E2
Achromatopsia (no color)
#F4F4F4

Design tokens & code

CSS
--color: #f2fc8d;
/* rgb */ color: rgb(242, 252, 141);
/* oklch */ color: oklch(96.0% 0.135 113.2);
Tailwind
colors: {
  custom: {
    50: '#f8fdb0',
    500: '#f2fc8d',
    950: '#000000',
  },
}
SCSS
$custom: #f2fc8d;
$custom-light: #f8fdb0;
$custom-dark: #000000;
JSON
{
  "hex": "#f2fc8d",
  "rgb": {
    "r": 242,
    "g": 252,
    "b": 141
  },
  "hsl": {
    "h": 65.405,
    "s": 94.872,
    "l": 77.059
  },
  "oklch": {
    "l": 0.96039,
    "c": 0.13541,
    "h": 113.2
  },
  "luminance": 0.90421
}

Semantic roles & 50–950 ramp

primary
#F2FC8D
secondary
#5E51DC
accent
#00E615
background
#FFFFFD
surface
#FFFFF7
border
#D7D7D0
text
#171711
muted
#858581

Preview Lab

Preview with #F2FC8D

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

Preview Lab → · Contrast checker → · Palette generator →

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