#F2F96E#F2F96E

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

Color values

HEX#F2F96E
RGBrgb(242, 249, 110)
HSLhsl(63, 92%, 70%)
HSVhsv(63, 56%, 98%)
CMYKcmyk(2.8%, 0%, 55.8%, 2.4%)
CIE-LABlab(95.06, -20.16, 64.56)
CIE-LCHlch(95.06, 67.63, 107.34°)
OKLaboklab(95.04% -0.0597 0.1496)
OKLCHoklch(95.04% 0.161 111.7)
XYZxyz(73.3099, 87.7560, 27.8256)
Luminance0.8775 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2F96E #756EF9
analogous
#F9BB6E #F2F96E #ACF96E
triadic
#F2F96E #6EF2F9 #F96EF2
tetradic
#F2F96E #6EF9BB #756EF9 #F96EAC
square
#F2F96E #6EF9BB #756EF9 #F96EAC
split-complementary
#F2F96E #6EACF9 #BB6EF9
monochromatic
#D8E309 #EDF733 #F2F96E #F7FBA9 #FCFEE2

Accessibility & contrast

On white

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

On black

18.55
#F2F96E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2F96E
18.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2F96E#FFFFFF#000000##000000
##F2F96E1.001.1318.5518.55
#FFFFFF1.131.0021.0021.00
#00000018.5521.001.001.00
##00000018.5521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #f2f96e;
/* rgb */ color: rgb(242, 249, 110);
/* oklch */ color: oklch(95.0% 0.161 111.7);
Tailwind
colors: {
  custom: {
    50: '#f9fb9c',
    500: '#f2f96e',
    950: '#000000',
  },
}
SCSS
$custom: #f2f96e;
$custom-light: #f9fb9c;
$custom-dark: #000000;
JSON
{
  "hex": "#f2f96e",
  "rgb": {
    "r": 242,
    "g": 249,
    "b": 110
  },
  "hsl": {
    "h": 63.022,
    "s": 92.053,
    "l": 70.392
  },
  "oklch": {
    "l": 0.95042,
    "c": 0.16102,
    "h": 111.7
  },
  "luminance": 0.87754
}

Semantic roles & 50–950 ramp

primary
#F2F96E
secondary
#3F37D4
accent
#00E60C
background
#FFFFFC
surface
#FFFFF5
border
#D7D7CF
text
#18170E
muted
#86857F

Preview Lab

Preview with #F2F96E

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

Preview Lab → · Contrast checker → · Palette generator →

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