#F2F994#F2F994

#F2F994 is a very light, vivid yellow. Relative luminance 0.888; OKLCH L 95.5% C 0.125 H 112.0°. Best body text is #000000 at 18.75:1 contrast (WCAG AA passes).

Color values

HEX#F2F994
RGBrgb(242, 249, 148)
HSLhsl(64, 89%, 78%)
HSVhsv(64, 41%, 98%)
CMYKcmyk(2.8%, 0%, 40.6%, 2.4%)
CIE-LABlab(95.48, -16.78, 47.61)
CIE-LCHlch(95.48, 50.48, 109.41°)
OKLaboklab(95.52% -0.0466 0.1155)
OKLCHoklch(95.52% 0.125 112)
XYZxyz(75.8398, 88.7679, 41.1500)
Luminance0.8877 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2F994 #9B94F9
analogous
#F9CD94 #F2F994 #C0F994
triadic
#F2F994 #94F2F9 #F994F2
tetradic
#F2F994 #94F9CD #9B94F9 #F994C0
square
#F2F994 #94F9CD #9B94F9 #F994C0
split-complementary
#F2F994 #94C0F9 #CD94F9
monochromatic
#E4F320 #EBF65A #F2F994 #F9FCCE #FBFDE2

Accessibility & contrast

On white

1.12
#F2F994 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.75
#F2F994 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2F994
18.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2F994#FFFFFF#000000##000000
##F2F9941.001.1218.7518.75
#FFFFFF1.121.0021.0021.00
#00000018.7521.001.001.00
##00000018.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF18C
Deuteranopia (green-blind)
#FFF399
Tritanopia (blue-blind)
#FEEEE0
Achromatopsia (no color)
#F2F2F2

Design tokens & code

CSS
--color: #f2f994;
/* rgb */ color: rgb(242, 249, 148);
/* oklch */ color: oklch(95.5% 0.125 112.0);
Tailwind
colors: {
  custom: {
    50: '#f8fbb5',
    500: '#f2f994',
    950: '#000000',
  },
}
SCSS
$custom: #f2f994;
$custom-light: #f8fbb5;
$custom-dark: #000000;
JSON
{
  "hex": "#f2f994",
  "rgb": {
    "r": 242,
    "g": 249,
    "b": 148
  },
  "hsl": {
    "h": 64.158,
    "s": 89.381,
    "l": 77.843
  },
  "oklch": {
    "l": 0.95519,
    "c": 0.12452,
    "h": 112
  },
  "luminance": 0.88767
}

Semantic roles & 50–950 ramp

primary
#F2F994
secondary
#6159D9
accent
#00E610
background
#FFFFFD
surface
#FFFFF8
border
#D7D7D1
text
#171711
muted
#858581

Preview Lab

Preview with #F2F994

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

Preview Lab → · Contrast checker → · Palette generator →

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