#F2F498#F2F498

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

Color values

HEX#F2F498
RGBrgb(242, 244, 152)
HSLhsl(61, 81%, 78%)
HSVhsv(61, 38%, 96%)
CMYKcmyk(0.8%, 0%, 37.7%, 4.3%)
CIE-LABlab(94.25, -13.91, 44.10)
CIE-LCHlch(94.25, 46.24, 107.51°)
OKLaboklab(94.55% -0.0381 0.1077)
OKLCHoklch(94.55% 0.114 109.5)
XYZxyz(74.6370, 85.8470, 42.3380)
Luminance0.8585 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2F498 #9A98F4
analogous
#F4C898 #F2F498 #C4F498
triadic
#F2F498 #98F2F4 #F498F2
tetradic
#F2F498 #98F4C8 #9A98F4 #F498C4
square
#F2F498 #98F4C8 #9A98F4 #F498C4
split-complementary
#F2F498 #98C4F4 #C898F4
monochromatic
#E4E829 #EBEE61 #F2F498 #F9FACF #FCFCE3

Accessibility & contrast

On white

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

On black

18.17
#F2F498 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2F498
18.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2F498#FFFFFF#000000##000000
##F2F4981.001.1618.1718.17
#FFFFFF1.161.0021.0021.00
#00000018.1721.001.001.00
##00000018.1721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #f2f498;
/* rgb */ color: rgb(242, 244, 152);
/* oklch */ color: oklch(94.6% 0.114 109.5);
Tailwind
colors: {
  custom: {
    50: '#f7f7b7',
    500: '#f2f498',
    950: '#000000',
  },
}
SCSS
$custom: #f2f498;
$custom-light: #f7f7b7;
$custom-dark: #000000;
JSON
{
  "hex": "#f2f498",
  "rgb": {
    "r": 242,
    "g": 244,
    "b": 152
  },
  "hsl": {
    "h": 61.304,
    "s": 80.702,
    "l": 77.647
  },
  "oklch": {
    "l": 0.94553,
    "c": 0.11426,
    "h": 109.5
  },
  "luminance": 0.85846
}

Semantic roles & 50–950 ramp

primary
#F2F498
secondary
#605ED2
accent
#08DD0D
background
#FFFFFD
surface
#FFFEF8
border
#D7D6D1
text
#171711
muted
#858581

Preview Lab

Preview with #F2F498

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

Preview Lab → · Contrast checker → · Palette generator →

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