#F2FB70#F2FB70

#F2FB70 is a very light, vivid yellow. Relative luminance 0.890; OKLCH L 95.5% C 0.162 H 112.5°. Best body text is #000000 at 18.81:1 contrast (WCAG AA passes).

Color values

HEX#F2FB70
RGBrgb(242, 251, 112)
HSLhsl(64, 95%, 71%)
HSVhsv(64, 55%, 98%)
CMYKcmyk(3.6%, 0%, 55.4%, 1.6%)
CIE-LABlab(95.60, -20.97, 64.31)
CIE-LCHlch(95.60, 67.64, 108.06°)
OKLaboklab(95.48% -0.0617 0.1492)
OKLCHoklch(95.48% 0.162 112.5)
XYZxyz(74.0414, 89.0429, 28.6127)
Luminance0.8904 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2FB70 #7970FB
analogous
#FBBE70 #F2FB70 #ACFB70
triadic
#F2FB70 #70F2FB #FB70F2
tetradic
#F2FB70 #70FBBE #7970FB #FB70AC
square
#F2FB70 #70FBBE #7970FB #FB70AC
split-complementary
#F2FB70 #70ACFB #BE70FB
monochromatic
#DBEA07 #EDF934 #F2FB70 #F7FDAC #FCFEE1

Accessibility & contrast

On white

1.12
#F2FB70 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.81
#F2FB70 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2FB70
18.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2FB70#FFFFFF#000000##000000
##F2FB701.001.1218.8118.81
#FFFFFF1.121.0021.0021.00
#00000018.8121.001.001.00
##00000018.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF161
Deuteranopia (green-blind)
#FFF478
Tritanopia (blue-blind)
#FFEEDD
Achromatopsia (no color)
#F2F2F2

Design tokens & code

CSS
--color: #f2fb70;
/* rgb */ color: rgb(242, 251, 112);
/* oklch */ color: oklch(95.5% 0.162 112.5);
Tailwind
colors: {
  custom: {
    50: '#f9fc9d',
    500: '#f2fb70',
    950: '#000000',
  },
}
SCSS
$custom: #f2fb70;
$custom-light: #f9fc9d;
$custom-dark: #000000;
JSON
{
  "hex": "#f2fb70",
  "rgb": {
    "r": 242,
    "g": 251,
    "b": 112
  },
  "hsl": {
    "h": 63.885,
    "s": 94.558,
    "l": 71.176
  },
  "oklch": {
    "l": 0.9548,
    "c": 0.16151,
    "h": 112.5
  },
  "luminance": 0.89041
}

Semantic roles & 50–950 ramp

primary
#F2FB70
secondary
#4339D7
accent
#00E60F
background
#FFFFFC
surface
#FFFFF5
border
#D7D7CF
text
#18170F
muted
#868580

Preview Lab

Preview with #F2FB70

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

Preview Lab → · Contrast checker → · Palette generator →

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