#F9F296#F9F296

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

Color values

HEX#F9F296
RGBrgb(249, 242, 150)
HSLhsl(56, 89%, 78%)
HSVhsv(56, 40%, 98%)
CMYKcmyk(0%, 2.8%, 39.8%, 2.4%)
CIE-LABlab(94.25, -10.46, 45.19)
CIE-LCHlch(94.25, 46.39, 103.03°)
OKLaboklab(94.68% -0.0286 0.1101)
OKLCHoklch(94.68% 0.114 104.6)
XYZxyz(76.3254, 85.8479, 41.3979)
Luminance0.8585 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F9F296 #969DF9
analogous
#F9C096 #F9F296 #CEF996
triadic
#F9F296 #96F9F2 #F296F9
tetradic
#F9F296 #96F9C0 #969DF9 #F996CE
square
#F9F296 #96F9C0 #969DF9 #F996CE
split-complementary
#F9F296 #96CEF9 #C096F9
monochromatic
#F2E422 #F6EB5C #F9F296 #FCF9D0 #FDFBE2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##F9F296#FFFFFF#000000##000000
##F9F2961.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)
#FFEC8F
Deuteranopia (green-blind)
#FFF19A
Tritanopia (blue-blind)
#FFE7DB
Achromatopsia (no color)
#EEEEEE

Design tokens & code

CSS
--color: #f9f296;
/* rgb */ color: rgb(249, 242, 150);
/* oklch */ color: oklch(94.7% 0.114 104.6);
Tailwind
colors: {
  custom: {
    50: '#fdf6b6',
    500: '#f9f296',
    950: '#000000',
  },
}
SCSS
$custom: #f9f296;
$custom-light: #fdf6b6;
$custom-dark: #000000;
JSON
{
  "hex": "#f9f296",
  "rgb": {
    "r": 249,
    "g": 242,
    "b": 150
  },
  "hsl": {
    "h": 55.758,
    "s": 89.189,
    "l": 78.235
  },
  "oklch": {
    "l": 0.94676,
    "c": 0.11371,
    "h": 104.6
  },
  "luminance": 0.85846
}

Semantic roles & 50–950 ramp

primary
#F9F296
secondary
#5A63D9
accent
#10E600
background
#FFFFFD
surface
#FFFEF8
border
#D7D6D1
text
#181711
muted
#868581

Preview Lab

Preview with #F9F296

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

Preview Lab → · Contrast checker → · Palette generator →

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