#F9FB7A#F9FB7A

#F9FB7A is a very light, vivid yellow. Relative luminance 0.905; OKLCH L 96.1% C 0.151 H 109.7°. Best body text is #000000 at 19.11:1 contrast (WCAG AA passes).

Color values

HEX#F9FB7A
RGBrgb(249, 251, 122)
HSLhsl(61, 94%, 73%)
HSVhsv(61, 51%, 98%)
CMYKcmyk(0.8%, 0%, 51.4%, 1.6%)
CIE-LABlab(96.22, -17.44, 60.76)
CIE-LCHlch(96.22, 63.21, 106.02°)
OKLaboklab(96.14% -0.0511 0.1425)
OKLCHoklch(96.14% 0.151 109.7)
XYZxyz(77.0788, 90.5410, 31.8244)
Luminance0.9054 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F9FB7A #7C7AFB
analogous
#FBBC7A #F9FB7A #B8FB7A
triadic
#F9FB7A #7AF9FB #FB7AF9
tetradic
#F9FB7A #7AFBBC #7C7AFB #FB7AB8
square
#F9FB7A #7AFBBC #7C7AFB #FB7AB8
split-complementary
#F9FB7A #7AB8FB #BC7AFB
monochromatic
#F0F307 #F6F93F #F9FB7A #FCFDB5 #FEFEE1

Accessibility & contrast

On white

1.10
#F9FB7A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

19.11
#F9FB7A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F9FB7A
19.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F9FB7A#FFFFFF#000000##000000
##F9FB7A1.001.1019.1119.11
#FFFFFF1.101.0021.0021.00
#00000019.1121.001.001.00
##00000019.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF26E
Deuteranopia (green-blind)
#FFF681
Tritanopia (blue-blind)
#FFEEDE
Achromatopsia (no color)
#F4F4F4

Design tokens & code

CSS
--color: #f9fb7a;
/* rgb */ color: rgb(249, 251, 122);
/* oklch */ color: oklch(96.1% 0.151 109.7);
Tailwind
colors: {
  custom: {
    50: '#fefca4',
    500: '#f9fb7a',
    950: '#000000',
  },
}
SCSS
$custom: #f9fb7a;
$custom-light: #fefca4;
$custom-dark: #000000;
JSON
{
  "hex": "#f9fb7a",
  "rgb": {
    "r": 249,
    "g": 251,
    "b": 122
  },
  "hsl": {
    "h": 60.93,
    "s": 94.161,
    "l": 73.137
  },
  "oklch": {
    "l": 0.96137,
    "c": 0.15141,
    "h": 109.7
  },
  "luminance": 0.90539
}

Semantic roles & 50–950 ramp

primary
#F9FB7A
secondary
#4441D8
accent
#00E604
background
#FFFFFC
surface
#FFFFF6
border
#D7D7D0
text
#18170F
muted
#868580

Preview Lab

Preview with #F9FB7A

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

Preview Lab → · Contrast checker → · Palette generator →

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