#F2F996#F2F996

#F2F996 is a very light, vivid yellow. Relative luminance 0.888; OKLCH L 95.5% C 0.122 H 112.0°. Best body text is #000000 at 18.77:1 contrast (WCAG AA passes).

Color values

HEX#F2F996
RGBrgb(242, 249, 150)
HSLhsl(64, 89%, 78%)
HSVhsv(64, 40%, 98%)
CMYKcmyk(2.8%, 0%, 39.8%, 2.4%)
CIE-LABlab(95.51, -16.57, 46.68)
CIE-LCHlch(95.51, 49.53, 109.54°)
OKLaboklab(95.55% -0.0458 0.1135)
OKLCHoklch(95.55% 0.122 112)
XYZxyz(75.9995, 88.8318, 41.9909)
Luminance0.8883 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2F996 #9D96F9
analogous
#F9CE96 #F2F996 #C0F996
triadic
#F2F996 #96F2F9 #F996F2
tetradic
#F2F996 #96F9CE #9D96F9 #F996C0
square
#F2F996 #96F9CE #9D96F9 #F996C0
split-complementary
#F2F996 #96C0F9 #CE96F9
monochromatic
#E4F222 #EBF65C #F2F996 #F9FCD0 #FBFDE2

Accessibility & contrast

On white

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

On black

18.77
#F2F996 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2F996
18.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2F996#FFFFFF#000000##000000
##F2F9961.001.1218.7718.77
#FFFFFF1.121.0021.0021.00
#00000018.7721.001.001.00
##00000018.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF18E
Deuteranopia (green-blind)
#FFF39B
Tritanopia (blue-blind)
#FEEEE1
Achromatopsia (no color)
#F2F2F2

Design tokens & code

CSS
--color: #f2f996;
/* rgb */ color: rgb(242, 249, 150);
/* oklch */ color: oklch(95.5% 0.122 112.0);
Tailwind
colors: {
  custom: {
    50: '#f8fbb6',
    500: '#f2f996',
    950: '#000000',
  },
}
SCSS
$custom: #f2f996;
$custom-light: #f8fbb6;
$custom-dark: #000000;
JSON
{
  "hex": "#f2f996",
  "rgb": {
    "r": 242,
    "g": 249,
    "b": 150
  },
  "hsl": {
    "h": 64.242,
    "s": 89.189,
    "l": 78.235
  },
  "oklch": {
    "l": 0.95549,
    "c": 0.12239,
    "h": 112
  },
  "luminance": 0.88831
}

Semantic roles & 50–950 ramp

primary
#F2F996
secondary
#635AD9
accent
#00E610
background
#FFFFFD
surface
#FFFFF8
border
#D7D7D1
text
#171711
muted
#858581

Preview Lab

Preview with #F2F996

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

Preview Lab → · Contrast checker → · Palette generator →

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