#F2FA9A#F2FA9A

#F2FA9A is a very light, moderate yellow. Relative luminance 0.896; OKLCH L 95.8% C 0.119 H 112.5°. Best body text is #000000 at 18.92:1 contrast (WCAG AA passes).

Color values

HEX#F2FA9A
RGBrgb(242, 250, 154)
HSLhsl(65, 91%, 79%)
HSVhsv(65, 38%, 98%)
CMYKcmyk(3.2%, 0%, 38.4%, 2%)
CIE-LABlab(95.82, -16.62, 45.14)
CIE-LCHlch(95.82, 48.10, 110.22°)
OKLaboklab(95.82% -0.0457 0.1102)
OKLCHoklch(95.82% 0.119 112.5)
XYZxyz(76.6370, 89.5826, 43.8196)
Luminance0.8958 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2FA9A #A29AFA
analogous
#FAD29A #F2FA9A #C2FA9A
triadic
#F2FA9A #9AF2FA #FA9AF2
tetradic
#F2FA9A #9AFAD2 #A29AFA #FA9AC2
square
#F2FA9A #9AFAD2 #A29AFA #FA9AC2
split-complementary
#F2FA9A #9AC2FA #D29AFA
monochromatic
#E3F425 #EAF760 #F2FA9A #FAFDD4 #FBFEE2

Accessibility & contrast

On white

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

On black

18.92
#F2FA9A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2FA9A
18.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2FA9A#FFFFFF#000000##000000
##F2FA9A1.001.1118.9218.92
#FFFFFF1.111.0021.0021.00
#00000018.9221.001.001.00
##00000018.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF293
Deuteranopia (green-blind)
#FFF49E
Tritanopia (blue-blind)
#FDF0E2
Achromatopsia (no color)
#F3F3F3

Design tokens & code

CSS
--color: #f2fa9a;
/* rgb */ color: rgb(242, 250, 154);
/* oklch */ color: oklch(95.8% 0.119 112.5);
Tailwind
colors: {
  custom: {
    50: '#f7fbb9',
    500: '#f2fa9a',
    950: '#000000',
  },
}
SCSS
$custom: #f2fa9a;
$custom-light: #f7fbb9;
$custom-dark: #000000;
JSON
{
  "hex": "#f2fa9a",
  "rgb": {
    "r": 242,
    "g": 250,
    "b": 154
  },
  "hsl": {
    "h": 65,
    "s": 90.566,
    "l": 79.216
  },
  "oklch": {
    "l": 0.95816,
    "c": 0.11927,
    "h": 112.5
  },
  "luminance": 0.89582
}

Semantic roles & 50–950 ramp

primary
#F2FA9A
secondary
#685DDB
accent
#00E613
background
#FFFFFD
surface
#FFFFF8
border
#D7D7D1
text
#171711
muted
#858581

Preview Lab

Preview with #F2FA9A

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

Preview Lab → · Contrast checker → · Palette generator →

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