#F2F496#F2F496

#F2F496 is a very light, moderate yellow. Relative luminance 0.858; OKLCH L 94.5% C 0.116 H 109.5°. Best body text is #000000 at 18.16:1 contrast (WCAG AA passes).

Color values

HEX#F2F496
RGBrgb(242, 244, 150)
HSLhsl(61, 81%, 77%)
HSVhsv(61, 39%, 96%)
CMYKcmyk(0.8%, 0%, 38.5%, 4.3%)
CIE-LABlab(94.22, -14.13, 45.04)
CIE-LCHlch(94.22, 47.21, 107.41°)
OKLaboklab(94.52% -0.0388 0.1098)
OKLCHoklch(94.52% 0.116 109.5)
XYZxyz(74.4746, 85.7820, 41.4826)
Luminance0.8578 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2F496 #9896F4
analogous
#F4C796 #F2F496 #C3F496
triadic
#F2F496 #96F2F4 #F496F2
tetradic
#F2F496 #96F4C7 #9896F4 #F496C3
square
#F2F496 #96F4C7 #9896F4 #F496C3
split-complementary
#F2F496 #96C3F4 #C796F4
monochromatic
#E4E827 #EBEE5F #F2F496 #F9FACD #FCFCE3

Accessibility & contrast

On white

1.16
#F2F496 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.16
#F2F496 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2F496
18.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2F496#FFFFFF#000000##000000
##F2F4961.001.1618.1618.16
#FFFFFF1.161.0021.0021.00
#00000018.1621.001.001.00
##00000018.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFED8F
Deuteranopia (green-blind)
#FFF09A
Tritanopia (blue-blind)
#FEE9DD
Achromatopsia (no color)
#EEEEEE

Design tokens & code

CSS
--color: #f2f496;
/* rgb */ color: rgb(242, 244, 150);
/* oklch */ color: oklch(94.5% 0.116 109.5);
Tailwind
colors: {
  custom: {
    50: '#f8f7b6',
    500: '#f2f496',
    950: '#000000',
  },
}
SCSS
$custom: #f2f496;
$custom-light: #f8f7b6;
$custom-dark: #000000;
JSON
{
  "hex": "#f2f496",
  "rgb": {
    "r": 242,
    "g": 244,
    "b": 150
  },
  "hsl": {
    "h": 61.277,
    "s": 81.034,
    "l": 77.255
  },
  "oklch": {
    "l": 0.94521,
    "c": 0.11644,
    "h": 109.5
  },
  "luminance": 0.85781
}

Semantic roles & 50–950 ramp

primary
#F2F496
secondary
#5F5CD2
accent
#08DD0D
background
#FFFFFD
surface
#FFFEF8
border
#D7D6D1
text
#171711
muted
#858581

Preview Lab

Preview with #F2F496

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

Preview Lab → · Contrast checker → · Palette generator →

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