#F2FC6B#F2FC6B

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

Color values

HEX#F2FC6B
RGBrgb(242, 252, 107)
HSLhsl(64, 96%, 70%)
HSVhsv(64, 58%, 99%)
CMYKcmyk(4%, 0%, 57.5%, 1.2%)
CIE-LABlab(95.81, -21.81, 66.68)
CIE-LCHlch(95.81, 70.16, 108.11°)
OKLaboklab(95.64% -0.0646 0.1537)
OKLCHoklch(95.64% 0.167 112.8)
XYZxyz(74.0840, 89.5610, 27.2915)
Luminance0.8956 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2FC6B #756BFC
analogous
#FCBD6B #F2FC6B #A9FC6B
triadic
#F2FC6B #6BF2FC #FC6BF2
tetradic
#F2FC6B #6BFCBD #756BFC #FC6BA9
square
#F2FC6B #6BFCBD #756BFC #FC6BA9
split-complementary
#F2FC6B #6BA9FC #BD6BFC
monochromatic
#D8E805 #EDFB2F #F2FC6B #F7FDA7 #FCFEE1

Accessibility & contrast

On white

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

On black

18.91
#F2FC6B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2FC6B
18.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2FC6B#FFFFFF#000000##000000
##F2FC6B1.001.1118.9118.91
#FFFFFF1.111.0021.0021.00
#00000018.9121.001.001.00
##00000018.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF15B
Deuteranopia (green-blind)
#FFF574
Tritanopia (blue-blind)
#FFEEDD
Achromatopsia (no color)
#F3F3F3

Design tokens & code

CSS
--color: #f2fc6b;
/* rgb */ color: rgb(242, 252, 107);
/* oklch */ color: oklch(95.6% 0.167 112.8);
Tailwind
colors: {
  custom: {
    50: '#f9fd9a',
    500: '#f2fc6b',
    950: '#000000',
  },
}
SCSS
$custom: #f2fc6b;
$custom-light: #f9fd9a;
$custom-dark: #000000;
JSON
{
  "hex": "#f2fc6b",
  "rgb": {
    "r": 242,
    "g": 252,
    "b": 107
  },
  "hsl": {
    "h": 64.138,
    "s": 96.026,
    "l": 70.392
  },
  "oklch": {
    "l": 0.95638,
    "c": 0.16677,
    "h": 112.8
  },
  "luminance": 0.8956
}

Semantic roles & 50–950 ramp

primary
#F2FC6B
secondary
#3F34D7
accent
#00E610
background
#FFFFFC
surface
#FFFFF5
border
#D7D7CF
text
#18170E
muted
#86857F

Preview Lab

Preview with #F2FC6B

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

Preview Lab → · Contrast checker → · Palette generator →

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