#F2FC70#F2FC70

#F2FC70 is a very light, vivid yellow. Relative luminance 0.897; 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#F2FC70
RGBrgb(242, 252, 112)
HSLhsl(64, 96%, 71%)
HSVhsv(64, 56%, 99%)
CMYKcmyk(4%, 0%, 55.6%, 1.2%)
CIE-LABlab(95.86, -21.44, 64.60)
CIE-LCHlch(95.86, 68.07, 108.36°)
OKLaboklab(95.69% -0.0631 0.1499)
OKLCHoklch(95.69% 0.163 112.8)
XYZxyz(74.3547, 89.6693, 28.7171)
Luminance0.8967 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2FC70 #7A70FC
analogous
#FCC070 #F2FC70 #ACFC70
triadic
#F2FC70 #70F2FC #FC70F2
tetradic
#F2FC70 #70FCC0 #7A70FC #FC70AC
square
#F2FC70 #70FCC0 #7A70FC #FC70AC
split-complementary
#F2FC70 #70ACFC #C070FC
monochromatic
#DCED05 #EDFB34 #F2FC70 #F7FDAC #FCFEE1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##F2FC70#FFFFFF#000000##000000
##F2FC701.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)
#FFF161
Deuteranopia (green-blind)
#FFF578
Tritanopia (blue-blind)
#FFEFDD
Achromatopsia (no color)
#F3F3F3

Design tokens & code

CSS
--color: #f2fc70;
/* rgb */ color: rgb(242, 252, 112);
/* oklch */ color: oklch(95.7% 0.163 112.8);
Tailwind
colors: {
  custom: {
    50: '#f9fd9d',
    500: '#f2fc70',
    950: '#000000',
  },
}
SCSS
$custom: #f2fc70;
$custom-light: #f9fd9d;
$custom-dark: #000000;
JSON
{
  "hex": "#f2fc70",
  "rgb": {
    "r": 242,
    "g": 252,
    "b": 112
  },
  "hsl": {
    "h": 64.286,
    "s": 95.89,
    "l": 71.373
  },
  "oklch": {
    "l": 0.95688,
    "c": 0.16261,
    "h": 112.8
  },
  "luminance": 0.89668
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #F2FC70

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

Preview Lab → · Contrast checker → · Palette generator →

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