#F9F288#F9F288

#F9F288 is a very light, vivid yellow. Relative luminance 0.854; OKLCH L 94.5% C 0.128 H 105.3°. Best body text is #000000 at 18.08:1 contrast (WCAG AA passes).

Color values

HEX#F9F288
RGBrgb(249, 242, 136)
HSLhsl(56, 90%, 75%)
HSVhsv(56, 45%, 98%)
CMYKcmyk(0%, 2.8%, 45.4%, 2.4%)
CIE-LABlab(94.07, -11.84, 51.71)
CIE-LCHlch(94.07, 53.05, 102.89°)
OKLaboklab(94.47% -0.0338 0.1239)
OKLCHoklch(94.47% 0.128 105.3)
XYZxyz(75.2647, 85.4236, 35.8115)
Luminance0.8542 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F9F288 #888FF9
analogous
#F9B988 #F9F288 #C7F988
triadic
#F9F288 #88F9F2 #F288F9
tetradic
#F9F288 #88F9B9 #888FF9 #F988C7
square
#F9F288 #88F9B9 #888FF9 #F988C7
split-complementary
#F9F288 #88C7F9 #B988F9
monochromatic
#F3E513 #F6EC4E #F9F288 #FCF8C2 #FEFCE2

Accessibility & contrast

On white

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

On black

18.08
#F9F288 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F9F288
18.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F9F288#FFFFFF#000000##000000
##F9F2881.001.1618.0818.08
#FFFFFF1.161.0021.0021.00
#00000018.0821.001.001.00
##00000018.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEB7F
Deuteranopia (green-blind)
#FFF08D
Tritanopia (blue-blind)
#FFE6D9
Achromatopsia (no color)
#EEEEEE

Design tokens & code

CSS
--color: #f9f288;
/* rgb */ color: rgb(249, 242, 136);
/* oklch */ color: oklch(94.5% 0.128 105.3);
Tailwind
colors: {
  custom: {
    50: '#fdf6ac',
    500: '#f9f288',
    950: '#000000',
  },
}
SCSS
$custom: #f9f288;
$custom-light: #fdf6ac;
$custom-dark: #000000;
JSON
{
  "hex": "#f9f288",
  "rgb": {
    "r": 249,
    "g": 242,
    "b": 136
  },
  "hsl": {
    "h": 56.283,
    "s": 90.4,
    "l": 75.49
  },
  "oklch": {
    "l": 0.94472,
    "c": 0.12838,
    "h": 105.3
  },
  "luminance": 0.85422
}

Semantic roles & 50–950 ramp

primary
#F9F288
secondary
#4E57D7
accent
#0EE600
background
#FFFFFD
surface
#FFFEF7
border
#D7D6D0
text
#181710
muted
#868581

Preview Lab

Preview with #F9F288

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

Preview Lab → · Contrast checker → · Palette generator →

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