#F9F16B#F9F16B

#F9F16B is a very light, vivid yellow. Relative luminance 0.841; OKLCH L 93.9% C 0.154 H 105.8°. Best body text is #000000 at 17.82:1 contrast (WCAG AA passes).

Color values

HEX#F9F16B
RGBrgb(249, 241, 107)
HSLhsl(57, 92%, 70%)
HSVhsv(57, 57%, 98%)
CMYKcmyk(0%, 3.2%, 57%, 2.4%)
CIE-LABlab(93.50, -13.72, 64.26)
CIE-LCHlch(93.50, 65.70, 102.05°)
OKLaboklab(93.92% -0.0421 0.1484)
OKLCHoklch(93.92% 0.154 105.8)
XYZxyz(73.1784, 84.1142, 26.2880)
Luminance0.8411 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F9F16B #6B73F9
analogous
#F9AA6B #F9F16B #BAF96B
triadic
#F9F16B #6BF9F1 #F16BF9
tetradic
#F9F16B #6BF9AA #6B73F9 #F96BBA
square
#F9F16B #6BF9AA #6B73F9 #F96BBA
split-complementary
#F9F16B #6BBAF9 #AA6BF9
monochromatic
#E0D409 #F7EB30 #F9F16B #FBF7A6 #FEFCE1

Accessibility & contrast

On white

1.18
#F9F16B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.82
#F9F16B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F9F16B
17.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F9F16B#FFFFFF#000000##000000
##F9F16B1.001.1817.8217.82
#FFFFFF1.181.0021.0021.00
#00000017.8221.001.001.00
##00000017.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE95D
Deuteranopia (green-blind)
#FFEF72
Tritanopia (blue-blind)
#FFE3D4
Achromatopsia (no color)
#ECECEC

Design tokens & code

CSS
--color: #f9f16b;
/* rgb */ color: rgb(249, 241, 107);
/* oklch */ color: oklch(93.9% 0.154 105.8);
Tailwind
colors: {
  custom: {
    50: '#fef59a',
    500: '#f9f16b',
    950: '#000000',
  },
}
SCSS
$custom: #f9f16b;
$custom-light: #fef59a;
$custom-dark: #000000;
JSON
{
  "hex": "#f9f16b",
  "rgb": {
    "r": 249,
    "g": 241,
    "b": 107
  },
  "hsl": {
    "h": 56.62,
    "s": 92.208,
    "l": 69.804
  },
  "oklch": {
    "l": 0.93923,
    "c": 0.15428,
    "h": 105.8
  },
  "luminance": 0.84112
}

Semantic roles & 50–950 ramp

primary
#F9F16B
secondary
#353ED3
accent
#0DE600
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18170E
muted
#86857F

Preview Lab

Preview with #F9F16B

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

Preview Lab → · Contrast checker → · Palette generator →

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