#F9F46B#F9F46B

#F9F46B is a very light, vivid yellow. Relative luminance 0.859; OKLCH L 94.5% C 0.157 H 107.1°. Best body text is #000000 at 18.18:1 contrast (WCAG AA passes).

Color values

HEX#F9F46B
RGBrgb(249, 244, 107)
HSLhsl(58, 92%, 70%)
HSVhsv(58, 57%, 98%)
CMYKcmyk(0%, 2%, 57%, 2.4%)
CIE-LABlab(94.27, -15.18, 65.12)
CIE-LCHlch(94.27, 66.86, 103.12°)
OKLaboklab(94.54% -0.0462 0.1503)
OKLCHoklch(94.54% 0.157 107.1)
XYZxyz(74.0737, 85.9049, 26.5864)
Luminance0.8590 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F9F46B #6B70F9
analogous
#F9AD6B #F9F46B #B7F96B
triadic
#F9F46B #6BF9F4 #F46BF9
tetradic
#F9F46B #6BF9AD #6B70F9 #F96BB7
square
#F9F46B #6BF9AD #6B70F9 #F96BB7
split-complementary
#F9F46B #6BB7F9 #AD6BF9
monochromatic
#E0D909 #F7F030 #F9F46B #FBF8A6 #FEFDE1

Accessibility & contrast

On white

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

On black

18.18
#F9F46B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F9F46B
18.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F9F46B#FFFFFF#000000##000000
##F9F46B1.001.1618.1818.18
#FFFFFF1.161.0021.0021.00
#00000018.1821.001.001.00
##00000018.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEB5C
Deuteranopia (green-blind)
#FFF173
Tritanopia (blue-blind)
#FFE6D6
Achromatopsia (no color)
#EEEEEE

Design tokens & code

CSS
--color: #f9f46b;
/* rgb */ color: rgb(249, 244, 107);
/* oklch */ color: oklch(94.5% 0.157 107.1);
Tailwind
colors: {
  custom: {
    50: '#fef79a',
    500: '#f9f46b',
    950: '#000000',
  },
}
SCSS
$custom: #f9f46b;
$custom-light: #fef79a;
$custom-dark: #000000;
JSON
{
  "hex": "#f9f46b",
  "rgb": {
    "r": 249,
    "g": 244,
    "b": 107
  },
  "hsl": {
    "h": 57.887,
    "s": 92.208,
    "l": 69.804
  },
  "oklch": {
    "l": 0.94537,
    "c": 0.15722,
    "h": 107.1
  },
  "luminance": 0.85903
}

Semantic roles & 50–950 ramp

primary
#F9F46B
secondary
#353AD3
accent
#08E600
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18170E
muted
#86857F

Preview Lab

Preview with #F9F46B

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

Preview Lab → · Contrast checker → · Palette generator →

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