#F2F96A#F2F96A

#F2F96A is a very light, vivid yellow. Relative luminance 0.877; OKLCH L 95.0% C 0.164 H 111.7°. Best body text is #000000 at 18.53:1 contrast (WCAG AA passes).

Color values

HEX#F2F96A
RGBrgb(242, 249, 106)
HSLhsl(63, 92%, 70%)
HSVhsv(63, 57%, 98%)
CMYKcmyk(2.8%, 0%, 57.4%, 2.4%)
CIE-LABlab(95.02, -20.45, 66.23)
CIE-LCHlch(95.02, 69.31, 107.16°)
OKLaboklab(95% -0.0609 0.1527)
OKLCHoklch(95% 0.164 111.7)
XYZxyz(73.0970, 87.6708, 26.7044)
Luminance0.8767 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2F96A #716AF9
analogous
#F9B96A #F2F96A #ABF96A
triadic
#F2F96A #6AF2F9 #F96AF2
tetradic
#F2F96A #6AF9B9 #716AF9 #F96AAB
square
#F2F96A #6AF9B9 #716AF9 #F96AAB
split-complementary
#F2F96A #6AABF9 #B96AF9
monochromatic
#D5E009 #EDF72F #F2F96A #F7FBA5 #FCFEE0

Accessibility & contrast

On white

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

On black

18.53
#F2F96A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2F96A
18.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2F96A#FFFFFF#000000##000000
##F2F96A1.001.1318.5318.53
#FFFFFF1.131.0021.0021.00
#00000018.5321.001.001.00
##00000018.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEF5A
Deuteranopia (green-blind)
#FFF372
Tritanopia (blue-blind)
#FFEBDA
Achromatopsia (no color)
#F1F1F1

Design tokens & code

CSS
--color: #f2f96a;
/* rgb */ color: rgb(242, 249, 106);
/* oklch */ color: oklch(95.0% 0.164 111.7);
Tailwind
colors: {
  custom: {
    50: '#f9fb9a',
    500: '#f2f96a',
    950: '#000000',
  },
}
SCSS
$custom: #f2f96a;
$custom-light: #f9fb9a;
$custom-dark: #000000;
JSON
{
  "hex": "#f2f96a",
  "rgb": {
    "r": 242,
    "g": 249,
    "b": 106
  },
  "hsl": {
    "h": 62.937,
    "s": 92.258,
    "l": 69.608
  },
  "oklch": {
    "l": 0.95002,
    "c": 0.16434,
    "h": 111.7
  },
  "luminance": 0.87669
}

Semantic roles & 50–950 ramp

primary
#F2F96A
secondary
#3C34D3
accent
#00E60B
background
#FFFFFC
surface
#FFFFF5
border
#D7D7CF
text
#18170E
muted
#86857F

Preview Lab

Preview with #F2F96A

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

Preview Lab → · Contrast checker → · Palette generator →

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