#F2FA70#F2FA70

#F2FA70 is a very light, vivid yellow. Relative luminance 0.884; OKLCH L 95.3% C 0.160 H 112.1°. Best body text is #000000 at 18.68:1 contrast (WCAG AA passes).

Color values

HEX#F2FA70
RGBrgb(242, 250, 112)
HSLhsl(63, 93%, 71%)
HSVhsv(63, 55%, 98%)
CMYKcmyk(3.2%, 0%, 55.2%, 2%)
CIE-LABlab(95.34, -20.49, 64.01)
CIE-LCHlch(95.34, 67.21, 107.75°)
OKLaboklab(95.27% -0.0604 0.1486)
OKLCHoklch(95.27% 0.16 112.1)
XYZxyz(73.7299, 88.4198, 28.5089)
Luminance0.8842 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2FA70 #7870FA
analogous
#FABD70 #F2FA70 #ADFA70
triadic
#F2FA70 #70F2FA #FA70F2
tetradic
#F2FA70 #70FABD #7870FA #FA70AD
square
#F2FA70 #70FABD #7870FA #FA70AD
split-complementary
#F2FA70 #70ADFA #BD70FA
monochromatic
#DBE808 #EDF835 #F2FA70 #F7FCAB #FCFEE1

Accessibility & contrast

On white

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

On black

18.68
#F2FA70 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2FA70
18.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2FA70#FFFFFF#000000##000000
##F2FA701.001.1218.6818.68
#FFFFFF1.121.0021.0021.00
#00000018.6821.001.001.00
##00000018.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF062
Deuteranopia (green-blind)
#FFF378
Tritanopia (blue-blind)
#FFEDDC
Achromatopsia (no color)
#F2F2F2

Design tokens & code

CSS
--color: #f2fa70;
/* rgb */ color: rgb(242, 250, 112);
/* oklch */ color: oklch(95.3% 0.160 112.1);
Tailwind
colors: {
  custom: {
    50: '#f9fb9d',
    500: '#f2fa70',
    950: '#000000',
  },
}
SCSS
$custom: #f2fa70;
$custom-light: #f9fb9d;
$custom-dark: #000000;
JSON
{
  "hex": "#f2fa70",
  "rgb": {
    "r": 242,
    "g": 250,
    "b": 112
  },
  "hsl": {
    "h": 63.478,
    "s": 93.243,
    "l": 70.98
  },
  "oklch": {
    "l": 0.95271,
    "c": 0.16041,
    "h": 112.1
  },
  "luminance": 0.88418
}

Semantic roles & 50–950 ramp

primary
#F2FA70
secondary
#4239D5
accent
#00E60D
background
#FFFFFC
surface
#FFFFF5
border
#D7D7CF
text
#18170F
muted
#868580

Preview Lab

Preview with #F2FA70

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

Preview Lab → · Contrast checker → · Palette generator →

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