#F9F790#F9F790

#F9F790 is a very light, vivid yellow. Relative luminance 0.887; OKLCH L 95.6% C 0.126 H 107.6°. Best body text is #000000 at 18.74:1 contrast (WCAG AA passes).

Color values

HEX#F9F790
RGBrgb(249, 247, 144)
HSLhsl(59, 90%, 77%)
HSVhsv(59, 42%, 98%)
CMYKcmyk(0%, 0.8%, 42.2%, 2.4%)
CIE-LABlab(95.45, -13.53, 49.60)
CIE-LCHlch(95.45, 51.41, 105.25°)
OKLaboklab(95.6% -0.0379 0.1197)
OKLCHoklch(95.6% 0.126 107.6)
XYZxyz(77.3631, 88.6766, 39.4211)
Luminance0.8868 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F9F790 #9092F9
analogous
#F9C390 #F9F790 #C7F990
triadic
#F9F790 #90F9F7 #F790F9
tetradic
#F9F790 #90F9C3 #9092F9 #F990C7
square
#F9F790 #90F9C3 #9092F9 #F990C7
split-complementary
#F9F790 #90C7F9 #C390F9
monochromatic
#F3EF1C #F6F356 #F9F790 #FCFBCA #FDFDE2

Accessibility & contrast

On white

1.12
#F9F790 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.74
#F9F790 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F9F790
18.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F9F790#FFFFFF#000000##000000
##F9F7901.001.1218.7418.74
#FFFFFF1.121.0021.0021.00
#00000018.7421.001.001.00
##00000018.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF088
Deuteranopia (green-blind)
#FFF495
Tritanopia (blue-blind)
#FFEBDE
Achromatopsia (no color)
#F2F2F2

Design tokens & code

CSS
--color: #f9f790;
/* rgb */ color: rgb(249, 247, 144);
/* oklch */ color: oklch(95.6% 0.126 107.6);
Tailwind
colors: {
  custom: {
    50: '#fdf9b2',
    500: '#f9f790',
    950: '#000000',
  },
}
SCSS
$custom: #f9f790;
$custom-light: #fdf9b2;
$custom-dark: #000000;
JSON
{
  "hex": "#f9f790",
  "rgb": {
    "r": 249,
    "g": 247,
    "b": 144
  },
  "hsl": {
    "h": 58.857,
    "s": 89.744,
    "l": 77.059
  },
  "oklch": {
    "l": 0.95601,
    "c": 0.12553,
    "h": 107.6
  },
  "luminance": 0.88675
}

Semantic roles & 50–950 ramp

primary
#F9F790
secondary
#5558D8
accent
#04E600
background
#FFFFFD
surface
#FFFFF8
border
#D7D7D1
text
#181711
muted
#868581

Preview Lab

Preview with #F9F790

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

Preview Lab → · Contrast checker → · Palette generator →

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