#F2FC6F#F2FC6F

#F2FC6F is a very light, vivid yellow. Relative luminance 0.896; OKLCH L 95.7% C 0.163 H 112.8°. Best body text is #000000 at 18.93:1 contrast (WCAG AA passes).

Color values

HEX#F2FC6F
RGBrgb(242, 252, 111)
HSLhsl(64, 96%, 71%)
HSVhsv(64, 56%, 99%)
CMYKcmyk(4%, 0%, 56%, 1.2%)
CIE-LABlab(95.85, -21.52, 65.02)
CIE-LCHlch(95.85, 68.49, 108.31°)
OKLaboklab(95.68% -0.0634 0.1507)
OKLCHoklch(95.68% 0.163 112.8)
XYZxyz(74.2993, 89.6472, 28.4255)
Luminance0.8965 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2FC6F #796FFC
analogous
#FCBF6F #F2FC6F #ABFC6F
triadic
#F2FC6F #6FF2FC #FC6FF2
tetradic
#F2FC6F #6FFCBF #796FFC #FC6FAB
square
#F2FC6F #6FFCBF #796FFC #FC6FAB
split-complementary
#F2FC6F #6FABFC #BF6FFC
monochromatic
#DBEC05 #EDFB33 #F2FC6F #F7FDAB #FCFEE1

Accessibility & contrast

On white

1.11
#F2FC6F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.93
#F2FC6F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2FC6F
18.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2FC6F#FFFFFF#000000##000000
##F2FC6F1.001.1118.9318.93
#FFFFFF1.111.0021.0021.00
#00000018.9321.001.001.00
##00000018.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF160
Deuteranopia (green-blind)
#FFF577
Tritanopia (blue-blind)
#FFEFDD
Achromatopsia (no color)
#F3F3F3

Design tokens & code

CSS
--color: #f2fc6f;
/* rgb */ color: rgb(242, 252, 111);
/* oklch */ color: oklch(95.7% 0.163 112.8);
Tailwind
colors: {
  custom: {
    50: '#f9fd9d',
    500: '#f2fc6f',
    950: '#000000',
  },
}
SCSS
$custom: #f2fc6f;
$custom-light: #f9fd9d;
$custom-dark: #000000;
JSON
{
  "hex": "#f2fc6f",
  "rgb": {
    "r": 242,
    "g": 252,
    "b": 111
  },
  "hsl": {
    "h": 64.255,
    "s": 95.918,
    "l": 71.176
  },
  "oklch": {
    "l": 0.95678,
    "c": 0.16345,
    "h": 112.8
  },
  "luminance": 0.89646
}

Semantic roles & 50–950 ramp

primary
#F2FC6F
secondary
#4337D8
accent
#00E610
background
#FFFFFC
surface
#FFFFF5
border
#D7D7CF
text
#18170F
muted
#868580

Preview Lab

Preview with #F2FC6F

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

Preview Lab → · Contrast checker → · Palette generator →

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