#F2F96B#F2F96B

#F2F96B 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.54:1 contrast (WCAG AA passes).

Color values

HEX#F2F96B
RGBrgb(242, 249, 107)
HSLhsl(63, 92%, 70%)
HSVhsv(63, 57%, 98%)
CMYKcmyk(2.8%, 0%, 57%, 2.4%)
CIE-LABlab(95.03, -20.38, 65.81)
CIE-LCHlch(95.03, 68.90, 107.20°)
OKLaboklab(95.01% -0.0606 0.1519)
OKLCHoklch(95.01% 0.164 111.7)
XYZxyz(73.1493, 87.6917, 26.9799)
Luminance0.8769 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2F96B #726BF9
analogous
#F9B96B #F2F96B #ABF96B
triadic
#F2F96B #6BF2F9 #F96BF2
tetradic
#F2F96B #6BF9B9 #726BF9 #F96BAB
square
#F2F96B #6BF9B9 #726BF9 #F96BAB
split-complementary
#F2F96B #6BABF9 #B96BF9
monochromatic
#D6E009 #EDF730 #F2F96B #F7FBA6 #FCFEE1

Accessibility & contrast

On white

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

On black

18.54
#F2F96B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2F96B
18.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2F96B#FFFFFF#000000##000000
##F2F96B1.001.1318.5418.54
#FFFFFF1.131.0021.0021.00
#00000018.5421.001.001.00
##00000018.5421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #f2f96b;
/* rgb */ color: rgb(242, 249, 107);
/* oklch */ color: oklch(95.0% 0.164 111.7);
Tailwind
colors: {
  custom: {
    50: '#f9fb9a',
    500: '#f2f96b',
    950: '#000000',
  },
}
SCSS
$custom: #f2f96b;
$custom-light: #f9fb9a;
$custom-dark: #000000;
JSON
{
  "hex": "#f2f96b",
  "rgb": {
    "r": 242,
    "g": 249,
    "b": 107
  },
  "hsl": {
    "h": 62.958,
    "s": 92.208,
    "l": 69.804
  },
  "oklch": {
    "l": 0.95012,
    "c": 0.16352,
    "h": 111.7
  },
  "luminance": 0.8769
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #F2F96B

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

Preview Lab → · Contrast checker → · Palette generator →

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