#F9FB74#F9FB74

#F9FB74 is a very light, vivid yellow. Relative luminance 0.904; OKLCH L 96.1% C 0.157 H 109.8°. Best body text is #000000 at 19.08:1 contrast (WCAG AA passes).

Color values

HEX#F9FB74
RGBrgb(249, 251, 116)
HSLhsl(61, 94%, 72%)
HSVhsv(61, 54%, 98%)
CMYKcmyk(0.8%, 0%, 53.8%, 1.6%)
CIE-LABlab(96.16, -17.91, 63.35)
CIE-LCHlch(96.16, 65.83, 105.79°)
OKLaboklab(96.07% -0.0531 0.1475)
OKLCHoklch(96.07% 0.157 109.8)
XYZxyz(76.7184, 90.3969, 29.9266)
Luminance0.9040 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F9FB74 #7674FB
analogous
#FBBA74 #F9FB74 #B6FB74
triadic
#F9FB74 #74F9FB #FB74F9
tetradic
#F9FB74 #74FBBA #7674FB #FB74B6
square
#F9FB74 #74FBBA #7674FB #FB74B6
split-complementary
#F9FB74 #74B6FB #BA74FB
monochromatic
#EAEE07 #F6F939 #F9FB74 #FCFDAF #FEFEE1

Accessibility & contrast

On white

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

On black

19.08
#F9FB74 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F9FB74
19.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F9FB74#FFFFFF#000000##000000
##F9FB741.001.1019.0819.08
#FFFFFF1.101.0021.0021.00
#00000019.0821.001.001.00
##00000019.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF266
Deuteranopia (green-blind)
#FFF67B
Tritanopia (blue-blind)
#FFEDDD
Achromatopsia (no color)
#F4F4F4

Design tokens & code

CSS
--color: #f9fb74;
/* rgb */ color: rgb(249, 251, 116);
/* oklch */ color: oklch(96.1% 0.157 109.8);
Tailwind
colors: {
  custom: {
    50: '#fefca0',
    500: '#f9fb74',
    950: '#000000',
  },
}
SCSS
$custom: #f9fb74;
$custom-light: #fefca0;
$custom-dark: #000000;
JSON
{
  "hex": "#f9fb74",
  "rgb": {
    "r": 249,
    "g": 251,
    "b": 116
  },
  "hsl": {
    "h": 60.889,
    "s": 94.406,
    "l": 71.961
  },
  "oklch": {
    "l": 0.9607,
    "c": 0.15674,
    "h": 109.8
  },
  "luminance": 0.90395
}

Semantic roles & 50–950 ramp

primary
#F9FB74
secondary
#3E3CD7
accent
#00E603
background
#FFFFFC
surface
#FFFFF5
border
#D7D7CF
text
#18170F
muted
#868580

Preview Lab

Preview with #F9FB74

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

Preview Lab → · Contrast checker → · Palette generator →

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