#F9F488#F9F488

#F9F488 is a very light, vivid yellow. Relative luminance 0.866; OKLCH L 94.9% C 0.130 H 106.3°. Best body text is #000000 at 18.32:1 contrast (WCAG AA passes).

Color values

HEX#F9F488
RGBrgb(249, 244, 136)
HSLhsl(57, 90%, 75%)
HSVhsv(57, 45%, 98%)
CMYKcmyk(0%, 2%, 45.4%, 2.4%)
CIE-LABlab(94.58, -12.82, 52.34)
CIE-LCHlch(94.58, 53.89, 103.76°)
OKLaboklab(94.88% -0.0366 0.1253)
OKLCHoklch(94.88% 0.13 106.3)
XYZxyz(75.8632, 86.6206, 36.0110)
Luminance0.8662 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F9F488 #888DF9
analogous
#F9BB88 #F9F488 #C5F988
triadic
#F9F488 #88F9F4 #F488F9
tetradic
#F9F488 #88F9BB #888DF9 #F988C5
square
#F9F488 #88F9BB #888DF9 #F988C5
split-complementary
#F9F488 #88C5F9 #BB88F9
monochromatic
#F3E913 #F6EF4E #F9F488 #FCF9C2 #FEFCE2

Accessibility & contrast

On white

1.15
#F9F488 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.32
#F9F488 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F9F488
18.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F9F488#FFFFFF#000000##000000
##F9F4881.001.1518.3218.32
#FFFFFF1.151.0021.0021.00
#00000018.3221.001.001.00
##00000018.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFED7F
Deuteranopia (green-blind)
#FFF28D
Tritanopia (blue-blind)
#FFE8DB
Achromatopsia (no color)
#EFEFEF

Design tokens & code

CSS
--color: #f9f488;
/* rgb */ color: rgb(249, 244, 136);
/* oklch */ color: oklch(94.9% 0.130 106.3);
Tailwind
colors: {
  custom: {
    50: '#fdf7ad',
    500: '#f9f488',
    950: '#000000',
  },
}
SCSS
$custom: #f9f488;
$custom-light: #fdf7ad;
$custom-dark: #000000;
JSON
{
  "hex": "#f9f488",
  "rgb": {
    "r": 249,
    "g": 244,
    "b": 136
  },
  "hsl": {
    "h": 57.345,
    "s": 90.4,
    "l": 75.49
  },
  "oklch": {
    "l": 0.94879,
    "c": 0.13049,
    "h": 106.3
  },
  "luminance": 0.86619
}

Semantic roles & 50–950 ramp

primary
#F9F488
secondary
#4E54D7
accent
#0AE600
background
#FFFFFD
surface
#FFFEF7
border
#D7D6D0
text
#181710
muted
#868581

Preview Lab

Preview with #F9F488

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

Preview Lab → · Contrast checker → · Palette generator →

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