#F2FA6F#F2FA6F

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

Color values

HEX#F2FA6F
RGBrgb(242, 250, 111)
HSLhsl(63, 93%, 71%)
HSVhsv(63, 56%, 98%)
CMYKcmyk(3.2%, 0%, 55.6%, 2%)
CIE-LABlab(95.33, -20.56, 64.43)
CIE-LCHlch(95.33, 67.64, 107.70°)
OKLaboklab(95.26% -0.0607 0.1494)
OKLCHoklch(95.26% 0.161 112.1)
XYZxyz(73.6745, 88.3977, 28.2173)
Luminance0.8840 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2FA6F #776FFA
analogous
#FABC6F #F2FA6F #ACFA6F
triadic
#F2FA6F #6FF2FA #FA6FF2
tetradic
#F2FA6F #6FFABC #776FFA #FA6FAC
square
#F2FA6F #6FFABC #776FFA #FA6FAC
split-complementary
#F2FA6F #6FACFA #BC6FFA
monochromatic
#DAE708 #EDF834 #F2FA6F #F7FCAA #FCFEE1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##F2FA6F#FFFFFF#000000##000000
##F2FA6F1.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)
#FFF060
Deuteranopia (green-blind)
#FFF377
Tritanopia (blue-blind)
#FFEDDC
Achromatopsia (no color)
#F2F2F2

Design tokens & code

CSS
--color: #f2fa6f;
/* rgb */ color: rgb(242, 250, 111);
/* oklch */ color: oklch(95.3% 0.161 112.1);
Tailwind
colors: {
  custom: {
    50: '#f9fb9d',
    500: '#f2fa6f',
    950: '#000000',
  },
}
SCSS
$custom: #f2fa6f;
$custom-light: #f9fb9d;
$custom-dark: #000000;
JSON
{
  "hex": "#f2fa6f",
  "rgb": {
    "r": 242,
    "g": 250,
    "b": 111
  },
  "hsl": {
    "h": 63.453,
    "s": 93.289,
    "l": 70.784
  },
  "oklch": {
    "l": 0.95261,
    "c": 0.16126,
    "h": 112.1
  },
  "luminance": 0.88396
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #F2FA6F

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

Preview Lab → · Contrast checker → · Palette generator →

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