#F2F96C#F2F96C

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

Color values

HEX#F2F96C
RGBrgb(242, 249, 108)
HSLhsl(63, 92%, 70%)
HSVhsv(63, 57%, 98%)
CMYKcmyk(2.8%, 0%, 56.6%, 2.4%)
CIE-LABlab(95.04, -20.30, 65.40)
CIE-LCHlch(95.04, 68.48, 107.25°)
OKLaboklab(95.02% -0.0603 0.1511)
OKLCHoklch(95.02% 0.163 111.7)
XYZxyz(73.2022, 87.7129, 27.2586)
Luminance0.8771 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2F96C #736CF9
analogous
#F9BA6C #F2F96C #ABF96C
triadic
#F2F96C #6CF2F9 #F96CF2
tetradic
#F2F96C #6CF9BA #736CF9 #F96CAB
square
#F2F96C #6CF9BA #736CF9 #F96CAB
split-complementary
#F2F96C #6CABF9 #BA6CF9
monochromatic
#D7E109 #EDF731 #F2F96C #F7FBA7 #FCFEE2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##F2F96C#FFFFFF#000000##000000
##F2F96C1.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)
#FFEF5D
Deuteranopia (green-blind)
#FFF374
Tritanopia (blue-blind)
#FFEBDA
Achromatopsia (no color)
#F1F1F1

Design tokens & code

CSS
--color: #f2f96c;
/* rgb */ color: rgb(242, 249, 108);
/* oklch */ color: oklch(95.0% 0.163 111.7);
Tailwind
colors: {
  custom: {
    50: '#f9fb9b',
    500: '#f2f96c',
    950: '#000000',
  },
}
SCSS
$custom: #f2f96c;
$custom-light: #f9fb9b;
$custom-dark: #000000;
JSON
{
  "hex": "#f2f96c",
  "rgb": {
    "r": 242,
    "g": 249,
    "b": 108
  },
  "hsl": {
    "h": 62.979,
    "s": 92.157,
    "l": 70
  },
  "oklch": {
    "l": 0.95022,
    "c": 0.1627,
    "h": 111.7
  },
  "luminance": 0.87711
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #F2F96C

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

Preview Lab → · Contrast checker → · Palette generator →

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