#F2FA9D#F2FA9D

#F2FA9D is a very light, moderate yellow. Relative luminance 0.897; OKLCH L 95.9% C 0.116 H 112.6°. Best body text is #000000 at 18.94:1 contrast (WCAG AA passes).

Color values

HEX#F2FA9D
RGBrgb(242, 250, 157)
HSLhsl(65, 90%, 80%)
HSVhsv(65, 37%, 98%)
CMYKcmyk(3.2%, 0%, 37.2%, 2%)
CIE-LABlab(95.87, -16.29, 43.73)
CIE-LCHlch(95.87, 46.67, 110.43°)
OKLaboklab(95.86% -0.0445 0.1071)
OKLCHoklch(95.86% 0.116 112.6)
XYZxyz(76.8900, 89.6838, 45.1519)
Luminance0.8968 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2FA9D #A59DFA
analogous
#FAD39D #F2FA9D #C4FA9D
triadic
#F2FA9D #9DF2FA #FA9DF2
tetradic
#F2FA9D #9DFAD3 #A59DFA #FA9DC4
square
#F2FA9D #9DFAD3 #A59DFA #FA9DC4
split-complementary
#F2FA9D #9DC4FA #D39DFA
monochromatic
#E3F429 #EAF763 #F2FA9D #FAFDD7 #FBFEE2

Accessibility & contrast

On white

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

On black

18.94
#F2FA9D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2FA9D
18.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2FA9D#FFFFFF#000000##000000
##F2FA9D1.001.1118.9418.94
#FFFFFF1.111.0021.0021.00
#00000018.9421.001.001.00
##00000018.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF296
Deuteranopia (green-blind)
#FFF4A1
Tritanopia (blue-blind)
#FDF0E3
Achromatopsia (no color)
#F3F3F3

Design tokens & code

CSS
--color: #f2fa9d;
/* rgb */ color: rgb(242, 250, 157);
/* oklch */ color: oklch(95.9% 0.116 112.6);
Tailwind
colors: {
  custom: {
    50: '#f7fbbb',
    500: '#f2fa9d',
    950: '#000000',
  },
}
SCSS
$custom: #f2fa9d;
$custom-light: #f7fbbb;
$custom-dark: #000000;
JSON
{
  "hex": "#f2fa9d",
  "rgb": {
    "r": 242,
    "g": 250,
    "b": 157
  },
  "hsl": {
    "h": 65.161,
    "s": 90.291,
    "l": 79.804
  },
  "oklch": {
    "l": 0.95864,
    "c": 0.11599,
    "h": 112.6
  },
  "luminance": 0.89683
}

Semantic roles & 50–950 ramp

primary
#F2FA9D
secondary
#6B60DB
accent
#00E614
background
#FFFFFD
surface
#FFFFF8
border
#D7D7D1
text
#171712
muted
#858582

Preview Lab

Preview with #F2FA9D

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

Preview Lab → · Contrast checker → · Palette generator →

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