#F2F96F#F2F96F

#F2F96F is a very light, vivid yellow. Relative luminance 0.878; OKLCH L 95.1% C 0.160 H 111.7°. Best body text is #000000 at 18.56:1 contrast (WCAG AA passes).

Color values

HEX#F2F96F
RGBrgb(242, 249, 111)
HSLhsl(63, 92%, 71%)
HSVhsv(63, 55%, 98%)
CMYKcmyk(2.8%, 0%, 55.4%, 2.4%)
CIE-LABlab(95.07, -20.08, 64.14)
CIE-LCHlch(95.07, 67.21, 107.39°)
OKLaboklab(95.05% -0.0593 0.1488)
OKLCHoklch(95.05% 0.16 111.7)
XYZxyz(73.3646, 87.7779, 28.1140)
Luminance0.8778 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2F96F #766FF9
analogous
#F9BB6F #F2F96F #ADF96F
triadic
#F2F96F #6FF2F9 #F96FF2
tetradic
#F2F96F #6FF9BB #766FF9 #F96FAD
square
#F2F96F #6FF9BB #766FF9 #F96FAD
split-complementary
#F2F96F #6FADF9 #BB6FF9
monochromatic
#D9E40A #EDF734 #F2F96F #F7FBAA #FCFEE2

Accessibility & contrast

On white

1.13
#F2F96F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.56
#F2F96F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2F96F
18.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2F96F#FFFFFF#000000##000000
##F2F96F1.001.1318.5618.56
#FFFFFF1.131.0021.0021.00
#00000018.5621.001.001.00
##00000018.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEF60
Deuteranopia (green-blind)
#FFF377
Tritanopia (blue-blind)
#FFECDB
Achromatopsia (no color)
#F1F1F1

Design tokens & code

CSS
--color: #f2f96f;
/* rgb */ color: rgb(242, 249, 111);
/* oklch */ color: oklch(95.1% 0.160 111.7);
Tailwind
colors: {
  custom: {
    50: '#f9fb9d',
    500: '#f2f96f',
    950: '#000000',
  },
}
SCSS
$custom: #f2f96f;
$custom-light: #f9fb9d;
$custom-dark: #000000;
JSON
{
  "hex": "#f2f96f",
  "rgb": {
    "r": 242,
    "g": 249,
    "b": 111
  },
  "hsl": {
    "h": 63.043,
    "s": 92,
    "l": 70.588
  },
  "oklch": {
    "l": 0.95052,
    "c": 0.16017,
    "h": 111.7
  },
  "luminance": 0.87776
}

Semantic roles & 50–950 ramp

primary
#F2F96F
secondary
#4038D4
accent
#00E60C
background
#FFFFFC
surface
#FFFFF5
border
#D7D7CF
text
#18170F
muted
#868580

Preview Lab

Preview with #F2F96F

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

Preview Lab → · Contrast checker → · Palette generator →

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